Opened 12 years ago
Closed 12 years ago
#2032 closed defect (duplicate)
mpeg2 bugs
Reported by: | downuse | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avformat |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
- when muxing mpeg-ps(i use -f svcd,all streams are -c copy), the scr is always begin with 28616 either than 0. and according to 18138-2,the scr_ext seems to start with 299.
- when the video source(vbv_buffer=224k,bitrate=9000k,CBR) is Main@High or Main@High 1440,
it says
buffer underflow
packet too large, ignoring buffer limits to mux it.
- there isn't a option "sys_header only in first packet" i read the sorce and there is only "sys_header in every N packet"
Attachments (1)
Change History (7)
follow-up: 2 comment:1 by , 12 years ago
comment:2 by , 12 years ago
Replying to cehoyos:
Please add your (failing) ffmpeg command line together with complete, uncut console output.
ffmpeg started on 2012-12-16 at 01:01:57 Report written to "ffmpeg-20121216-010157.log" Command line: ffmpeg2 -loglevel debug -report -y -i 1080.m2v -i 1.mp2 -i 2.mp2 -map 0 -c copy -map 1 -c copy -map 2 -c copy -muxrate 9800k -f svcd 3.mpg ffmpeg version N-46146-g11d695d Copyright (c) 2000-2012 the FFmpeg developers built on Oct 29 2012 18:06:25 with gcc 4.7.2 (GCC) configuration: --enable-gpl --enable-version3 --disable-pthreads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 52. 1.100 / 52. 1.100 libavcodec 54. 69.100 / 54. 69.100 libavformat 54. 35.100 / 54. 35.100 libavdevice 54. 3.100 / 54. 3.100 libavfilter 3. 20.109 / 3. 20.109 libswscale 2. 1.101 / 2. 1.101 libswresample 0. 16.100 / 0. 16.100 libpostproc 52. 1.100 / 52. 1.100 [mpegvideo @ 003cf460] Format mpegvideo probed with size=32768 and score=51 [mpegvideo @ 003cf460] File position before avformat_find_stream_info() is 0 [mpegvideo @ 003cf460] Probe buffer size limit 5000000 reached [mpegvideo @ 003cf460] Estimating duration from bitrate, this may be inaccurate [mpegvideo @ 003cf460] File position after avformat_find_stream_info() is 5012480 Input #0, mpegvideo, from '1080.m2v': Duration: 00:04:27.86, bitrate: 9000 kb/s Stream #0:0, 135, 1/1200000: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 1001/60000, 9000 kb/s, 29.97 fps, 29.97 tbr, 1200k tbn, 59.94 tbc [mp3 @ 036ff280] Format mp3 probed with size=4096 and score=51 [mp3 @ 036ff280] File position before avformat_find_stream_info() is 0 [mp3 @ 036ff280] max_analyze_duration 5000000 reached at 5015510 [mp3 @ 036ff280] Estimating duration from bitrate, this may be inaccurate [mp3 @ 036ff280] File position after avformat_find_stream_info() is 143360 Input #1, mp3, from '1.mp2': Duration: 00:04:26.57, start: 0.000000, bitrate: 224 kb/s Stream #1:0, 194, 1/14112000: Audio: mp2, 44100 Hz, stereo, s16, 224 kb/s [mp3 @ 02cbd8a0] Format mp3 probed with size=4096 and score=51 [mp3 @ 02cbd8a0] File position before avformat_find_stream_info() is 0 [mp3 @ 02cbd8a0] max_analyze_duration 5000000 reached at 5015510 [mp3 @ 02cbd8a0] Estimating duration from bitrate, this may be inaccurate [mp3 @ 02cbd8a0] File position after avformat_find_stream_info() is 143360 Input #2, mp3, from '2.mp2': Duration: 00:04:26.57, start: 0.000000, bitrate: 224 kb/s Stream #2:0, 194, 1/14112000: Audio: mp2, 44100 Hz, stereo, s16, 224 kb/s Output #0, svcd, to '3.mpg': Metadata: encoder : Lavf54.35.100 Stream #0:0, 0, 1/90000: Video: mpeg2video, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 1001/30000, q=2-31, 9000 kb/s, 29.97 fps, 90k tbn, 29.97 tbc Stream #0:1, 0, 1/90000: Audio: mp2, 44100 Hz, stereo, 224 kb/s Stream #0:2, 0, 1/90000: Audio: mp2, 44100 Hz, stereo, 224 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #1:0 -> #0:1 (copy) Stream #2:0 -> #0:2 (copy) Press [q] to stop, [?] for help [svcd @ 030df560] buffer underflow i=0 bufi=166854 size=177393 ... [svcd @ 030df560] buffer underflow i=0 bufi=194344 size=195609 frame= 1272 fps=0.0 q=-1.0 size= 49816kB time=00:00:42.44 bitrate=9613.7kbits/s buffer underflow i=0 bufi=234927 size=262984 [svcd @ 030df560] packet too large, ignoring buffer limits to mux it [svcd @ 030df560] buffer underflow i=0 bufi=234927 size=262984 [svcd @ 030df560] buffer underflow i=0 bufi=234927 size=262984 [svcd @ 030df560] packet too large, ignoring buffer limits to mux it [svcd @ 030df560] buffer underflow i=0 bufi=234927 size=262984 [svcd @ 030df560] buffer underflow i=0 bufi=234927 size=262984 [svcd @ 030df560] packet too large, ignoring buffer limits to mux it [svcd @ 030df560] buffer underflow i=0 bufi=234927 size=262984 ... [svcd @ 030df560] packet too large, ignoring buffer limits to mux it [svcd @ 030df560] buffer underflow i=0 bufi=238811 size=385254 [svcd @ 030df560] buffer underflow i=0 bufi=238811 size=385254 frame= 2488 fps=2394 q=-1.0 size= 97174kB time=00:01:23.01 bitrate=9589.0kbits/s packet too large, ignoring buffer limits to mux it [svcd @ 030df560] buffer underflow i=0 bufi=238811 size=385254 ... [svcd @ 030df560] buffer underflow i=0 bufi=233494 size=364467 frame= 2509 fps=1626 q=-1.0 size= 98146kB time=00:01:23.72 bitrate=9603.3kbits/s buffer underflow i=0 bufi=233494 size=364467 [svcd @ 030df560] packet too large, ignoring buffer limits to mux it ... [svcd @ 030df560] buffer underflow i=0 bufi=42295 size=152727 frame= 2537 fps=1227 q=-1.0 size= 99312kB time=00:01:24.66 bitrate=9609.5kbits/s buffer underflow i=0 bufi=42295 size=152727 [svcd @ 030df560] buffer underflow i=0 bufi=44319 size=152727 ... [svcd @ 030df560] packet too large, ignoring buffer limits to mux it [svcd @ 030df560] buffer underflow i=0 bufi=248417 size=249802 [svcd @ 030df560] buffer underflow i=0 bufi=613 size=6924 [svcd @ 030df560] buffer underflow i=0 bufi=2637 size=6924 [svcd @ 030df560] buffer underflow i=0 bufi=4661 size=6924 [svcd @ 030df560] buffer underflow i=0 bufi=6685 size=6924 [svcd @ 030df560] buffer underflow i=0 bufi=1780 size=5131 [svcd @ 030df560] buffer underflow i=0 bufi=3804 size=5131 frame= 3114 fps=871 q=-1.0 size= 122008kB time=00:01:43.91 bitrate=9618.3kbits/s frame= 4638 fps=1139 q=-1.0 size= 181382kB time=00:02:34.75 bitrate=9601.5kbits/s frame= 6258 fps=1368 q=-1.0 size= 244422kB time=00:03:28.80 bitrate=9589.2kbits/s frame= 7496 fps=1478 q=-1.0 size= 292678kB time=00:04:10.12 bitrate=9585.8kbits/s No more output streams to write to, finishing. frame= 8009 fps=1527 q=-1.0 Lsize= 312674kB time=00:04:27.23 bitrate=9585.0kbits/s video:294285kB audio:14579kB subtitle:0 global headers:0kB muxing overhead 1.233738% [AVIOContext @ 003cf980] Statistics: 301347701 bytes read, 0 seeks [AVIOContext @ 02cd5f20] Statistics: 7497124 bytes read, 2 seeks [AVIOContext @ 0361b740] Statistics: 7497124 bytes read, 2 seeks
by , 12 years ago
Attachment: | 3_scr_base_not_begin_with_zero_and_muxrate_bugged.mpg added |
---|
follow-up: 4 comment:3 by , 12 years ago
the scr_base is always begin with 28616 and the default muxrate estimating are really buged for a long time...why nobody cares?
i uploaded the sample. its muxrate is too large and scr is begin with 28616.
follow-up: 5 comment:4 by , 12 years ago
Replying to downuse:
the scr_base is always begin with 28616 and the default muxrate estimating are really buged for a long time...why nobody cares?
Could you tell me a version that works better than current git head? And please point us to the bug report that was (seemingly) ignored if I understand you correctly.
comment:5 by , 12 years ago
Replying to cehoyos:
Could you tell me a version that works better than current git head? And please point us to the bug report that was (seemingly) ignored if I understand you correctly.
https://ffmpeg.org/trac/ffmpeg/ticket/1487
this ticket is 6 month ago and it works the same.
and after these 3 changes on 2012-10-30, 9 am
740959fdbfbf804ccd8a6e426b1b1ba321fe5cfb c349177b8cc0deb67df51ec1280c8e5a897a8067 4b7f34a34e4569228627c8954fab08a49203c89c
when use "-i 123.mpg", the video bitrate just don't show any more.
comment:6 by , 12 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
There are a few open questions in ticket #1487 - please answer them there, no need to open a new ticket.
Please add your (failing) ffmpeg command line together with complete, uncut console output.