mplayer conversion - UGLY pictures
I am using mplayer to convert .avi to .jpg thumbnails for a web page that allows users to click on the thumbnail to view the movie. I use a php script to do this. I am using the following command to convert the movies:
exec( "cd $basedir; /usr/local/bin/mplayer -noautosub -vo jpeg -xy 100 -zoom -frames 1 $file", $return );
It seems to die if I don't use the -noautosub option.
When I use -zoom to scale the image I lose a lot of the colors.
Is there some way I can preserve my beautiful pictures?
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Hi.
Quoted 5 lines
I am using mplayer to convert .avi to .jpg thumbnails for a web page that allows users to click on the thumbnail to view the movie. I use a php script to do this. I am using the following command to convert the movies:
Quoted 8 lines
exec( "cd $basedir; /usr/local/bin/mplayer -noautosub -vo jpeg -xy \ 100 -zoom -frames 1 $file", $return );It seems to die if I don't use the -noautosub option.
When I use -zoom to scale the image I lose a lot of the colors.
Is there some way I can preserve my beautiful pictures?
I can't help with mplayer directly, but one possible option is to use mplayer without the zoom to create same size images, then use convert (from GIMP) to resize the images in a separate step.
Best wishes from Riley.
---
* Nothing as pretty as a smile, nothing as ugly as a frown.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.476 / Virus Database: 273 - Release Date: 24-Apr-2003
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs