Opened 4 weeks ago

Closed 4 weeks ago

Last modified 4 weeks ago

#6782 closed defect (invalid)

Doesn't produce MPEGPS-MPEG2-LPCM compliant output (DVD)

Reported by: Sami32 Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: pcm_dvd
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

Doesn't produce MPEGPS-MPEG-2-LPCM compliant output (-target, -f dvd, -f vob). Buffer underflow appear.
This is a mandatory format for DLNA renderers/servers.
It only use AC-3 audio stream.

How to reproduce:

% ffmpeg -i input -target pal-dvd -c:a pcm_s16be NUL
or
% ffmpeg -i input -bufsize 1835k -maxrate 9800k -sn -c:v mpeg2video -r 25 -g 15 -c:a pcm_s16be -b:a 1536k -ar 48000 -ac 2 -f vob NUL
or
% ffmpeg -i input -bufsize 1835k -maxrate 9800k -sn -c:v mpeg2video -r 25 -g 15 -c:a pcm_s16be -b:a 1536k -ar 48000 -ac 2 -f dvd NUL

ffmpeg version N-88042-g72c3d9ae45 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-avisynth --enable-fontconfig --enable-gnutls --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libkvazaar --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg --enable-opengl --enable-w32threads --disable-dxva2 --disable-debug --pkg-config-flags=--static --extra-ldflags=-static --extra-cflags='-mtune=generic -mfpmath=sse -msse' --cpu=i686 --optflags='-O2 -finline-functions'
  libavutil      56.  0.100 / 56.  0.100
  libavcodec     58.  0.100 / 58.  0.100
  libavformat    58.  0.100 / 58.  0.100
  libavdevice    58.  0.100 / 58.  0.100
  libavfilter     7.  0.100 /  7.  0.100
  libswscale      5.  0.100 /  5.  0.100
  libswresample   3.  0.100 /  3.  0.100
  libpostproc    55.  0.100 / 55.  0.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-i' ... matched as input url with argument 'tesSPDIF.mpg'.
Reading option '-target' ... matched as option 'target' (specify target file type ("vcd", "svcd", "dvd", "dv" or "dv50" with optional prefixes "pal-", "ntsc-" or "film-")) with argument 'pal-dvd'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'pcm_s16be'.
Reading option 'NUL' ... matched as output url.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Applying option loglevel (set logging level) with argument 99.
Applying option y (overwrite output files) with argument 1.
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url tesSPDIF.mpg.
Successfully parsed a group of options.
Opening an input file: tesSPDIF.mpg.
[NULL @ 079410e0] Opening 'tesSPDIF.mpg' for reading
[file @ 07941a80] Setting default whitelist 'file,crypto'
[mpeg @ 079410e0] Format mpeg probed with size=2048 and score=26
[mpeg @ 079410e0] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0 nb_streams:0
[mpeg @ 079410e0] probing stream 0 pp:2500
[mpeg @ 079410e0] Probe with size=2002, packets=1 detected mpegvideo with score=25
[mpeg @ 079410e0] probed stream 0
[mpeg @ 079410e0] max_analyze_duration 5000000 reached at 5000000 microseconds st:0
[mpeg @ 079410e0] After avformat_find_stream_info() pos: 0 bytes read:2510992 seeks:2 frames:526
Input #0, mpeg, from 'tesSPDIF.mpg':
  Duration: 00:00:53.46, start: 0.541667, bitrate: 5172 kb/s
    Stream #0:0[0x1e0], 122, 1/90000: Video: mpeg2video (Main), 1 reference frame, yuv420p(tv, progressive, left), 1920x1080 [SAR 1:1 DAR 16:9], 0/1, 24 fps, 24 tbr, 90k tbn, 48 tbc
    Stream #0:1[0x88], 404, 1/90000: Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1411 kb/s
Successfully opened the file.
Parsing a group of options: output url NUL.
Applying option target (specify target file type ("vcd", "svcd", "dvd", "dv" or "dv50" with optional prefixes "pal-", "ntsc-" or "film-")) with argument pal-dvd.
Applying option c:a (codec name) with argument pcm_s16be.
Successfully parsed a group of options.
Opening an output file: NUL.
[file @ 07953920] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 1 logical cores
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> mpeg2video (native))
  Stream #0:1 -> #0:1 (dts (dca) -> pcm_s16be (native))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[graph 0 input from stream 0:0 @ 07a19f40] Setting 'video_size' to value '1920x1080'
[graph 0 input from stream 0:0 @ 07a19f40] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 07a19f40] Setting 'time_base' to value '1/90000'
[graph 0 input from stream 0:0 @ 07a19f40] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 07a19f40] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 07a19f40] Setting 'frame_rate' to value '24/1'
[graph 0 input from stream 0:0 @ 07a19f40] w:1920 h:1080 pixfmt:yuv420p tb:1/90000 fr:24/1 sar:1/1 sws_param:flags=2
[scaler_out_0_0 @ 07a0aa20] Setting 'w' to value '720'
[scaler_out_0_0 @ 07a0aa20] Setting 'h' to value '576'
[scaler_out_0_0 @ 07a0aa20] Setting 'flags' to value 'bicubic'
[scaler_out_0_0 @ 07a0aa20] w:720 h:576 flags:'bicubic' interl:0
[format @ 07a0a920] Setting 'pix_fmts' to value 'yuv420p'
[AVFilterGraph @ 07a62c40] query_formats: 5 queried, 4 merged, 0 already done, 0 delayed
[scaler_out_0_0 @ 07a0aa20] w:1920 h:1080 fmt:yuv420p sar:1/1 -> w:720 h:576 fmt:yuv420p sar:64/45 flags:0x4
[mpeg2video @ 079e5ac0] intra_quant_bias = 96 inter_quant_bias = 0
Clipping frame in rate conversion by 0.000008
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
frame=   12 fps=0.0 q=0.0 size=       0kB time=--9223372036854.78 bitrate=  -0.0kbits/s speed=N/A    
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
*** 1 dup!
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.458321
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.416664
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.374992
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.333321
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.291664
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.249992
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[graph_1_in_0_1 @ 07a0a620] Setting 'time_base' to value '1/48000'
[graph_1_in_0_1 @ 07a0a620] Setting 'sample_rate' to value '48000'
[graph_1_in_0_1 @ 07a0a620] Setting 'sample_fmt' to value 'fltp'
[graph_1_in_0_1 @ 07a0a620] Setting 'channel_layout' to value '0x60f'
[graph_1_in_0_1 @ 07a0a620] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x60f
[format_out_0_1 @ 07a0a3a0] Setting 'sample_fmts' to value 's16'
[format_out_0_1 @ 07a0a3a0] Setting 'sample_rates' to value '48000'
[format_out_0_1 @ 07a0a3a0] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_1'
[AVFilterGraph @ 079d8080] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
[auto_resampler_0 @ 07a04a00] [SWR @ 086e6000] Using fltp internally between filters
[auto_resampler_0 @ 07a04a00] ch:6 chl:5.1(side) fmt:fltp r:48000Hz -> ch:6 chl:5.1(side) fmt:s16 r:48000Hz
Output #0, dvd, to 'NUL':
  Metadata:
    encoder         : Lavf58.0.100
    Stream #0:0, 0, 1/90000: Video: mpeg2video (Main), 1 reference frame, yuv420p(progressive, left), 720x576 [SAR 64:45 DAR 16:9], 0/1, q=2-31, 6000 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc58.0.100 mpeg2video
    Side data:
      cpb: bitrate max/min/avg: 9000000/0/6000000 buffer size: 1835008 vbv_delay: -1
    Stream #0:1, 0, 1/90000: Audio: pcm_s16be, 48000 Hz, 5.1(side), s16, 4608 kb/s
    Metadata:
      encoder         : Lavc58.0.100 pcm_s16be
[dvd @ 079be840] First SCR: 0 First DTS: 45000
Clipping frame in rate conversion by 0.208321
Clipping frame in rate conversion by 0.166664
Clipping frame in rate conversion by 0.124992
Clipping frame in rate conversion by 0.083321
frame=   24 fps= 24 q=2.0 size=      12kB time=0.84 bitrate= 117.0kbits/s dup=1 drop=0 speed=0.839x    
Clipping frame in rate conversion by 0.041664
frame=   34 fps= 23 q=2.0 size=      26kB time=1.24 bitrate= 171.8kbits/s dup=1 drop=0 speed=0.826x    
*** 1 dup!
Clipping frame in rate conversion by 0.458321
Clipping frame in rate conversion by 0.416664
Clipping frame in rate conversion by 0.374992
Clipping frame in rate conversion by 0.333321
[dvd @ 079be840] buffer underflow st=1 bufi=4020 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4020 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=6036 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=6036 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3912 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3912 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5928 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5928 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3804 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3804 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5820 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5820 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3696 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3696 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5712 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5712 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3588 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3588 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5604 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5604 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3480 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3480 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5496 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5496 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3372 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3372 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5388 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5388 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3264 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3264 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5280 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5280 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3156 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3156 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5172 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5172 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3048 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3048 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5064 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5064 size=6144
Clipping frame in rate conversion by 0.291664
frame=   44 fps= 22 q=2.0 size=      90kB time=1.64 bitrate= 449.6kbits/s dup=2 drop=0 speed=0.819x    
[dvd @ 079be840] buffer underflow st=1 bufi=2940 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2940 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4956 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4956 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2832 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2832 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4848 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4848 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2724 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2724 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4740 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4740 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2616 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2616 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4632 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4632 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2508 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2508 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4524 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4524 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2400 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2400 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4416 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4416 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2292 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2292 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4308 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4308 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2184 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2184 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4200 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4200 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2076 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2076 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4092 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4092 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=6108 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=6108 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3984 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3984 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=6000 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=6000 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3876 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3876 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5892 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5892 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3768 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3768 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5784 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5784 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3660 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3660 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5676 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5676 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3552 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3552 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5568 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5568 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3444 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3444 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5460 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5460 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3336 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3336 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5352 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5352 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3228 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3228 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5244 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5244 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3120 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3120 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5136 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5136 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3012 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3012 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5028 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5028 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5028 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2904 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2904 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4920 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4920 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2796 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2796 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4812 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4812 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2688 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2688 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4704 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4704 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2580 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2580 size=6144
Clipping frame in rate conversion by 0.249992
[dvd @ 079be840] buffer underflow st=1 bufi=2580 size=6144
Clipping frame in rate conversion by 0.208321
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2580 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4596 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4596 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2472 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2472 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4488 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4488 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2364 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2364 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4380 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4380 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2256 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2256 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4272 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4272 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2148 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2148 size=6144
Clipping frame in rate conversion by 0.166664
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2148 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4164 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4164 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4056 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4056 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=6072 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=6072 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3948 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3948 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5964 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5964 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3840 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3840 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5856 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5856 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3732 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3732 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5748 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5748 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3624 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3624 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5640 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5640 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3516 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3516 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5532 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5532 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3408 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3408 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5424 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5424 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5424 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5424 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5424 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5424 size=6144
Clipping frame in rate conversion by 0.124992
[dvd @ 079be840] buffer underflow st=1 bufi=5424 size=6144
Clipping frame in rate conversion by 0.083321
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5424 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=1284 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3300 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3300 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5316 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5316 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3192 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3192 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5208 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5208 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=3084 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=3084 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=5100 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=5100 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2976 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2976 size=6144
Clipping frame in rate conversion by 0.041664
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2976 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4992 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4992 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2868 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2868 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4884 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4884 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2760 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2760 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4776 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4776 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2652 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2652 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4668 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4668 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2544 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2544 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2544 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4560 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4560 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2436 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2436 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4452 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4452 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2328 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2328 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4344 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4344 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=2220 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2220 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4236 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4236 size=6144
frame=   52 fps= 20 q=2.0 size=     394kB time=1.96 bitrate=1646.7kbits/s dup=2 drop=0 speed=0.772x    
[dvd @ 079be840] buffer underflow st=1 bufi=2112 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=2112 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4128 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4128 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=4020 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[dvd @ 079be840] buffer underflow st=1 bufi=4020 size=6144
[dvd @ 079be840] buffer underflow st=1 bufi=6036 size=6144
[dvd @ 079be840] packet too large, ignoring buffer limits to mux it
[
}})

Attachments (2)

ffmpeg-20171027-181609.zip (79.1 KB) - added by Sami32 4 weeks ago.
Full log #6782
IEC 62481-2-2013.7z (2.3 MB) - added by Sami32 4 weeks ago.
IEC_62481-2_#6782

Change History (5)

Changed 4 weeks ago by Sami32

Full log #6782

Changed 4 weeks ago by Sami32

IEC_62481-2_#6782

comment:1 Changed 4 weeks ago by Sami32

As asked by Michael Niedermayer into this mailing list post:
http://www.ffmpeg-archive.org/mpeg2-bufsize-question-td4301622.html

The specifications asked can be found into the IEC 62481-2 standard.
I've added them in attachment. See 9.3.3.4 page 224.

Hoping that can help.

Regards,

EDIT: Some others [HD-DVD]https://en.wikipedia.org/wiki/HD_DVD, a.k.a. EVO, exist so it worst mention them, as they are also in the standard that i've attached.
As DTS is still an experimental codec in FFmpeg code, only the DTS core could be considered, as the others could only be streamcopied.
The main advantage will be to have HD video VOB support, that most renderers support these days.

MPEG_PS_HD_DTS
MPEG_PS_HD_DTSHD
MPEG_PS_HD_DTSHD_HRA
MPEG_PS_HD_DTSHD_MA
MPEG_PS_SD_DTS

comment:2 Changed 4 weeks ago by cehoyos

  • Keywords pcm_dvd added; mpegps -target removed
  • Resolution set to invalid
  • Status changed from new to closed

You cannot mux random codecs into mpeg program (and mpeg transport) streams. There are three bugs, I opened two tickets: #6783, #6784

FFmpeg does not warn when random codecs are muxed into mpeg program or mpeg transport streams, this is a long-time bug, I sent a patch once, will try to update it.

comment:3 Changed 4 weeks ago by Sami32

Thank you for your attention and help +1
I was not aware of your patch.

Sorry for not having posted this issue well formatted.

Regards,

Note: See TracTickets for help on using tickets.