[FFmpeg-user] Problem creating DVD menu mpeg

Mike Martin redtux1 at gmail.com
Wed Nov 30 07:59:38 CET 2011


As people probably know a DVD menu needs to be a DVD compliant mpeg
video with an audio stream

previous to upgrading to F16 and ffmpeg-0.8.5 this worked

ffmpeg -v 2  -i /storage/burn/dvd_tmp/2-%d.png  -f s16le  -i /dev/zero
  -s 720x568 -t 15 -shortest -qscale 4 -acodec mp2 -ab 64k -ar 48000
-ac 2 -aspect 4:3 -y test.avi

(a group of png files combned with silent audio)

however now this is what I get
ffmpeg version 0.8.5, Copyright (c) 2000-2011 the FFmpeg developers
  built on Oct 27 2011 21:33:51 with gcc 4.6.1 20111003 (Red Hat 4.6.1-10)
  configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
--libdir=/usr/lib --mandir=/usr/share/man --arch=i686
--extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
-march=i686 -mtune=atom -fasynchronous-unwind-tables' --enable-bzlib
--enable-libcelt --enable-libdc1394 --enable-libdirac
--enable-libfreetype --enable-libgsm --enable-libmp3lame
--enable-libopenjpeg --enable-librtmp --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab
--enable-avfilter --enable-postproc --enable-pthreads --disable-static
--enable-shared --enable-gpl --disable-debug --disable-stripping
--shlibdir=/usr/lib --cpu=i686 --enable-runtime-cpudetect
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[image2 @ 0x8db57c0] max_analyze_duration 5000000 reached at 5000000
Input #0, image2, from '/storage/burn/dvd_tmp/2-%d.png':
  Duration: 00:00:15.00, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: png, rgb24, 204x170, 25 fps, 25 tbr, 25 tbn, 25 tbc
Ignoring attempt to set invalid timebase for st:0
[s16le @ 0x8db6fe0] Estimating duration from bitrate, this may be inaccurate
Input #1, s16le, from '/dev/zero':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #1.0: Audio: pcm_s16le, 1 channels, s16
Incompatible pixel format 'rgb24' for codec 'mpeg4', auto-selecting
format 'yuv420p'
[buffer @ 0x8dd5640] w:204 h:170 pixfmt:rgb24 tb:1/1000000 sar:0/1 sws_param:
[scale @ 0x8dd9ea0] w:204 h:170 fmt:rgb24 -> w:720 h:568 fmt:yuv420p flags:0x4
Output #0, avi, to 'test.avi':
  Metadata:
    ISFT            : Lavf53.4.0
    Stream #0.0: Video: mpeg4, yuv420p, 720x568 [PAR 142:135 DAR 4:3],
q=2-31, 200 kb/s, 25 tbn, 25 tbc
    Stream #0.1: Audio: mp2, 48000 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #1.0 -> #0.1
Press [q] to stop, [?] for help
Floating point exception (core dumped)


any ideas (the avi is a halfway house)


More information about the ffmpeg-user mailing list