Log in

View Full Version : Fixing broken ts file


kelman3
12th September 2006, 22:24
Hi,
I have a ts file that I can't play for some reason. I get the audio but a gray screen for the video. Then VLC crashes after 10 secs.

Maybe one of you can take a look at it.
http://www.sendspace.com/file/yrhkap

oddball
13th September 2006, 00:18
AVIDemux is the only tool I have found that fixes some file I have. I tried MPEG2Repair, HDTV2MPEG, TSReader and none worked except AVIDemux. The only prob I seem to have is audio sync goes way out and I have to set the delay about -600ms in AVIDemux then save with direct stream copy.

kelman3
14th September 2006, 00:31
I'm on a mac and for some reason, the mac version of the avidemux gui is really hard to install. What kind of program is avi demux? If I know that maybe I can find another equivalent program for mac.

halsboss
14th September 2006, 14:57
http://forum.doom9.org/showthread.php?p=799785#post799785

PVAStrumento 2.1.0.15 - I've found this recommended all over the place... fixing dud streams, demuxing multiple embedded audio, auto re-syncing streams, detecting/fixing scrambled packets, etc... it outputs mpv,ac3,mp2 files... (remember to rename the .TP into a .TS before running PVAStrumento or it won't work properly) http://www.offeryn.de/dv.htm

Schmendrick
14th September 2006, 18:45
@kelman3: The ts-file you have seems to be a recording using MBAFF which vlc can't handle. If you have a proper AVC/H.264-decoder installed like Cyberlinks H.264-decoder which is included in PowerDVD7, Elecards H.264-decoder or CoreAVCs-H.264-decoder you don't have a problem with playback. Provided your processor is powerful enough you will have a flawless playback.

There is nothing to correct or fix within this ts-file it is an error-free AVC/H.264-video-AC3-audio-file muxed within a ts-container as it appears to me.

crypto
14th September 2006, 19:13
There is not a single stream error in that file. Nothing to fix though. Video is H.264. I doubt that any of the tools mentioned can handle that file.

kelman3
18th September 2006, 00:20
I googled MBAFF and found out there's MBAFF VLC (http://downloads.videolan.org/pub/videolan/testing/freehd/). Here's the thread for it http://forum.videolan.org/viewtopic.php?t=20530

I can see the images now but I can't play the stream. It's frozen on the first frame. Even people with fast computers had this problem. I think one of you can better understand the problem than I can from reading that thread.

I know my computer is too slow to play HD flawlessly but normally I can play other TS files with just a little bit of frame skip. And it seems there are no commercial decoders for mac so I'll have to wait until I can get that dream machine I guess.

Schmendrick
18th September 2006, 09:23
@ kelman3: The thread you have given is not technical and quite clear that vlc so far is unable to properly display H.264-clips which are MBAFF interlaced. If on the mac you cannot use one of the above mentioned decoders how about Quicktime Version 7? Apple advertises that it is able to playback H.264 content?!

kelman3
25th September 2006, 06:15
I have the full version of quicktime 7 and it won't play the file. I haven't seen any extra decoders available since quicktime is supposed to have H.264 decoding capabilty. It does this with mixed results on slower and even faster machines for normal MP4 files. I just think MBAFF decoding has been excluded from most free h264 decoders.