I am recording from an HDHomeRun Prime with Cablecard using Windows Media Center. I am using the paid for comskip for commercial detection (seems to work just about spot on). However, the subtitle file is pretty much always out of sync. I have played with the subtitle offset settings many times, thought I got it right with a test file, but subsequent recordings are not correct. Its like the offset needs to be different for each recording.
So, my thought is to do the following:
Identify commercial segments
Convert full length video into MP4 while burning subtitles
Cut MP4 commercials out
This should result in having the subtitles burned in before cutting the video, so they should not be out of sync ever. Thoughts? How would I set it up to make this happen?
I have tried those techniques… what works for one recording, doesn’t work for the next. Hence I am hoping to use the built in ability to run commands at the very beginning to do what I want. Its a matter of what command do I need to run to make this happen. I am familiar with all you referenced.
Hi there. I realized this is an old thread but I have also been struggling with the closed captions being in sync only after commercial cuts have been done. I have searched the internet for help and there are a couple of threads talking about it. This is one of them.
I’m not sure but I’m betting everyone is encoding into MP4 while doing the commercial cuts. That’s what i was doing and I tried adjusting the subtitles with the settings but it seems like, different shows and different movies behave differently. Sometimes being progressive, sometimes being just a couple seconds for the whole show, sometimes its like 20-30 seconds off.
I need my subtitles. I don’t read them all the time but sometimes I can’t understand what people are saying and want to see what they said.
The solution or workaround if you will, is to do the Comskip, and leave the Conversion profile to TS Unprocessed. Not sure why, but the Subtitles do not go out of sync this way. Then have your files placed into a temp folder. Where you can later convert them to mp4, as another task.
I use Plex and I just set it to watch my Temp Folder and my TV Shows folder so that way as soon as the commercials are cut I can watch the show and the show will still be there after it gets converted someday later.
Some additional info is that the Comskip and saving to temp folder only takes between 5-15 mins. My mp4 conversions with Comskip were taking 30-120 mins. So your shows are available with no commercials a lot quicker. If you want to watch them the same day you record them this is the way to go.
One additional piece of information if anyone is interested in fixing their mp4 files that already have been converted. I tried a bunch of subtitle fixing apps and most work but take are hard to use when the subs are out of sync by different amounts at different parts of the movie or show.
I found this amazing piece of software called SubSync or Subtitle Speech Synchronizer. It uses the subtitle track and the audio track from the movie or show and uses voice recognition to sync up the 2 tracks. All the MP4’s that I had cut commercials out of were auto synced its like magic takes between 2-5 mins. The only files it couldn’t sync correctly are the ones I tried to fix with other subtitle adjusting programs first then tried to run them through the subsync.
You could accomplish the same results as @machyy1 without burning the subtitles, only set PreConversionCommercialRemover=false in your profile.
Now it will cut the commercials after converting which should keep your subtitles in sync.
(cutting commercials before conversion leads to faster conversions but has a side effect that some recordings, depending on the I frames/GOP boundaries, could have subtitles go out of sync)