[FFmpeg-user] Issue affecting ffmpeg and youtube-dl

Paul B Mahol onemda at gmail.com
Tue Apr 13 19:47:14 EEST 2021


Please try setts bitstream filter.

It is specifically designed for such videos.

Actually I tested setts bitstream filter with broken youtube files.

On Tue, Apr 13, 2021 at 12:18 AM Carl Eugen Hoyos <ceffmpeg at gmail.com>
wrote:

> Am Mo., 12. Apr. 2021 um 23:46 Uhr schrieb JD <mechalincoln at gmail.com>:
> >
> > Noted.
> >
> > >While there, please find out what top-posting means and avoid it here.
> >
> > Here is the output:
> >
> > Y:\youtube-dl>ffmpeg -y -loglevel "repeat+info" -i "file:deltron -
> > Videos\LIGHTSKINJOHN - only - MakTbhIZ5zo.f302.webm" -i "file:deltron -
> > Videos\LIGHTSKINJOHN - only - MakTbhIZ5zo.f251.webm" -c copy -map "0:v:0"
> > -map "1:a:0" "file:deltron - Videos\LIGHTSKINJOHN - only -
> > MakTbhIZ5zo.temp.webm"
> > ffmpeg version 2021-02-16-git-8331eb058d-full_build-www.gyan.dev
> Copyright
> > (c) 2000-2021 the FFmpeg developers
> >   built with gcc 10.2.0 (Rev6, Built by MSYS2 project)
> >   configuration: --enable-gpl --enable-version3 --enable-static
> > --disable-w32threads --disable-autodetect --enable-fontconfig
> > --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp
> --enable-lzma
> > --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh
> > --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca
> > --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e
> > --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265
> > --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx
> > --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi
> > --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf
> > --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec
> > --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx
> > --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio
> > --enable-libgme --enable-libmodplug --enable-libopenmpt
> > --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine
> > --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc
> > --enable-libilbc --enable-libgsm --enable-libopencore-amrnb
> > --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa
> > --enable-libbs2b --enable-libflite --enable-libmysofa
> > --enable-librubberband --enable-libsoxr --enable-chromaprint
> >   libavutil      56. 65.100 / 56. 65.100
> >   libavcodec     58.123.100 / 58.123.100
> >   libavformat    58. 67.100 / 58. 67.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
> > Input #0, matroska,webm, from 'file:deltron - Videos\LIGHTSKINJOHN -
> only -
> > MakTbhIZ5zo.f302.webm':
> >   Metadata:
> >     encoder         : google/video-file
> >     http://youtube.com/streaming/otf/durations/112015: Segment-Count: 17
> >                     : Segment-Durations-Ms:
> >
> 5339,5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),901,
> >                     :
> >                     :
> >   Duration: N/A, start: 0.000000, bitrate: N/A
> >   Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv,
> > bt709/unknown/unknown), 1280x720, SAR 1:1 DAR 16:9, 59.94 fps, 59.94 tbr,
> > 1k tbn, 1k tbc (default)
> > Input #1, matroska,webm, from 'file:deltron - Videos\LIGHTSKINJOHN -
> only -
> > MakTbhIZ5zo.f251.webm':
> >   Metadata:
> >     encoder         : google/video-file
> >   Duration: 00:01:26.40, start: -0.007000, bitrate: 141 kb/s
> >   Stream #1:0(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
> > Output #0, webm, to 'file:deltron - Videos\LIGHTSKINJOHN - only -
> > MakTbhIZ5zo.temp.webm':
> >   Metadata:
> >     http://youtube.com/streaming/otf/durations/112015: Segment-Count: 17
> >                     : Segment-Durations-Ms:
> >
> 5339,5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),901,
> >                     :
> >                     :
> >     encoder         : Lavf58.67.100
> >   Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv,
> > bt709/unknown/unknown), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 59.94 fps,
> > 59.94 tbr, 1k tbn, 1k tbc (default)
> >   Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
> > Stream mapping:
> >   Stream #0:0 -> #0:0 (copy)
> >   Stream #1:0 -> #0:1 (copy)
> > Press [q] to stop, [?] for help
> > [webm @ 000002372e6c47c0] Application provided invalid, non monotonically
> > increasing dts to muxer in stream 0: 5355 >= 5339
> > av_interleaved_write_frame(): Invalid argument
> > frame=  323 fps=0.0 q=-1.0 Lsize=     906kB time=00:00:05.36
> > bitrate=1384.3kbits/s speed=61.2x
> > video:825kB audio:89kB subtitle:0kB other streams:0kB global headers:0kB
> > muxing overhead: unknown
> > Conversion failed!
>
> I can reproduce the issue with the following command:
> $ ffmpeg -i LIGHTSKINJOHN\ -\ only-MakTbhIZ5zo.f302.webm -c copy out.webm
>
> The issue is not reproducible with "-ss 6", I don't know if the issue
> is in the original
> YT source, in the way it is downloaded or in FFmpeg.
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list