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.

 

Go Back   Doom9's Forum > General > DVD2AVI / DGIndex

Reply
 
Thread Tools Search this Thread Display Modes
Old 11th July 2006, 17:41   #1  |  Link
Emp3r0r
Registered User
 
Emp3r0r's Avatar
 
Join Date: Oct 2001
Location: Alabama, USA
Posts: 769
Finding Glitches in TS

Is there any tool that can analyze a transport stream and find glitches or missing frames in them?

I was recently trying to sync a hd capture with a DVD soundtrack and it took hours of work to track down the frame ranges of the glitches by comparing with the original frames of the DVD.

Ultimately, it would have been nice if DgIndex just returned black frames in these glitchy or missing segments.

Any suggestions?
__________________
ChapterGrabber - add names to your chapters | AtomSite - open source AtomPub server
Emp3r0r is offline   Reply With Quote
Old 11th July 2006, 18:32   #2  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,924
ProjectX
Guest is offline   Reply With Quote
Old 11th July 2006, 18:49   #3  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,443
Not sure exactly what you're attempting but two tools to look at are:

MPEG2Repair - finds glitches in the video
VideoReDo Plus - deals with structural issues in transport streams

There are lots of folks who record multiple showings of TV programs, and use M2R to see which of them has the fewest glitches...
laserfan is offline   Reply With Quote
Old 11th July 2006, 22:45   #4  |  Link
Emp3r0r
Registered User
 
Emp3r0r's Avatar
 
Join Date: Oct 2001
Location: Alabama, USA
Posts: 769
I familiar with all three of the tools mentioned. However, I haven't found any of them to be that reliable.

MpegRepair only works on Transport Streams and is very slow. Sometimes I'll use this before DGIndex. This is probably the most promising solution. I need to do some research on the log file it creates.

VideoReDo Plus isn't free. However, I have had some success using this for some DVR-MS files but they still had delay sync issues. Also, I can't remember exactly how it handles glitches, but I think it just drops the GOP.

ProjectX usually doesn't play nice with my hd recordings and I think it also drops the GOP rather than replacing with blank frames.

Is it true that transport streams just don't have reliable global timestamping that can be used to easily determine this information?

Also, those glitches didn't play well with the telecide().decimate() I was doing. I had to work around by trimming each section individually before the telecide().decimate().
__________________
ChapterGrabber - add names to your chapters | AtomSite - open source AtomPub server
Emp3r0r is offline   Reply With Quote
Old 11th July 2006, 23:31   #5  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,924
Quote:
Originally Posted by Emp3r0r
Is it true that transport streams just don't have reliable global timestamping that can be used to easily determine this information?
Don't know what you mean by "global" in this context, but the timestamping is at the PES level so whether it's a transport stream or a program stream is irrelevant. The timestamping is adequate.
Guest is offline   Reply With Quote
Old 12th July 2006, 22:13   #6  |  Link
Emp3r0r
Registered User
 
Emp3r0r's Avatar
 
Join Date: Oct 2001
Location: Alabama, USA
Posts: 769
Quote:
Originally Posted by neuron2
what you mean by "global"
I'm thinking that when indexing the stream, it can determine if any frames are missing by looking at the timestamp from one frame to the next.

For example, if frames 238053 - 238111 were missing, couldn't this be detected by seeing that there is a gap in the timestamps. So on a global scale, you could determine all missing frames as long as consecutive timestamps were used throughout the stream.
__________________
ChapterGrabber - add names to your chapters | AtomSite - open source AtomPub server

Last edited by Emp3r0r; 14th July 2006 at 02:30.
Emp3r0r is offline   Reply With Quote
Old 13th July 2006, 00:46   #7  |  Link
Revgen
Registered User
 
Join Date: Sep 2004
Location: Near LA, California, USA
Posts: 1,543
I don't know if this is related or not but here it goes. I have transport files that play fine when played on their own but the audio is off sync when I create a .d2v file even if I use the correct ms delay setting. I found that the only way to get the audio and video aligned correctly was to use mencoder without DGDecode or avisynth. I had to create a large Huffyuv video file with audio re-encoded as well. Just demuxing the .ac3 file doesn't work. It was the only thing that worked for me.
__________________
Pirate: Now how would you like to die? Would you like to have your head chopped off or be burned at the stake?

Curly: Burned at the stake!

Moe: Why?

Curly: A hot steak is always better than a cold chop.
Revgen is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:25.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.