Hello, i have a TS MPEG4 file that has duration 10:33, but actually it has duration 10:22. Can someone tell me how to repair that TS file so it has duration 10:33?
+ Reply to Thread
Results 1 to 17 of 17
-
-
The problem is probably: MPEG TransferStream files have no keyframe seek index. Analysis tools usually will not scan the whole file from the beginning to the end to count every GOP with a timecode, that would take quite a long time. Instead they rather rely on a header field which reports a planned average bitrate and divide the file size by it to estimate the playing time.
Remultiplex this TS file to MP4 or MKV and you will get a reliable duration. -
Oh, and i forgot to add that in some parts of that TS file there's a glitch thing that skips frames or seconds of the video.
-
Have you tried making an MKV from it MKVtoolnix GUI? This often helps
-
Oh, and i forgot to add that in some parts of that TS file there's a glitch thing that skips frames or seconds of the video.
(Today I learned... that the actor whose character got blown to pieces in that infamous scene almost got his balls blown off by a misplaced blood squib...) -
Okay, so i tried the TMPGEnc MPEG Smart Renderer and MKVToolnix and the original duration of the video was retained, but the video freezes on some minutes.
-
-
try re running your file through ffmpeg using this - ffmpeg -i input -c:v copy -c:a copy output and see if it corrects
the duration. - https://superuser.com/questions/863183/how-to-fix-ffmpeg-inaccurate-time-stamp-that-co...ail-generation -
-
I tried MKVToolnix and the original duration is back, but there are still skips in seconds.
-
Well, as I already said ... if the source is Digital TV Broadcast, the reason might be signal drops. Then you lost some content.
Similar Threads
-
Something Is Wrong with My .ts File, But I Don't Know What (Interlacing?)
By koberulz in forum Newbie / General discussionsReplies: 70Last Post: 2nd Jul 2021, 10:24 -
Merging all tracks in one - Foobar file shorter duration than Audacity
By jfjfjf in forum AudioReplies: 4Last Post: 10th Feb 2020, 12:06 -
Erroneous file duration in mkv
By Travillion in forum Newbie / General discussionsReplies: 5Last Post: 23rd Sep 2018, 11:11 -
Interlaced Audio Duration Longer than Video Duration (lip-sync issue)
By senlab in forum Video ConversionReplies: 7Last Post: 27th Aug 2018, 15:36 -
.avi file 22gb big with only a 5 second duration...
By kleang in forum Video ConversionReplies: 1Last Post: 1st Oct 2017, 15:57