[BUG] Hybrid fails to extract tx3g subtitles from a mp4 container - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: [BUG] Hybrid fails to extract tx3g subtitles from a mp4 container (/thread-1657.html) Pages:
1
2
|
Hybrid fails to extract tx3g subtitles from a mp4 container - Dan64 - 28.12.2020 I have a mp4 file with 3 subtitles. I attached to this post the file HybridDebugOutput.txt and the ouput of mediainfo. Looking at the debug output it is possible to see at row 3235 that the first subtitle is recognized as "tx3g" and is extracted correctly. But at row 3552 it is possible to see that Hybrid fails to extract the second subtitle, I also have some doubt that the subtitle has been recognized as "tx3g" so is not clear to me what command is using Hybrid to extract the second subtitle. RE: Hybrid fails to extract tx3g subtitles from a mp4 container - Selur - 28.12.2020 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" 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 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 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 RE: Hybrid fails to extract tx3g subtitles from a mp4 container - Dan64 - 28.12.2020 I disabled the Microsoft antivirus, but the problem is still showing. The first subtitle get extracted even if the dialog error box shows that Hybrid failed to extract the subtitle. The Hybrid GUI remain "frozen" and I have to kill the application, in this situation all the remaining subtitles are not extracted. Then I tried to perform the following test: 1) I used "My MP4Box GUI" to extract the subtitles (see attached image) 2) I used MKVtoolnix GUI to convert the mp4 container in mkv. For some reason also this tool is unable to get the subtitles (but this is an old problem), so I had to add the subtitles extracted previously with "My MP4Box GUI" 3) I used Hybrid to encode the movie and in this case the subtitles get extracted correctly and the encoding completed successfully. So it seems that the problem is related only to mp4 containers. RE: Hybrid fails to extract tx3g subtitles from a mp4 container - Selur - 28.12.2020 Quote:So it seems that the problem is related only to mp4 containers.no surprise there,.. Can't reproduce the issue with test files I have. So the question remains: Quote:Do you get an error when calling that call in a Windows Command Prompt? If you have a small sample which allows me to reproduce the issue I can look into it. Cu Selur RE: Hybrid fails to extract tx3g subtitles from a mp4 container - Dan64 - 28.12.2020 It is better that you try to reproduce the problem. You can find a sample of movie at the following link (*) https://file.re/2020/12/28/x-files-08x01001/ Thanks (*) The link will expiry at December 29, 2020, at 09:49 PM (CET) - Local time: 21:59 PM (CET) RE: Hybrid fails to extract tx3g subtitles from a mp4 container - Selur - 28.12.2020 Got the file. Will look at it tomorrow. (on my way to bed now) Cu Selur RE: Hybrid fails to extract tx3g subtitles from a mp4 container - Selur - 29.12.2020 I can reproduce the issue. Will look into it. One problem: looking at the file in a MPC-HC I see no subtitles for the first subtitle track. Analyzing the file with MP4Box: * Movie Info * Calling: MP4Box.exe c:\Users\Selur\Desktop\x-files-08x01001.mp4 -srt 4 -out "e:\Output\test.srt" -> I'll look into Hybrid not freezing on extraction, but if the output is empty Hybrid will complain. Cu Selur RE: Hybrid fails to extract tx3g subtitles from a mp4 container - Selur - 29.12.2020 Found the cause of the problem. Hybrid calls MP4Box with "X-Files 08x01_lang_it.srt" but expects the output to be names "X-Files 08x01_lang_it_4_text.srt" -> fixing it RE: Hybrid fails to extract tx3g subtitles from a mp4 container - Selur - 29.12.2020 Send you a link to a dev version via PM which should fix the issue. -> please test and report back, thx. Cu Selur RE: Hybrid fails to extract tx3g subtitles from a mp4 container - Dan64 - 29.12.2020 Sent you PM with my feedback. |