[FFmpeg-devel] [PATCH v7] avcodec/nvenc: write out user data unregistered SEI
Timo Rothenpieler
timo at rothenpieler.org
Tue Jun 1 15:11:08 EEST 2021
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4494 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210601/71af8a7e/attachment.bin>
More information about the ffmpeg-devel
mailing list