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] Hybrid fails to extract tx3g subtitles from a mp4 container
#2
Hybrid uses:
"D:/Programs/Hybrid\64bit\MP4Box.exe" "E:\TVshows\X-Files\X-Files 08x01.mp4" -srt 4 -out "E:\TVshows\X-Files\X-Files 08x01_lang_it.srt"
which should extract the subtitle track with id 4 as srt file. Which should be correct according to https://github.com/gpac/gpac/wiki/Subtitling-with-GPAC (4.)

Do you get an error when calling that call in a Windows Command Prompt?

What confuses me is that you wrote that the extraction of the second subtitle stream fails, but according to the log the extraction of the first stream fails.
found Subtitles: 0,it,4,3,tx3g,,Timed Text ### 1,it,5,4,tx3g,,Timed Text ### 2,en,6,5,tx3g,,Timed Text
and the error states:
2020.12.28 - 19:15:38_Windows 10 Version 1909 (64bit)_2020.12.13.1 - level 9: extractorFinished 'mp4box_subtitleExtractor' for: E:\TVshows\X-Files\X-Files 08x01_lang_it_4_text.srt
2020.12.28 - 19:15:38_Windows 10 Version 1909 (64bit)_2020.12.13.1 - level 9: Couldn't extract: E:\TVshows\X-Files\X-Files 08x01_lang_it_4_text.srt
also I see no indication that the 1st stream was extracted in the debug output.
Just checked the code Hybrid checked whether the expected output file (E:\TVshows\X-Files\X-Files 08x01_lang_it_4_text.srt) exists after MP4Box finished.
If the file really exists, my guess would be that some virus scanner or similar is blocking the access to it for a short time (a few ms) after creation, which is why Hybrid can't access it and thus assumes it doesn't exist.
So if you are running a virus scanner or similar software make sure it does not scan the temp folder while Hybrid is working.

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


Messages In This Thread
RE: Hybrid fails to extract tx3g subtitles from a mp4 container - by Selur - 28.12.2020, 20:57

Forum Jump:


Users browsing this thread: 4 Guest(s)