VideoHelp Forum
+ Reply to Thread
Results 1 to 9 of 9
Thread
  1. Hello,

    I have a lot of DVB-S recordings made from satellite on an old Xoro 9000 box. The recordings are composed of several 1GB .ts files and I am using TSDoctor to combine them in to one .ts file.

    I have come across one example where in the re-combined .ts file the audio and video are fine but the subtitles are out of sync. TSDoctor didn't mention or report any errors. What are my options to fix these out of sync subtitles? I don't think I can do anything else in TSDoctor?

    Ideally I could avoid re-encoding the .ts file but interested to hear what the options are.

    Any help much appreciated.

    Flex
    Last edited by flexmcmurphy; 28th Sep 2024 at 07:24. Reason: Updating comment
    Quote Quote  
  2. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Once you combined into .ts files into one piece, it could be helpful to use mkvtoolnix GUI to create an mkv from it.
    If it seems good, work with that.
    You have to analyze the subs and figure out if they get progressivly worse, or whether it's'
    a similar amout off all the way through.
    You can use SubtitleEdit and it's synchronize tools to adjust them in a variety of ways
    Quote Quote  
  3. Thanks. Is it possible to just fix the dvb subtitles stream and re-insert maybe the .srt file back in to the .ts file without having to re-encode?
    I used Subtitles Edit to fix the offset of the subtitles. Can I use TSDoctor to add them back to the .ts file and not re-encode?

    Flex
    Quote Quote  
  4. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    I'm not familiar with TSdoctor. MKtoolnix does not re-encode, just re-wraps the streams to an mkv
    Quote Quote  
  5. Captures & Restoration lollo's Avatar
    Join Date
    Jul 2018
    Location
    Italy
    Search Comp PM
    Originally Posted by davexnet View Post
    I'm not familiar with TSdoctor. MKtoolnix does not re-encode, just re-wraps the streams to an mkv
    Can you explain why a remux from a transport stream to mkv should fix a potential asynch in subtitle stream? A transport stream is the "native" container of the dvb-s/dvb-t flows, including PTS (Presentation Time Stamps) and so on
    Quote Quote  
  6. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Originally Posted by lollo View Post
    Originally Posted by davexnet View Post
    I'm not familiar with TSdoctor. MKtoolnix does not re-encode, just re-wraps the streams to an mkv
    Can you explain why a remux from a transport stream to mkv should fix a potential asynch in subtitle stream? A transport stream is the "native" container of the dvb-s/dvb-t flows, including PTS (Presentation Time Stamps) and so on
    I must admit, I don't know the technical details, but I've seen many times in the past it fixes problems
    related to the timestamps and simlar.
    Not a big deal to try it.
    But as you say regarding the native subtitles - perhaps persisting with one the TS tools makes more sense
    Quote Quote  
  7. @davexnet
    Thanks for the help. Using TSDoctor I extracted the subtitles to a .srt file. I then used "Subtitle Edit" to fix the timing of the subtitles. They were all correct relative to one another just they were starting too early so out of sync with the audio.

    I was then able to use MKVtoolnix to re-encode the .ts file with the corrected subtitles as a .mkv.

    But I am unable to leave it at that! I want to add these corrected subtitles as a stream back in to my .ts file.

    I used "Subtitle Edit" to export the subtitles with corrected timings out to VobSub format.

    I now want to ADD this as another subtitle stream to my .ts file without re-encoding it. This can be done with ffmpeg and so far this is what I have got but need help understanding the command and fixing it:

    Code:
    ffmpeg -i "V808.ts" -i "V808.[2357](41001ms).idx" -map 0:0 -map 0:1 -map 1:0 -c:v copy -c:a copy -c:s dvbsub -metadata:s:s:0 language=eng OUTPUT.ts
    But it replaces the existing narrator and (out of sync) subtitle streams. How do I keep those and just add another subtitle stream?

    Can someone confirm does this approach NOT re-encode the stream? I do to want that to happen if possible.

    Any other approaches to doing this are greatly appreciated.

    Cheers,

    Flex
    Quote Quote  
  8. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    hello flexmcmurphy
    Does the .ts contain the native subs you want to maintain?
    Isn't a case of just adding another -map command to select them ?
    Quote Quote  
  9. Member
    Join Date
    Mar 2021
    Location
    Israel
    Search Comp PM
    Originally Posted by flexmcmurphy View Post
    Hello,

    I have a lot of DVB-S recordings made from satellite on an old Xoro 9000 box. The recordings are composed of several 1GB .ts files and I am using TSDoctor to combine them in to one .ts file.

    I have come across one example where in the re-combined .ts file the audio and video are fine but the subtitles are out of sync. TSDoctor didn't mention or report any errors. What are my options to fix these out of sync subtitles? I don't think I can do anything else in TSDoctor?

    Ideally I could avoid re-encoding the .ts file but interested to hear what the options are.

    Any help much appreciated.


    Flex
    From my experience with TS Doctor, I get perfect subtitles synchronization if I don't tamper with the commercials.

    Did you "clean" the individual 1GB TS files from commercials to start with?
    If you still have the original TS files, then combine them in TS Doctor and ONLY then get rid of the commercials and extract the subtitles file from the cleaned file.
    Before doing this, try to keep the commercials and extract the subtitles and see if they are still out of sync.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!