[FFmpeg-user] MPEG-2 Program Stream w/PCM Audio
Marcus Ionis
marcus at sonicpool.com
Mon Nov 4 07:02:54 CET 2013
> I've been trying to encode a Standard Definition MPEG-2 Program Stream w/PCM 16bit Audio for some time. All previous successes involved Dolby or MP2 audio but unfortunately no luck on PCM. Past FFMPEG tickets from a few years ago indicate issues with this. I'm curious if this was been resolved for Program Streams.
>
> Additionally, I'm curious this issues carries over to HD Transport streams as well.
>
> Below is a summary of the print out from the terminal. Any directions would be helpful
>
> Marcus
>
> ffmpeg -i testb.mp4 -vcodec mpeg2video -pix_fmt yuv422p -b:v 15000000 -f vob -acodec pcm_s16le test.mpg
> ffmpeg version 2.1-tessus Copyright (c) 2000-2013 the FFmpeg developers
> built on Oct 28 2013 04:17:07 with llvm-gcc 4.2.1 (LLVM build 2336.1.00)
> configuration: --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-fontconfig --enable-libfreetype --enable-libass --enable-libbluray --enable-filters --enable-runtime-cpudetect
> libavutil 52. 48.100 / 52. 48.100
> libavcodec 55. 39.100 / 55. 39.100
> libavformat 55. 19.104 / 55. 19.104
> libavdevice 55. 5.100 / 55. 5.100
> libavfilter 3. 90.100 / 3. 90.100
> libswscale 2. 5.101 / 2. 5.101
> libswresample 0. 17.104 / 0. 17.104
> libpostproc 52. 3.100 / 52. 3.100
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'testb.mp4':
> Metadata:
> major_brand : isom
> minor_version : 512
> compatible_brands: isomiso2avc1mp41
> encoder : Lavf54.34.100
> Duration: 00:00:13.30, start: 0.033333, bitrate: 948 kb/s
> Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 720x480 [SAR 3200:2673 DAR 1600:891], 878 kb/s, 24 fps, 24 tbr, 12288 tbn, 48 tbc (default)
> Metadata:
> handler_name : VideoHandler
> Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 64 kb/s (default)
> Metadata:
> handler_name : SoundHandler
> File 'test.mpg' already exists. Overwrite ? [y/N] y
> [vob @ 0x102019e00] VBV buffer size not set, muxing may fail
> Output #0, vob, to 'test.mpg':
> Metadata:
> major_brand : isom
> minor_version : 512
> compatible_brands: isomiso2avc1mp41
> encoder : Lavf55.19.104
> Stream #0:0(eng): Video: mpeg2video, yuv422p, 720x480 [SAR 3200:2673 DAR 1600:891], q=2-31, 15000 kb/s, 90k tbn, 24 tbc (default)
> Metadata:
> handler_name : VideoHandler
> Stream #0:1(eng): Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s (default)
> Metadata:
> handler_name : SoundHandler
> Stream mapping:
> Stream #0:0 -> #0:0 (h264 -> mpeg2video)
> Stream #0:1 -> #0:1 (aac -> pcm_s16le)
> Press [q] to stop, [?] for help
> [vob @ 0x102019e00] buffer underflow st=1 bufi=4040 size=4096
> Last message repeated 23 times
> [vob @ 0x102019e00] packet too large, ignoring buffer limits to mux it
> [vob @ 0x102019e00] buffer underflow st=1 bufi=4040 size=4096
> [vob @ 0x102019e00] buffer underflow st=1 bufi=3916 size=4096.....
>
> ...........[vob @ 0x102019e00] buffer underflow st=1 bufi=2839 size=4096
> frame= 320 fps=307 q=2.0 Lsize= 12818kB time=00:00:13.31 bitrate=7888.0kbits/s dup=1 drop=0
> video:10160kB audio:2496kB subtitle:0 global headers:0kB muxing overhead 1.276212%
> DVD-MAC190:MPEG_PROGRAMSTREAM marcus$
>
More information about the ffmpeg-user
mailing list