All of lore.kernel.org
 help / color / mirror / Atom feed
* mplayer conversion - UGLY pictures
@ 2003-05-03 12:07 GMane
  2003-05-03 13:29 ` Riley Williams
  0 siblings, 1 reply; 2+ messages in thread
From: GMane @ 2003-05-03 12:07 UTC (permalink / raw)
  To: linux-newbie

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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: mplayer conversion - UGLY pictures
  2003-05-03 12:07 mplayer conversion - UGLY pictures GMane
@ 2003-05-03 13:29 ` Riley Williams
  0 siblings, 0 replies; 2+ messages in thread
From: Riley Williams @ 2003-05-03 13:29 UTC (permalink / raw)
  To: GMane, linux-newbie

Hi.

 > 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?

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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-03 13:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-03 12:07 mplayer conversion - UGLY pictures GMane
2003-05-03 13:29 ` Riley Williams

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.