omf
15th December 2007, 22:50
I've been playing around with putting AVC video and AC3 audio into a VOB container with ffmpeg (rev. 11143). Whenever I do this, ffmpeg generates thousands of "buffer underflow" warnings. The resulting video is still playable, but I'm wondering if this is something "normal" that everyone is seeing, or if I should be doing something differently.
Here's my command line:
ffmpeg -r 23.976 -f h264 -i video.h264 -f ac3 -i audio.ac3 -vcodec copy -acodec copy -f vob output.vob
And here's what ffmpeg comes back with:
FFmpeg version SVN-r11143, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-liba52 --enable-avisynth --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --cpu=i686 --enable-memalign-hack --extra-ldflags=-static
libavutil version: 49.5.0
libavcodec version: 51.48.0
libavformat version: 52.1.0
built on Dec 3 2007 17:42:57, gcc: 4.2.2 (mingw32)
Input #0, h264, from 'video-HL51.h264':
Duration: N/A, bitrate: N/A
Stream #0.0: Video: h264, yuv420p, 1280x720 [PAR 0:1 DAR 0:1], 23.98 tb(r)
Input #1, ac3, from 'audio.ac3':
Duration: 00:43:44.6, bitrate: 640 kb/s
Stream #1.0: Audio: liba52, 48000 Hz, 5:1, 640 kb/s
Output #0, vob, to 'output.vob':
Stream #0.0: Video: libx264, yuv420p, 1280x720 [PAR 0:1 DAR 0:1], q=2-31, 23.98 tb(c)
Stream #0.1: Audio: ac3, 48000 Hz, 5:1, 640 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #1.0 -> #0.1
Press [q] to stop encoding
[vob @ 00ABFB90]buffer underflow i=1 bufi=2397 size=2560
[vob @ 00ABFB90]packet too large, ignoring buffer limits to mux it
[vob @ 00ABFB90]buffer underflow i=1 bufi=2397 size=2560
[vob @ 00ABFB90]buffer underflow i=1 bufi=2237 size=2560
[vob @ 00ABFB90]packet too large, ignoring buffer limits to mux it
... etc...etc... until it finishes with:
[vob @ 00ABFB90]packet too large, ignoring buffer limits to mux it
[vob @ 00ABFB90]buffer underflow i=1 bufi=2296 size=2560
frame=62929 fps=618 q=17036097.5 Lsize= 1518838kB time=2624.6 bitrate=4740.6kbits/s
video:1294848kB audio:205050kB global headers:0kB muxing overhead 1.262777%
Any thoughts or other experiences?
Here's my command line:
ffmpeg -r 23.976 -f h264 -i video.h264 -f ac3 -i audio.ac3 -vcodec copy -acodec copy -f vob output.vob
And here's what ffmpeg comes back with:
FFmpeg version SVN-r11143, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-liba52 --enable-avisynth --enable-libamr-nb --enable-libamr-wb --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --cpu=i686 --enable-memalign-hack --extra-ldflags=-static
libavutil version: 49.5.0
libavcodec version: 51.48.0
libavformat version: 52.1.0
built on Dec 3 2007 17:42:57, gcc: 4.2.2 (mingw32)
Input #0, h264, from 'video-HL51.h264':
Duration: N/A, bitrate: N/A
Stream #0.0: Video: h264, yuv420p, 1280x720 [PAR 0:1 DAR 0:1], 23.98 tb(r)
Input #1, ac3, from 'audio.ac3':
Duration: 00:43:44.6, bitrate: 640 kb/s
Stream #1.0: Audio: liba52, 48000 Hz, 5:1, 640 kb/s
Output #0, vob, to 'output.vob':
Stream #0.0: Video: libx264, yuv420p, 1280x720 [PAR 0:1 DAR 0:1], q=2-31, 23.98 tb(c)
Stream #0.1: Audio: ac3, 48000 Hz, 5:1, 640 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #1.0 -> #0.1
Press [q] to stop encoding
[vob @ 00ABFB90]buffer underflow i=1 bufi=2397 size=2560
[vob @ 00ABFB90]packet too large, ignoring buffer limits to mux it
[vob @ 00ABFB90]buffer underflow i=1 bufi=2397 size=2560
[vob @ 00ABFB90]buffer underflow i=1 bufi=2237 size=2560
[vob @ 00ABFB90]packet too large, ignoring buffer limits to mux it
... etc...etc... until it finishes with:
[vob @ 00ABFB90]packet too large, ignoring buffer limits to mux it
[vob @ 00ABFB90]buffer underflow i=1 bufi=2296 size=2560
frame=62929 fps=618 q=17036097.5 Lsize= 1518838kB time=2624.6 bitrate=4740.6kbits/s
video:1294848kB audio:205050kB global headers:0kB muxing overhead 1.262777%
Any thoughts or other experiences?