Tell if what I am trying to do is possible with MCEBUDDY
I would like to perform post processing on the recordings, the move over to Plex. Here is what I would like to accomplish.
Maintain the subtitles/CC from IPTV like pluto(xVTT). Recording was made with channels DVR
Convert to H.265 and MKV or other container
Using comskip/comcut to remove commercials during the post processing, using the EDL file generated by channels DVR
use GPU hardware acceleration
All this works great except I can’t seem to get MCEBUDDY to extract these types of subtitles and embed back in the converted file. I have a power shell that can do it, it dumps a bin file using ffmpeg, the python to parse out the uncut SRT.
It seems that ccextractor will not find or extract this subtitle type.
Anyone doing this? Do you need pre and post processing scripts?
This will output the text only:
ffmpeg -i “YourFile.mpg” -map 0:2 -c copy -f data “output.xvtt”
So -map 0:2 -c copy -f data is extracting only the payload text. The timestamps are being carried separately in the MPEG-TS/xVTT packet structure and aren’t part of the extracted bin_data payload.
Then I ran out out tokens and have to wait. But it says it can:
I can work out the packet structure and give you a script that:
Reads the xVTT data stream.
Reads the corresponding MPEG-TS PTS timestamps.
Associates each caption with its timestamp.
Generates a normal .vtt file.
Produces something Plex/MCEBuddy can use.
The important discovery here is that the caption text is definitely present and recoverable. We just need to preserve/reconstruct the timing rather than using -f data alone.
Update: I have abandon this strategy. Just too complicated. Instead I focus on using MCEBUDDY to transcode, remove commericals with EDL file, put into proper folder/filename for plex.
Then I am using bazarr to download SRT and sync with the audio. You must also use radarr and sonarr but it works really well when you get it running. And a VIP subscription to opensubtitles.com for $20/year.