OpenVisualCloud / SVT-VP9

SVT VP9 encoder. Scalable Video Technology (SVT) is a software-based video coding technology that is highly optimized for Intel® Xeon® processors. Using the open source SVT-VP9 encoder, it is possible to spread video encoding processing across multiple Intel® Xeon® processors to achieve a real advantage of processing efficiency.
Other
215 stars 46 forks source link

mp4 video container in svt-vp9 ffmpeg plugin bug #147

Closed Zvictoria closed 3 years ago

Zvictoria commented 3 years ago

The following bug found with svt-vp9 usage with ffmpeg (the ffmpeg_plugin patch bug): When packing any resulting (vp9 encoded) video to mp4 container some duplicate frames (from 1/3 to 1/2 of the total) show up on decoding - the video looks like it has very slow fps and moves forward not evenly but by fits and starts. The same time the same resulting video packed to mkv or webm container looks fine and has exactly the same stream inside. Looks like for some reason each 5 samples generated in mov_write_single_packet patch function are having the same dts.

To reproduce it use the following command line: ./ffmpeg -i /c/video/anytestvideo -c:v libsvt_vp9 - /c/video/outputtest.mp4 - WRONG result!

./ffmpeg -i /c/video/anytestvideo -c:v libsvt_vp9 - /c/video/outputtest.mkv - RIGHT result ./ffmpeg -i /c/video/anytestvideo -c:v libsvt_vp9 - /c/video/outputtest.webm - RIGHT result