Opened 15 months ago

Closed 7 months ago

Last modified 4 weeks ago

#7746 closed defect (duplicate)

nvenc HEVC -b_ref_mode produces invalid pts/dts

Reported by: oviano Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: nvenc
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

With latest ffmpeg-master code on Windows, when I enable the new nvenc HEVC encoder option "b_ref_mode" with "middle", and 4 b-frames, I find that calls to avcodec_receive_packet are returning invalid dts/pts combinations.

To be more precise dts is frequently greater than pts by 1. This then causes av_interleaved_write_frame to fail with an invalid argument error.

Similar behaviour is exhibited in ffmpeg itself, except instead of totally failing, ffmpeg spews a huge amount of output and tries to guess new values.

In both cases, if I omit the new "b_ref_mode" value, but keep b-frames, then this issue does not occur.

I can work around it, of course, but I suppose something needs adjusting in the nvenc code to avoid this?

C:\Program Files\Emu Server>ffmpeg -analyzeduration 100M -probesize 100M -i c:\Users\Oliver\Desktop\capture.asf -vcodec hevc_nvenc -pix_fmt yuv420p -preset slow -rc vbr_hq -vb 20000k -bufsize 20000k -maxrate 30000k -g 50 -b_ref_mode middle -bf 4 -rc-lookahead 32 -acodec aac -ab 256k -af aresample=async=1000 -r 50.000000 -f mpegts c:\Users\Oliver\Desktop\encode.ts -y
ffmpeg version N-93129-g9e1e521393 Copyright (c) 2000-2019 the FFmpeg developers

built with gcc 8.2.1 (GCC) 20190212
configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
libavutil 56. 26.100 / 56. 26.100
libavcodec 58. 47.101 / 58. 47.101
libavformat 58. 26.101 / 58. 26.101
libavdevice 58. 6.101 / 58. 6.101
libavfilter 7. 48.100 / 7. 48.100
libswscale 5. 4.100 / 5. 4.100
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100

Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, asf, from 'c:\Users\Oliver\Desktop\capture.asf':

Metadata:

encoder : Lavf58.12.100

Duration: 00:01:00.55, start: 0.000000, bitrate: 290954 kb/s

Stream #0:0: Video: huffyuv (HFYU / 0x55594648), yuv422p, 1920x1080, 25 fps, 25 tbr, 1k tbn, 1k tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (huffyuv (native) -> hevc (hevc_nvenc))
Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (native))

Press [q] to stop, ? for help
Output #0, mpegts, to 'c:\Users\Oliver\Desktop\encode.ts':

Metadata:

encoder : Lavf58.26.101
Stream #0:0: Video: hevc (hevc_nvenc) (Main), yuv420p, 1920x1080, q=-1--1, 20000 kb/s, 50 fps, 90k tbn, 50 tbc
Metadata:

encoder : Lavc58.47.101 hevc_nvenc

Side data:

cpb: bitrate max/min/avg: 30000000/0/20000000 buffer size: 20000000 vbv_delay: -1

Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 256 kb/s
Metadata:

encoder : Lavc58.47.101 aac

[mpegts @ 000002b41905ad40] Invalid DTS: 9000 PTS: 5400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 12600 PTS: 9000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 27000 PTS: 23400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 30600 PTS: 27000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 45000 PTS: 41400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 48600 PTS: 45000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 63000 PTS: 59400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 66600 PTS: 63000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 81000 PTS: 77400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 84600 PTS: 81000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 99000 PTS: 95400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 102600 PTS: 99000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 117000 PTS: 113400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 120600 PTS: 117000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 135000 PTS: 131400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 138600 PTS: 135000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 153000 PTS: 149400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 156600 PTS: 153000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 171000 PTS: 167400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 189000 PTS: 185400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 192600 PTS: 189000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 207000 PTS: 203400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 210600 PTS: 207000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 225000 PTS: 221400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 228600 PTS: 225000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 243000 PTS: 239400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 246600 PTS: 243000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 261000 PTS: 257400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 264600 PTS: 261000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 279000 PTS: 275400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 282600 PTS: 279000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 297000 PTS: 293400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 300600 PTS: 297000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 315000 PTS: 311400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 318600 PTS: 315000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 333000 PTS: 329400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 336600 PTS: 333000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 351000 PTS: 347400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 369000 PTS: 365400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 372600 PTS: 369000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 387000 PTS: 383400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 390600 PTS: 387000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 405000 PTS: 401400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 408600 PTS: 405000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 423000 PTS: 419400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 426600 PTS: 423000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 441000 PTS: 437400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 444600 PTS: 441000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 459000 PTS: 455400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 462600 PTS: 459000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 477000 PTS: 473400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 480600 PTS: 477000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 495000 PTS: 491400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 498600 PTS: 495000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 513000 PTS: 509400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 516600 PTS: 513000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 531000 PTS: 527400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 549000 PTS: 545400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 552600 PTS: 549000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 567000 PTS: 563400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 570600 PTS: 567000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 585000 PTS: 581400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 588600 PTS: 585000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 603000 PTS: 599400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 606600 PTS: 603000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 621000 PTS: 617400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 624600 PTS: 621000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 639000 PTS: 635400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 642600 PTS: 639000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 657000 PTS: 653400 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 660600 PTS: 657000 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 685800 PTS: 682200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 689400 PTS: 685800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 703800 PTS: 700200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 707400 PTS: 703800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 721800 PTS: 718200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 725400 PTS: 721800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 739800 PTS: 736200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 743400 PTS: 739800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 757800 PTS: 754200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 761400 PTS: 757800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 775800 PTS: 772200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 779400 PTS: 775800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 793800 PTS: 790200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 797400 PTS: 793800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 811800 PTS: 808200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 815400 PTS: 811800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 829800 PTS: 826200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 833400 PTS: 829800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 847800 PTS: 844200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 865800 PTS: 862200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 869400 PTS: 865800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 883800 PTS: 880200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 887400 PTS: 883800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 901800 PTS: 898200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 905400 PTS: 901800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 919800 PTS: 916200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 923400 PTS: 919800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 937800 PTS: 934200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 941400 PTS: 937800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 955800 PTS: 952200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 959400 PTS: 955800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 973800 PTS: 970200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 977400 PTS: 973800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 991800 PTS: 988200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 995400 PTS: 991800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1009800 PTS: 1006200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1013400 PTS: 1009800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1027800 PTS: 1024200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1045800 PTS: 1042200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1049400 PTS: 1045800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1063800 PTS: 1060200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1067400 PTS: 1063800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1081800 PTS: 1078200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1085400 PTS: 1081800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1099800 PTS: 1096200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1103400 PTS: 1099800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1117800 PTS: 1114200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1121400 PTS: 1117800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1135800 PTS: 1132200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1139400 PTS: 1135800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1153800 PTS: 1150200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1157400 PTS: 1153800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1171800 PTS: 1168200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1175400 PTS: 1171800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1189800 PTS: 1186200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1193400 PTS: 1189800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1207800 PTS: 1204200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1225800 PTS: 1222200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1229400 PTS: 1225800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1243800 PTS: 1240200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1247400 PTS: 1243800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1261800 PTS: 1258200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1265400 PTS: 1261800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1279800 PTS: 1276200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1283400 PTS: 1279800 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1297800 PTS: 1294200 in output stream 0:0, replacing by guess
[mpegts @ 000002b41905ad40] Invalid DTS: 1301400 PTS: 1297800 in output stream 0:0, replacing by guess
frame= 366 fps=128 q=25.0 Lsize= 20787kB time=00:00:15.49 bitrate=10986.8kbits/s speed=5.44x
video:18729kB audio:486kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 8.182553%
[aac @ 000002b418fc5a40] Qavg: 198.825
Exiting normally, received signal 2.

Change History (10)

comment:1 Changed 15 months ago by cehoyos

  • Keywords HEVC b_ref_mode removed
  • Priority changed from important to normal

Is specific input necessary to reproduce or is the issue reproducible with testsrc2?

comment:2 Changed 15 months ago by oviano

I don't think so - I tried about three different files all with the same outcome.

However, here is a link to file that produced the example above, in Dropbox, if that is helpful.

https://www.dropbox.com/s/qk0kbzrsx3matur/capture.asf?dl=0

comment:3 follow-up: Changed 7 months ago by Brainiarc7

I can also reproduce this on an RTX 2080.
The console is polluted with messages such as:

[tee @ 0x5590b4996f00] Invalid DTS: 4172 PTS: 4171 in output stream 0:7, replacing by guess
[tee @ 0x5590b4996f00] Invalid DTS: 4173 PTS: 4172 in output stream 0:7, replacing by guess
[tee @ 0x5590b4996f00] Invalid DTS: 4177 PTS: 4176 in output stream 0:7, replacing by guess
[tee @ 0x5590b4996f00] Invalid DTS: 4162 PTS: 4161 in output stream 0:8, replacing by guess
[tee @ 0x5590b4996f00] Invalid DTS: 4163 PTS: 4162 in output stream 0:8, replacing by guess
[tee @ 0x5590b4996f00] Invalid DTS: 4167 PTS: 4166 in output stream 0:8, replacing by guess
[tee @ 0x5590b4996f00] Invalid DTS: 4168 PTS: 4167 in output stream 0:8, replacing by guess
[tee @ 0x5590b4996f00] Invalid DTS: 4172 PTS: 4171 in output stream 0:8, replacing by guess
[tee @ 0x5590b4996f00] Invalid DTS: 4173 PTS: 4172 in output stream 0:8, replacing by guess
[tee @ 0x5590b4996f00] Invalid DTS: 4177 PTS: 4176 in output stream 0:8, replacing by guess

comment:4 Changed 7 months ago by Brainiarc7

Also related: https://trac.ffmpeg.org/ticket/7303
Filed over 1 year ago.

comment:5 Changed 7 months ago by cehoyos

  • Component changed from ffmpeg to undetermined
  • Resolution set to duplicate
  • Status changed from new to closed

comment:6 in reply to: ↑ 3 Changed 7 months ago by Balling

Replying to Brainiarc7:

I can also reproduce this on an RTX 2080.
The console is polluted with messages such as:

[tee @ 0x5590b4996f00] Invalid DTS: 4172 PTS: 4171 in output stream 0:7, replacing by guess
[tee @ 0x5590b4996f00] Invalid DTS: 4173 PTS: 4172 in output stream 0:7, replacing by guess
[tee @ 0x5590b4996f00] Invalid DTS: 4177 PTS: 4176 in output stream 0:7, replacing by guess
[tee @ 0x5590b4996f00] Invalid DTS: 4162 PTS: 4161 in output stream 0:8, replacing by guess
[tee @ 0x5590b4996f00] Invalid DTS: 4163 PTS: 4162 in output stream 0:8, replacing by guess
[tee @ 0x5590b4996f00] Invalid DTS: 4167 PTS: 4166 in output stream 0:8, replacing by guess
[tee @ 0x5590b4996f00] Invalid DTS: 4168 PTS: 4167 in output stream 0:8, replacing by guess
[tee @ 0x5590b4996f00] Invalid DTS: 4172 PTS: 4171 in output stream 0:8, replacing by guess
[tee @ 0x5590b4996f00] Invalid DTS: 4173 PTS: 4172 in output stream 0:8, replacing by guess
[tee @ 0x5590b4996f00] Invalid DTS: 4177 PTS: 4176 in output stream 0:8, replacing by guess

What is your command line?

comment:7 Changed 5 months ago by Brainiarc7

Hello there,

Apologies for the late response.

Here are the command lines, with a working sample (where -bf:v 0) and a broken one (where -bf:v > 1, as tested with the h264_nvenc encoder.

To test, this works when bf:v = 1

ffmpeg -t 30 -nostdin -y \
-fflags -autobsf+genpts-fastseek \
-hwaccel nvdec -hwaccel_device 0 -hwaccel_output_format cuda \
-threads 1 -reinit_filter 1 -vsync 1 -async 1 -filter_threads 2 -filter_complex_threads 2 \
-i feeds.ts -vf "yadif_cuda=0:-1:0,scale_npp=w=1920:h=1080:interp_algo=lanczos" \
-map 'i:0x100' -b:v 7800k -maxrate:v 7800k -bufsize:v 7800k -c:v h264_nvenc -r:v ntsc -refs:v 7 \
-profile:v high -preset:v llhp -rc:v cbr_ld_hq -g:v 60 -gpu:v 0 -strict_gop:v 1 -bf:v 1 -dpb_size:v 3 -b_ref_mode:v 2 \
-map 'i:0x101' -c:a libfdk_aac -ac 2 -ar 48000 -b:a 128k \
-flags +global_header+cgop \
-f mp4 'dump.mp4'

log:

ffmpeg version N-96249-g81172b5e3a Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 8 (Ubuntu 8.3.0-6ubuntu1~18.04.1)
  configuration: --pkg-config-flags=--static --enable-static --disable-shared --prefix=/home/brainiarc7 --bindir=/home/brainiarc7/bin --extra-cflags=-I/home/brainiarc7/include --extra-ldflags=-L/home/brainiarc7/lib --enable-cuda-nvcc --enable-cuvid --enable-libnpp --extra-cflags=-I/usr/local/cuda/include/ --extra-ldflags=-L/usr/local/cuda/lib64/ --enable-nvenc --enable-libass --disable-debug --enable-libvorbis --enable-libvpx --enable-libdrm --enable-opencl --enable-libxml2 --enable-gpl --cpu=native --enable-opengl --enable-libfdk-aac --enable-libx264 --enable-libx265 --enable-openssl --enable-librtmp --enable-libpulse --enable-libzvbi --enable-librav1e --enable-libvmaf --enable-version3 --enable-pic --nvccflags='-gencode arch=compute_75,code=sm_75 -O2' --extra-libs='-lpthread -lm -lz -ldl' --enable-nonfree
  libavutil      56. 38.100 / 56. 38.100
  libavcodec     58. 65.102 / 58. 65.102
  libavformat    58. 35.101 / 58. 35.101
  libavdevice    58.  9.102 / 58.  9.102
  libavfilter     7. 70.101 /  7. 70.101
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
Input #0, mpegts, from 'feeds.ts':
  Duration: 01:00:02.15, start: 1.400000, bitrate: 13528 kb/s
  Program 1 
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, bottom first), 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x101](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp, 384 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (h264_nvenc))
  Stream #0:1 -> #0:1 (ac3 (native) -> aac (libfdk_aac))
-async is forwarded to lavfi similarly to -af aresample=async=1:min_hard_comp=0.100000:first_pts=0.
Output #0, mp4, to 'dump.mp4':
  Metadata:
    encoder         : Lavf58.35.101
    Stream #0:0: Video: h264 (h264_nvenc) (High) (avc1 / 0x31637661), cuda, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 7800 kb/s, 29.97 fps, 30k tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc58.65.102 h264_nvenc
    Side data:
      cpb: bitrate max/min/avg: 7800000/0/7800000 buffer size: 7800000 vbv_delay: N/A
    Stream #0:1(eng): Audio: aac (libfdk_aac) (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 128 kb/s
    Metadata:
      encoder         : Lavc58.65.102 libfdk_aac
frame=  251 fps=0.0 q=17.0 size=    7936kB time=00:00:08.29 bitrate=7834.0kbits/frame=  550 fps=549 q=19.0 size=   17408kB time=00:00:18.34 bitrate=7772.9kbits/frame=  856 fps=570 q=17.0 size=   27392kB time=00:00:28.56 bitrate=7855.5kbits/frame=  918 fps=571 q=16.0 Lsize=   29791kB time=00:00:30.56 bitrate=7984.9kbits/s dup=18 drop=0 speed=  19x    
video:29287kB audio:470kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.113706%

Whereas this is broken, with bf:v > 1:

ffmpeg -t 30 -nostdin -y \
-fflags -autobsf+genpts-fastseek \
-hwaccel nvdec -hwaccel_device 0 -hwaccel_output_format cuda \
-threads 1 -reinit_filter 1 -vsync 1 -async 1 -filter_threads 2 -filter_complex_threads 2 \
-i feeds.ts -vf "yadif_cuda=0:-1:0,scale_npp=w=1920:h=1080:interp_algo=lanczos" \
-map 'i:0x100' -b:v 7800k -maxrate:v 7800k -bufsize:v 7800k -c:v h264_nvenc -r:v ntsc -refs:v 7 \
-profile:v high -preset:v llhp -rc:v cbr_ld_hq -g:v 60 -gpu:v 0 -strict_gop:v 1 -bf:v 3 -dpb_size:v 3 -b_ref_mode:v 2 \
-map 'i:0x101' -c:a libfdk_aac -ac 2 -ar 48000 -b:a 128k \
-flags +global_header+cgop \
-f mp4 'dump_broken.mp4'

Log:

ffmpeg version N-96249-g81172b5e3a Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 8 (Ubuntu 8.3.0-6ubuntu1~18.04.1)
  configuration: --pkg-config-flags=--static --enable-static --disable-shared --prefix=/home/brainiarc7 --bindir=/home/brainiarc7/bin --extra-cflags=-I/home/brainiarc7/include --extra-ldflags=-L/home/brainiarc7/lib --enable-cuda-nvcc --enable-cuvid --enable-libnpp --extra-cflags=-I/usr/local/cuda/include/ --extra-ldflags=-L/usr/local/cuda/lib64/ --enable-nvenc --enable-libass --disable-debug --enable-libvorbis --enable-libvpx --enable-libdrm --enable-opencl --enable-libxml2 --enable-gpl --cpu=native --enable-opengl --enable-libfdk-aac --enable-libx264 --enable-libx265 --enable-openssl --enable-librtmp --enable-libpulse --enable-libzvbi --enable-librav1e --enable-libvmaf --enable-version3 --enable-pic --nvccflags='-gencode arch=compute_75,code=sm_75 -O2' --extra-libs='-lpthread -lm -lz -ldl' --enable-nonfree
  libavutil      56. 38.100 / 56. 38.100
  libavcodec     58. 65.102 / 58. 65.102
  libavformat    58. 35.101 / 58. 35.101
  libavdevice    58.  9.102 / 58.  9.102
  libavfilter     7. 70.101 /  7. 70.101
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
Input #0, mpegts, from 'feeds.ts':
  Duration: 01:00:02.15, start: 1.400000, bitrate: 13528 kb/s
  Program 1 
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, bottom first), 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x101](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp, 384 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (h264_nvenc))
  Stream #0:1 -> #0:1 (ac3 (native) -> aac (libfdk_aac))
-async is forwarded to lavfi similarly to -af aresample=async=1:min_hard_comp=0.100000:first_pts=0.
Output #0, mp4, to 'dump_broken.mp4':
  Metadata:
    encoder         : Lavf58.35.101
    Stream #0:0: Video: h264 (h264_nvenc) (High) (avc1 / 0x31637661), cuda, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 7800 kb/s, 29.97 fps, 30k tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc58.65.102 h264_nvenc
    Side data:
      cpb: bitrate max/min/avg: 7800000/0/7800000 buffer size: 7800000 vbv_delay: N/A
    Stream #0:1(eng): Audio: aac (libfdk_aac) (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 128 kb/s
    Metadata:
      encoder         : Lavc58.65.102 libfdk_aac
[mp4 @ 0x55c39db53680] Invalid DTS: 2002 PTS: 1001 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 6006 PTS: 5005 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 10010 PTS: 9009 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 14014 PTS: 13013 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 18018 PTS: 17017 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 22022 PTS: 21021 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 26026 PTS: 25025 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 30030 PTS: 29029 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 34034 PTS: 33033 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 38038 PTS: 37037 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 42042 PTS: 41041 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 46046 PTS: 45045 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 50050 PTS: 49049 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 54054 PTS: 53053 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 58058 PTS: 57057 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 62062 PTS: 61061 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 66066 PTS: 65065 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 70070 PTS: 69069 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 74074 PTS: 73073 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 78078 PTS: 77077 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 82082 PTS: 81081 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 86086 PTS: 85085 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 90090 PTS: 89089 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 94094 PTS: 93093 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 98098 PTS: 97097 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 102102 PTS: 101101 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 106106 PTS: 105105 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 110110 PTS: 109109 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 114114 PTS: 113113 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 118118 PTS: 117117 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 122122 PTS: 121121 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 126126 PTS: 125125 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 130130 PTS: 129129 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 134134 PTS: 133133 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 138138 PTS: 137137 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 142142 PTS: 141141 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 146146 PTS: 145145 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 150150 PTS: 149149 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 154154 PTS: 153153 in output stream 0:0, replacing by guess
frame=  173 fps=0.0 q=14.0 size=    5120kB time=00:00:05.78 bitrate=7255.0kbits/[mp4 @ 0x55c39db53680] Invalid DTS: 158158 PTS: 157157 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 162162 PTS: 161161 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 166166 PTS: 165165 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 170170 PTS: 169169 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 174174 PTS: 173173 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 178178 PTS: 177177 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 182182 PTS: 181181 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 186186 PTS: 185185 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 190190 PTS: 189189 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 194194 PTS: 193193 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 198198 PTS: 197197 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 202202 PTS: 201201 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 206206 PTS: 205205 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 210210 PTS: 209209 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 214214 PTS: 213213 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 218218 PTS: 217217 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 222222 PTS: 221221 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 226226 PTS: 225225 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 230230 PTS: 229229 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 234234 PTS: 233233 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 238238 PTS: 237237 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 242242 PTS: 241241 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 246246 PTS: 245245 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 250250 PTS: 249249 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 254254 PTS: 253253 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 258258 PTS: 257257 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 262262 PTS: 261261 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 266266 PTS: 265265 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 270270 PTS: 269269 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 274274 PTS: 273273 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 278278 PTS: 277277 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 282282 PTS: 281281 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 286286 PTS: 285285 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 290290 PTS: 289289 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 294294 PTS: 293293 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 298298 PTS: 297297 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 302302 PTS: 301301 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 306306 PTS: 305305 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 310310 PTS: 309309 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 314314 PTS: 313313 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 318318 PTS: 317317 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 322322 PTS: 321321 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 326326 PTS: 325325 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 330330 PTS: 329329 in output stream 0:0, replacing by guess
frame=  346 fps=344 q=18.0 size=   10752kB time=00:00:11.54 bitrate=7631.8kbits/[mp4 @ 0x55c39db53680] Invalid DTS: 334334 PTS: 333333 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 338338 PTS: 337337 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 342342 PTS: 341341 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 346346 PTS: 345345 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 350350 PTS: 349349 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 354354 PTS: 353353 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 358358 PTS: 357357 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 362362 PTS: 361361 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 366366 PTS: 365365 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 370370 PTS: 369369 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 374374 PTS: 373373 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 378378 PTS: 377377 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 382382 PTS: 381381 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 386386 PTS: 385385 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 390390 PTS: 389389 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 394394 PTS: 393393 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 398398 PTS: 397397 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 402402 PTS: 401401 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 406406 PTS: 405405 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 410410 PTS: 409409 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 414414 PTS: 413413 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 418418 PTS: 417417 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 422422 PTS: 421421 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 426426 PTS: 425425 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 430430 PTS: 429429 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 434434 PTS: 433433 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 438438 PTS: 437437 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 442442 PTS: 441441 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 446446 PTS: 445445 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 450450 PTS: 449449 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 454454 PTS: 453453 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 458458 PTS: 457457 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 462462 PTS: 461461 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 466466 PTS: 465465 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 470470 PTS: 469469 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 474474 PTS: 473473 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 478478 PTS: 477477 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 482482 PTS: 481481 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 486486 PTS: 485485 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 490490 PTS: 489489 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 494494 PTS: 493493 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 498498 PTS: 497497 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 502502 PTS: 501501 in output stream 0:0, replacing by guess
frame=  518 fps=343 q=27.0 size=   16384kB time=00:00:17.23 bitrate=7786.5kbits/[mp4 @ 0x55c39db53680] Invalid DTS: 506506 PTS: 505505 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 510510 PTS: 509509 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 514514 PTS: 513513 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 518518 PTS: 517517 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 522522 PTS: 521521 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 526526 PTS: 525525 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 530530 PTS: 529529 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 534534 PTS: 533533 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 538538 PTS: 537537 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 542542 PTS: 541541 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 546546 PTS: 545545 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 550550 PTS: 549549 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 554554 PTS: 553553 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 558558 PTS: 557557 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 562562 PTS: 561561 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 566566 PTS: 565565 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 570570 PTS: 569569 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 574574 PTS: 573573 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 578578 PTS: 577577 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 582582 PTS: 581581 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 586586 PTS: 585585 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 590590 PTS: 589589 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 594594 PTS: 593593 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 598598 PTS: 597597 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 602602 PTS: 601601 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 606606 PTS: 605605 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 610610 PTS: 609609 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 614614 PTS: 613613 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 618618 PTS: 617617 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 622622 PTS: 621621 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 626626 PTS: 625625 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 630630 PTS: 629629 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 634634 PTS: 633633 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 638638 PTS: 637637 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 642642 PTS: 641641 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 646646 PTS: 645645 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 650650 PTS: 649649 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 654654 PTS: 653653 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 658658 PTS: 657657 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 662662 PTS: 661661 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 666666 PTS: 665665 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 670670 PTS: 669669 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 674674 PTS: 673673 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 678678 PTS: 677677 in output stream 0:0, replacing by guess
frame=  694 fps=344 q=16.0 size=   22016kB time=00:00:23.14 bitrate=7791.9kbits/[mp4 @ 0x55c39db53680] Invalid DTS: 682682 PTS: 681681 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 686686 PTS: 685685 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 690690 PTS: 689689 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 694694 PTS: 693693 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 698698 PTS: 697697 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 702702 PTS: 701701 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 706706 PTS: 705705 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 710710 PTS: 709709 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 714714 PTS: 713713 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 718718 PTS: 717717 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 722722 PTS: 721721 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 726726 PTS: 725725 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 730730 PTS: 729729 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 734734 PTS: 733733 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 738738 PTS: 737737 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 742742 PTS: 741741 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 746746 PTS: 745745 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 750750 PTS: 749749 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 754754 PTS: 753753 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 758758 PTS: 757757 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 762762 PTS: 761761 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 766766 PTS: 765765 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 770770 PTS: 769769 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 774774 PTS: 773773 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 778778 PTS: 777777 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 782782 PTS: 781781 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 786786 PTS: 785785 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 790790 PTS: 789789 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 794794 PTS: 793793 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 798798 PTS: 797797 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 802802 PTS: 801801 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 806806 PTS: 805805 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 810810 PTS: 809809 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 814814 PTS: 813813 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 818818 PTS: 817817 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 822822 PTS: 821821 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 826826 PTS: 825825 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 830830 PTS: 829829 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 834834 PTS: 833833 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 838838 PTS: 837837 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 842842 PTS: 841841 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 846846 PTS: 845845 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 850850 PTS: 849849 in output stream 0:0, replacing by guess
frame=  866 fps=344 q=22.0 size=   27648kB time=00:00:28.88 bitrate=7841.1kbits/[mp4 @ 0x55c39db53680] Invalid DTS: 854854 PTS: 853853 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 858858 PTS: 857857 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 862862 PTS: 861861 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 866866 PTS: 865865 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 870870 PTS: 869869 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 874874 PTS: 873873 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 878878 PTS: 877877 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 882882 PTS: 881881 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 886886 PTS: 885885 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 890890 PTS: 889889 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 894894 PTS: 893893 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 898898 PTS: 897897 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 902902 PTS: 901901 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 906906 PTS: 905905 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 910910 PTS: 909909 in output stream 0:0, replacing by guess
[mp4 @ 0x55c39db53680] Invalid DTS: 914914 PTS: 913913 in output stream 0:0, replacing by guess
frame=  918 fps=341 q=14.0 Lsize=   29849kB time=00:00:30.56 bitrate=8000.4kbits/s dup=18 drop=0 speed=11.3x    
video:29339kB audio:470kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.132741%
b

comment:8 Changed 4 weeks ago by Balling

  • Resolution changed from duplicate to fixed

comment:10 Changed 4 weeks ago by cehoyos

  • Resolution changed from fixed to duplicate
Note: See TracTickets for help on using tickets.