[FFmpeg-trac] #9130(undetermined:new): new "Invalid DTS" reporting issue ?

FFmpeg trac at avcodec.org
Sat Feb 27 08:52:41 EET 2021


#9130: new "Invalid DTS" reporting issue ?
-------------------------------------+-------------------------------------
             Reporter:  hydra3333    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:  DTS          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 Hello.
 I see some new issue has likely been introduced in recent commits ?
 It now occurs on multiple input files.

 Can you please advise ?

 With git head 2021.02.27 "git-2021-02-27-f9cb557", I am now getting lots
 and lots of this type of message:

 [mp4 @ 000002291724f040] Invalid DTS: 1122816 PTS: 1122304 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1123328 PTS: 1122816 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1124352 PTS: 1123840 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1124864 PTS: 1124352 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1125376 PTS: 1124864 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1126400 PTS: 1125888 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1126912 PTS: 1126400 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1127424 PTS: 1126912 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1128448 PTS: 1127936 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1128960 PTS: 1128448 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1129472 PTS: 1128960 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1130496 PTS: 1129984 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1131008 PTS: 1130496 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1131520 PTS: 1131008 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1133056 PTS: 1132544 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1133568 PTS: 1133056 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1134080 PTS: 1133568 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1135104 PTS: 1134592 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1135616 PTS: 1135104 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1136128 PTS: 1135616 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1137152 PTS: 1136640 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1137664 PTS: 1137152 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1138176 PTS: 1137664 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1139200 PTS: 1138688 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1139712 PTS: 1139200 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1140224 PTS: 1139712 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1141248 PTS: 1140736 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1141760 PTS: 1141248 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1142272 PTS: 1141760 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1143296 PTS: 1142784 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1143808 PTS: 1143296 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1144320 PTS: 1143808 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1145856 PTS: 1145344 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1146368 PTS: 1145856 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1146880 PTS: 1146368 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1147904 PTS: 1147392 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1148416 PTS: 1147904 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1148928 PTS: 1148416 in output
 stream 0:0, replacing by guess
 [mp4 @ 000002291724f040] Invalid DTS: 1149952 PTS: 1149440 in output
 stream 0:0, replacing by guess

 ffmpeg version
 git-2021-02-27-f9cb557-Hydra3333/python_cross_compile_script_v100/3333
 Copyright (c) 2000-2021 the FFmpeg developers
   built with gcc 10.1.0 (GCC)
   configuration:
 --prefix=/home/u/Desktop/_working/workdir/win64_output/ffmpeg_git_3333.installed
 --disable-shared --enable-static --arch=x86_64 --target-os=mingw64
 --cross-prefix=x86_64-w64-mingw32- --pkg-config=pkg-config --pkg-config-
 flags=--static --disable-shared --enable-static --disable-w32threads
 --enable-pthreads --enable-cross-compile --target-exec=wine --enable-
 runtime-cpudetect --enable-gpl --enable-version3 --extra-
 version=Hydra3333/python_cross_compile_script_v100/3333 --enable-pic
 --enable-bzlib --enable-zlib --enable-lzma --disable-fontconfig --disable-
 libfontconfig --disable-libfreetype --disable-libfribidi --disable-
 libbluray --disable-libcdio --enable-avisynth --enable-vapoursynth
 --disable-librtmp --disable-libcaca --enable-iconv --enable-libxml2
 --enable-gmp --enable-gnutls --enable-libzimg --enable-libx264 --enable-
 libx265 --enable-libvpx --enable-libdav1d --disable-libaom --enable-
 libxvid --enable-gray --enable-libopus --enable-libmp3lame --enable-
 libvorbis --enable-libtheora --enable-libspeex --enable-libsoxr --enable-
 librubberband --disable-libass --enable-libwebp --enable-ffnvcodec
 --enable-cuvid --enable-cuda-llvm --disable-opengl --enable-d3d11va
 --enable-nvenc --enable-nvdec --enable-dxva2 --disable-libmfx --disable-
 amf --disable-opencl --extra-libs='-lpsapi -lintl -liconv -lssp' --enable-
 nonfree --enable-libfdk-aac --disable-decklink --enable-libtwolame
 --enable-libzvbi --enable-libgsm --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-libvo-amrwbenc --enable-libsnappy --disable-
 frei0r --enable-libsrt --enable-libbs2b --enable-libilbc --disable-libgme
 --disable-libflite --enable-sdl2 --enable-libopenmpt --enable-libmysofa
 --enable-libvidstab --disable-libmodplug --disable-schannel --extra-
 cflags=-DLIBTWOLAME_STATIC --extra-cflags=-DMODPLUG_STATIC --extra-
 cflags=-DLIBXML_STATIC --extra-cflags=-DGLIB_STATIC_COMPILATION
 --prefix=/home/u/Desktop/_working/workdir/win64_output/ffmpeg_git_3333.installed
 --disable-shared --enable-static
   libavutil      56. 66.100 / 56. 66.100
   libavcodec     58.125.101 / 58.125.101
   libavformat    58. 68.100 / 58. 68.100
   libavdevice    58. 12.100 / 58. 12.100
   libavfilter     7.107.100 /  7.107.100
   libswscale      5.  8.100 /  5.  8.100
   libswresample   3.  8.100 /  3.  8.100
   libpostproc    55.  8.100 / 55.  8.100

 It now occurs on multiple input files.

 Whereas an ffmpeg built not long ago "git-2021-02-05-cba716f" and all
 versions prior yield none of those errors, eg

 ffmpeg version git-2021-02-05-cba716f-
 Hydra3333/python_cross_compile_script_v100/3333 Copyright (c) 2000-2021
 the FFmpeg developers
   built with gcc 10.1.0 (GCC)
   configuration:
 --prefix=/home/u/Desktop/_working/workdir/win64_output/ffmpeg_git_3333.installed
 --disable-shared --enable-static --arch=x86_64 --target-os=mingw64
 --cross-prefix=x86_64-w64-mingw32- --pkg-config=pkg-config --pkg-config-
 flags=--static --disable-shared --enable-static --disable-w32threads
 --enable-pthreads --enable-cross-compile --target-exec=wine --enable-
 runtime-cpudetect --enable-gpl --enable-version3 --extra-
 version=Hydra3333/python_cross_compile_script_v100/3333 --enable-pic
 --enable-bzlib --enable-zlib --enable-lzma --disable-fontconfig --disable-
 libfontconfig --disable-libfreetype --disable-libfribidi --disable-
 libbluray --disable-libcdio --enable-avisynth --enable-vapoursynth
 --disable-librtmp --disable-libcaca --enable-iconv --enable-libxml2
 --enable-gmp --enable-gnutls --enable-libzimg --enable-libx264 --enable-
 libx265 --enable-libvpx --enable-libdav1d --enable-libaom --enable-libxvid
 --enable-gray --enable-libopus --enable-libmp3lame --enable-libvorbis
 --enable-libtheora --enable-libspeex --enable-libsoxr --enable-
 librubberband --disable-libass --enable-libwebp --enable-ffnvcodec
 --enable-cuvid --enable-cuda-llvm --disable-opengl --enable-d3d11va
 --enable-nvenc --enable-nvdec --enable-dxva2 --disable-libmfx --disable-
 amf --disable-opencl --extra-libs='-lpsapi -lintl -liconv -lssp' --enable-
 nonfree --enable-libfdk-aac --disable-decklink --enable-libtwolame
 --enable-libzvbi --enable-libgsm --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-libvo-amrwbenc --enable-libsnappy --disable-
 frei0r --enable-libsrt --enable-libbs2b --enable-libilbc --disable-libgme
 --disable-libflite --enable-sdl2 --enable-libopenmpt --enable-libmysofa
 --enable-libvidstab --disable-libmodplug --disable-schannel --extra-
 cflags=-DLIBTWOLAME_STATIC --extra-cflags=-DMODPLUG_STATIC --extra-
 cflags=-DLIBXML_STATIC --extra-cflags=-DGLIB_STATIC_COMPILATION
 --prefix=/home/u/Desktop/_working/workdir/win64_output/ffmpeg_git_3333.installed
 --disable-shared --enable-static
   libavutil      56. 64.100 / 56. 64.100
   libavcodec     58.120.100 / 58.120.100
   libavformat    58. 66.100 / 58. 66.100
   libavdevice    58. 11.103 / 58. 11.103
   libavfilter     7.102.100 /  7.102.100
   libswscale      5.  8.100 /  5.  8.100
   libswresample   3.  8.100 /  3.  8.100
   libpostproc    55.  8.100 / 55.  8.100

 How to reproduce:
 {{{
 % ffmpeg -i input ... output
 "C:\SOFTWARE\Vapoursynth-x64\ffmpeg.exe" -hide_banner -v verbose -nostats
 -f vapoursynth -i "D:\VRDTVSP-SCRATCH\some_file.2021-02-05.QSF.vpy"
 -probesize 120M -analyzeduration 120M  -i "D:\VRDTVSP-
 SCRATCH\some_file.2021-02-05.QSF.mpg" -map 0:v:0 -map 1:a:0 -vf
 "setdar=16/9" -vsync 0 -sws_flags
 lanczos+accurate_rnd+full_chroma_int+full_chroma_inp -strict experimental
 -c:v h264_nvenc -pix_fmt nv12 -preset p7 -multipass fullres -forced-idr 1
 -g 25 -spatial-aq 1 -temporal-aq 1 -refs 3 -rc:v vbr -cq:v 0 -b:v 2000000
 -minrate:v 100000 -maxrate:v 4000000 -bufsize 4000000 -profile:v high
 -level 5.2 -movflags +faststart+write_colr -af "adelay=delays=9ms:all=1"
 -c:a libfdk_aac -cutoff 20000 -ab 256k -ar 48000  -y "G:\HDTV\000-TO-BE-
 PROCESSED\zzz-TEST\VRDTVSP-Converted\some_file.2021-02-05.mp4"


 built on ... latest git head 2021.02.27
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/9130>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list