Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link |
|
Registered User
Join Date: Sep 2023
Posts: 27
|
Repairing damaged TS files
I am trying to process a TS file using AviSynth, but the audio goes out of sync due to some slight corruption of the file.
To attempt repairs, here's what I've tried, thus far: (1) Running the TS file through TS-Doctor, which reports several errors. After attempting to fix these errors with TS-Doctor, I then tried converting the container from TS to MP4 with ffmpeg, but that fails with "Packet corrupt ...Error parsing ADTS frame header", so it seems TS-Doctor couldn't straighten out all the issues. (2) Running the TS file through tsMuxer and then ffmpeg before running the result through AviSynth. By doing this, I can get ffmpeg to complete without errors, though it complains about "non-monotonic DTS". But again, when I mux the audio and video back together, the audio goes out of sync. It is of course possible I'm just doing these steps wrong, but are there other approaches, or a guide somewhere for doing this? Thanks in advance! Last edited by frobber; 18th January 2026 at 01:49. |
|
|
|
![]() |
| Tags |
| ffmpeg |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|