[FFmpeg-user] Generate Video from picture

MatCam mathieu.multicam+ffmpeg at gmail.com
Mon Oct 14 16:55:41 CEST 2013


Hi
I'm trying to generate a video from a picture.

I'm Following FAQ : 
https://trac.ffmpeg.org/wiki/Create%20a%20video%20slideshow%20from%

Unfortunately, I have an error.

Here my cmd and logs :

D:\test>ffmpeg.exe -loop 1  -i
"D:\Records\2013-10-11_110403\PublishingDirectory\ImportedMedias\High
Definition Wallpapers (14).jpg" -t 5.00 -pix_fmt yuv420p -y
"D:\Records\2013-10-11_110403\Publishin
gDirectory\Temporary1.mpeg"
ffmpeg version N-55515-gbbbd959 Copyright (c) 2000-2013 the FFmpeg
developers
  built on Aug 13 2013 18:06:32 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libblu
ray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-lib
vpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 42.100 / 52. 42.100
  libavcodec     55. 27.100 / 55. 27.100
  libavformat    55. 13.102 / 55. 13.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 82.100 /  3. 82.100
  libswscale      2.  4.100 /  2.  4.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
Input #0, image2, from
'D:\Records\2013-10-11_110403\PublishingDirectory\ImportedMedias\High
Definition Wallpapers (14).jpg':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mjpeg, yuvj444p, 1920x1080 [SAR 300:300 DAR 16:9],
25 fps, 25 tbr, 25 tbn, 25 tbc
[swscaler @ 000000000252ba00] deprecated pixel format used, make sure you
did set range correctly
[mpeg @ 000000000268f5e0] VBV buffer size not set, muxing may fail
Output #0, mpeg, to
'D:\Records\2013-10-11_110403\PublishingDirectory\Temporary1.mpeg':
  Metadata:
    encoder         : Lavf55.13.102
    Stream #0:0: Video: mpeg1video, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9],
q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg -> mpeg1video)
Press [q] to stop, [?] for help
[mpeg @ 000000000268f5e0] buffer underflow i=0 bufi=234442 size=424447
[mpeg @ 000000000268f5e0] packet too large, ignoring buffer limits to mux it
[mpeg @ 000000000268f5e0] buffer underflow i=0 bufi=234442 size=424447
[mpeg @ 000000000268f5e0] buffer underflow i=0 bufi=236471 size=424447
[mpeg @ 000000000268f5e0] packet too large, ignoring buffer limits to mux it
[mpeg @ 000000000268f5e0] buffer underflow i=0 bufi=236471 size=424447
[mpeg @ 000000000268f5e0] buffer underflow i=0 bufi=238512 size=424447
[mpeg @ 000000000268f5e0] packet too large, ignoring buffer limits to mux it
[mpeg @ 000000000268f5e0] buffer underflow i=0 bufi=238512 size=424447
[mpeg @ 000000000268f5e0] buffer underflow i=0 bufi=240553 size=424447
[mpeg @ 000000000268f5e0] packet too large, ignoring buffer limits to mux it
[mpeg @ 000000000268f5e0] buffer underflow i=0 bufi=240553 size=424447
[mpeg @ 000000000268f5e0] buffer underflow i=0 bufi=242594 size=424447
....
....
....
....
[mpeg @ 000000000268f5e0] buffer underflow i=0 bufi=424243 size=424447
[mpeg @ 000000000268f5e0] packet too large, ignoring buffer limits to mux
itbits/s
[mpeg @ 000000000268f5e0] buffer underflow i=0 bufi=424243 size=424447
frame=  125 fps= 37 q=31.0 Lsize=    1330kB time=00:00:04.96
bitrate=2196.6kbits/s
video:1324kB audio:0kB subtitle:0 global headers:0kB muxing overhead
0.470587%

When i try to read my video, Nothing happen.

My picture infos :  635ko, 1920*1080

Thanks !



--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Generate-Video-from-picture-tp4661811.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list