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
#1
Greetings!

- Version 2024.12.21.1
- When trying to convert with Nvenc into h264, conversion fails, while it successful with h265, error simply says that file was not created and "Filter not found for the desired type"
- Tried to reset all setting but result is the same

Video that I tried to convert is accessible via google drive link: https://drive.google.com/file/d/135TNlNJ...sp=sharing
Reply
#2
It's not the encoding that fails, but the muxing.
"C:\Program Files\Hybrid\64bit\MP4Box.exe" -add "E:\Export\2025-02-26@13_01_20_1510__06_mp4Temp.mp4" -add "C:\Users\Lemenus\AppData\Local\Temp\iId_1_aid_0_2025-02-26@13_01_20_1510_01.aac"#audio:name="":lang="" -mpeg4 -itags tool="Hybrid 2024.12.21.1" -tmp "C:\Users\Lemenus\AppData\Local\Temp" -new "E:\Export\2025-02-26@13_01_20_1510__10.mp4"
will do some testing after work.
You can try whether the latest dev works of whether the problem also happens with the dev.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#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
#4
Uploaded a new dev version which automatically enforces ffmpeg as mp4 muxer when H.264 + vfr are used.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#5
The mp4fpsmod author fixed the problem.
=> uploaded a new dev with the updated mp4fpsmod version

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)