[FFmpeg-user] JPEG to MP4 (or WMV)

oliverclosov siberjames at yahoo.com
Fri Jun 21 05:12:48 CEST 2013


fatalaccidents <thefatalaccidents <at> gmail.com> writes:

> 
> Hello all, 
> 
> I have been trying to convert a batch of jpg's to an mp4 using the 
command: 
> 
> cat *.jpg | ffmpeg -y -f image2pipe -r 10 -vcodec mjpeg -i - -vcodec copy 
> out.mp4
> 
> Here is the first JPG.  Notice the three dark spots in the road near the
> top: 
> <http://ffmpeg-users.933282.n4.nabble.com/file/n4659610/GA1_264000_b3.jpg> 
> 
> The resulting video is white washed :( It is very important for the movie 
to
> have the colors very very close to being what is seen in the jpg's.  I'm
> actually converting it into a wmv with the command: 
> 
> ffmpeg -i %s.mp4 -c:v wmv2 -b:v 20M -s 720x720 -c:a wmav2 -b:a 192k %s.wmv
> 
> So it would be an added bonus if I could go from the jpg to the wmv in one
> step, but not necessary.  I've tried a lot of the pix_fmt options, and 
they
> all seem to produce the same movie (I may be using it incorrectly).  Any
> help would be greatly appreciated!  Here is a screenshot of the first jpg 
in
> the movie, notice you can't see any circles on the ground and the colors 
are
> slightly
> different:
> 
> <http://ffmpeg-users.933282.n4.nabble.com/file/n4659610/Screen_shot_2013-
06-18_at_2.37.23_PM.png> 
> 
> --
> View this message in context: http://ffmpeg-
users.933282.n4.nabble.com/JPEG-to-MP4-or-WMV-tp4659610.html
> Sent from the FFmpeg-users mailing list archive at Nabble.com.
> 

Check the source here.
http://www.ilikemall.com/how-to/convert-wmv-to-mp4-mac.html
It seems to offer a reasonable range of conversion options. in the past.



More information about the ffmpeg-user mailing list