On 01.06.2021 12:46, Brad Hards wrote:
On Tuesday, 1 June 2021 8:01:13 PM AEST Timo Rothenpieler wrote:
No, but we're investigating weird crashes that are caused by the s12m
timecodes _somehow_, so I'm holding off on merging any other changes in
that area until it's figured out.
Do you have a repro? Obviously motivated to unblock this.

Brad

It's not related to this patch, it crashes on FFmpeg master.
Also already tested it with this patch applied, and it still crashes.
Deep in the Nvidia driver.

This sample: https://btbn.de/nvenc-segfault.mkv

And this command line:

./ffmpeg.exe -i nvenc-segfault.mkv -map v -c:v hevc_nvenc -rc-lookahead 16 
-s12m_tc 1 -y out.mp4

From what I gathered so far, this ONLY crashes if
a) ffmpeg was built with gcc. No matter if Windows or Linux. However, building it with MSVC on Windows works and does not crash. b) s12m timecode data is present in the sample. But not every sample with s12m timecodes crashes.
c) rc-lookahead is enabled

I'm very confused by this, and can't see anything obviously wrong in the FFmpeg code. But FFmpeg built with MSVC not crashing is indicating that the issue IS in ffmpeg, somehow.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to