mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[BUG] extracting dvb subs from udp doesnt work while extracting from same file works #479
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jakubvojacek on GitHub (Jan 31, 2019).
CCExtractor version: 0.87
My familiarity with the project is as follows :
Necessary information
-autoprogramVideo links
https://bit.ly/2sWLbTE
Additional information
When I try to extract the dvb subs from the file, there are no issues. But when I play the file in a loop with tsplay
tsplay fox.mp4 229.0.0.150:2000 -loop, it does not extract anything.Since it is possible to extract the subtitles from the file itself and VLC does also display them (dvb_subtitle pid 0x141f maps to program 779), shouldnt it be possible to extract them from multicast too?
Thank you
Jakub
@cfsmp3 commented on GitHub (Feb 4, 2019):
if tsplay if converting a TS into a mp4 then most likely captions are just lost in the conversion and there's no captions there at all to begin with.
Also, mp4 probably won't work at all via network because we use GPAC which expects a file if I remember correctly.
@jakubvojacek commented on GitHub (Feb 5, 2019):
@cfsmp3 Hello,
it's not an mp4. it is actually a TS file but I had to change extension since the webserver only allows downloading mp4. The tsplay preserves subtitles, just tried to run ffprobe on it
The actual problem is not with the TS file but with the multicast that I recorded the file from. Ccextractor fails to read the captions from the multicast and succeeds from the recorded file. Since I could not share the multicast, I shared the recording and tsplay option to make it multicast again - to demonstrate the from file it works and from UDP it does not.
Thank you
Jakub
@jakubvojacek commented on GitHub (May 9, 2019):
Resolved by converting MPTS to SPTS, closing, thank you