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

fatalaccidents thefatalaccidents at gmail.com
Wed Jun 19 16:43:10 CEST 2013


Running the command: cat *.jpg | ffmpeg -f image2pipe -r 10  -vcodec mjpeg -i
- -vcodec copy out.mp4

Gives me this output:  (I think this is what you're looking for)
fmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on May 29 2013 17:51:44 with gcc 4.2.1 (GCC) (Apple Inc. build 5666)
(dot 3)
  configuration: --prefix=/opt/local --enable-swscale --enable-avfilter
--enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora
--enable-libschroedinger --enable-libopenjpeg --enable-libmodplug
--enable-libvpx --enable-libspeex --enable-libfreetype
--mandir=/opt/local/share/man --enable-shared --enable-pthreads
--cc=/usr/bin/gcc-4.2 --enable-gpl --enable-postproc --enable-libx264
--enable-libxvid --arch=x86_64 --enable-yasm
  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[image2pipe @ 0x10404a000] Estimating duration from bitrate, this may be
inaccurate
Input #0, image2pipe, from 'pipe:':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: mjpeg, gray, 1800x1800 [SAR 72:72 DAR 1:1], 10 fps,
10 tbr, 10 tbn, 10 tbc
Output #0, mp4, to 'out.mp4':
  Metadata:
    encoder         : Lavf54.63.104
    Stream #0:0: Video: mjpeg (l[0][0][0] / 0x006C), gray, 1800x1800 [SAR
72:72 DAR 1:1], q=2-31, 10 fps, 10240 tbn, 10 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
pipe:: Input/output error0 size=   45214kB time=00:00:11.60
bitrate=31930.1kbits/s    
frame=  121 fps=6.7 q=-1.0 Lsize=   46725kB time=00:00:12.10
bitrate=31634.2kbits/s    
video:46724kB audio:0kB subtitle:0 global headers:0kB muxing overhead
0.003639%

As far as the player goes I have tried mplayer, vlcplayer and quicktime with
the same results.  I thought that copy would do the trick as well, but
unfortunately it's not doing what I thought it did (if I'm using it
correctly).  Any ideas for me to try? Or do you need additional information?

Thanks for your help!



--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/JPEG-to-MP4-or-WMV-tp4659610p4659635.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list