This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[BUG] Crash when encoding Nvenc h264
#3
Seems to occur only when h.264 and the time codes are used.
When telling Hybrid to ignore the time codes, it works fine.
(Telling Hybrid to take the stream and not the container frame rate also seems to work. This will also tell Hybrid to ignore the time codes.)
Culprit seems to be either MP4Box or mp4fpsmod. (switched the encoder to x264 and got the same problem)

MP4Box has no problem with: "G:\Output\2025-02-26@14_59_13_9910__06_mp4Temp.mp4" (output of the encoding)
After adding the time codes with mp4fpsmod:
mp4fpsmod -t "G:\Output\timecodeV2_2025-02-26@14_59_13_9910.tc" -x "G:\Output\2025-02-26@14_59_13_9910__06_mp4Temp.mp4" -o "G:\Output\2025-02-26@14_59_13_9910__07_withTimeCodes_0.mp4"
Mp4Box reports:
F:\Hybrid\64bit>MP4Box.exe -info g:\Output\2025-02-26@14_59_13_9910__07_withTimeCodes_0.mp4
[isom] not enough bytes in box colr: 6 left, reading 7 (file F:/media-autobuild_suite/build/gpac-git/src/isomedia/iff.c, line 226) - try specifying -no-check (might crash)
[iso file] Read Box "colr" (start 621) failed (Invalid IsoMedia File) - skipping
[iso file] Read Box "avc1" (start 467) failed (Invalid IsoMedia File) - skipping
[iso file] Read Box "stsd" (start 451) failed (Invalid IsoMedia File) - skipping
[iso file] Read Box "stbl" (start 443) failed (Invalid IsoMedia File) - skipping
[iso file] Read Box "minf" (start 379) failed (Invalid IsoMedia File) - skipping
[iso file] Read Box "mdia" (start 264) failed (Invalid IsoMedia File) - skipping
[iso file] Read Box "trak" (start 164) failed (Invalid IsoMedia File) - skipping
[iso file] Read Box "moov" (start 24) failed (Invalid IsoMedia File) - skipping
Error opening file g:\Output\2025-02-26@14_59_13_9910__07_withTimeCodes_0.mp4: Invalid IsoMedia File
Switching to ffmpeg instead of MP4Box for the muxing also works.
(So as a workaround you can enable 'Config->Containers->MP4->FFmpeg instead of MP4Box', before creating the jobs.)

Cu Selur

Ps.: created an issue entry over at: https://github.com/nu774/mp4fpsmod/issues/36
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
Crash when encoding Nvenc h264 - by Lemenus - 26.02.2025, 10:14
RE: Crash when encoding Nvenc h264 - by Selur - 26.02.2025, 12:10
RE: Crash when encoding Nvenc h264 - by Selur - 26.02.2025, 16:11
RE: Crash when encoding Nvenc h264 - by Selur - 26.02.2025, 17:30
RE: Crash when encoding Nvenc h264 - by Selur - 27.02.2025, 13:14

Forum Jump:


Users browsing this thread: 1 Guest(s)