View Full Version : possible tv series (s)vcd to dvd sync issues solution


toolman2k
31st May 2003, 22:40
Hi all,

Ive been fiddling with putting 24 season 2 tv series vcd's on dvd.In the basics its very easy, just convert the audio and put it all together.

But just like many others i ran into sync issues.This was due to the original MPEGs being edited, commercial cuts etc.That is what screws up the mpeg stream.

when demuxing and muxing again (with just the audio upsampled) you'll get sync issues no doubt.

I tried and tried many ways and tools.but no luck.read nice guides here and there about this topic.no luck.

the problem is this: the original mpeg plays fine.....but if you look closely you'll see that the video sometimes glitches due to the editing the groups do.this is no problem since the video skips a few frames to stay in sync with the audio (or something like it).but as soon as you seperate the audio and convert and put it back...it looses the sync.

i tried to convert the whole mpeg1 stream to mpeg2(incl.48k audio) in tmpegenc plus.which indeed solved the sync issue.sure some quality loss but not that noticible.the only thing now is that the video does not skip at the "cutting" points but a very short silence is in the audio, like a short pause.but it does only happen where the groups cut it or where there are screw ups in the original mpeg stream.i dont mind that since it keeps it all perfect sync.i rather have the audio skipping sometimes (2,3 times per episode) and sync , then fluid audio and async....just my opinion.

anyway, happy as i was i put it on dvd and watched a few episodes.all worked ok....until some episode stopped halfway and jumped back to the menu.....this was weird.i checked and it was the newly muxed output that was totally screwed up.the image was skipping, shocking and crap....and on my pc it somehow kept playing...but my pioneer refused and stopped playback.so there i was....i got my audio sync, and now the video screwed up.

i started tracing back where the fault was.but strangly enough both audio and video streams (the new mpeg2 and 48k audio i made in tmpeg) were working ok by itself, and also in previewing in the authoring software.only when i muxed/compiled it to dvd files it got screwed up...i tried reencoding both video and audio, other authoring software....no luck.the only video that came out good muxed was the original mpeg1 stream, which i thought i couldnt use since it would give my sync issues.

then right before i was about to shift delete all those vcd files off my pc i started thinking.then i found out that the only way was to keep the video ok was to use the original demuxed mpeg1 stream, with the upsampled audio from tmpeg enc....sure that sounds normal since every guide describes it that way (and tools like svcd2dvd do it for you).however, the difference was that I made the new audiotrack with the full original mpeg stream as source input, and not just the demuxed audiostream from it.that way i got a new 48k track, which was based on the full org mpeg stream, and therefore took into account any fault,cuts whatever there was in the original file....and spits out a file (with a few skips here and there, so what) which is in perfect sync with the original video ! also the video doesnt skip anymore like the original, it plays smooth, only the audio halts every now and then.

so anyway, to make it short: make your new audio in tmpegenc plus, using the full mpg as source, and choose to only output the audio ES stream.....put it together with the original video that you demuxed and voila....a perfect in sycn result, with better video than original at the cost of only a few minor pauses in audio.using tools like svcd2dvd or dvdlab will NOT get you these result from what I have tested.

and now i will continue watching my episodes from dvd :)

I hope this helps others here having the same problems.If this was already common knowledge, then im sorry, just be happy for me i also got it working:)

ChrissyBoy
1st June 2003, 19:11
Good find toolman2k. I think your analysis is spot on. I must admit i gave up on Friends vcd->DVD for the very same reason - edited source.

One svcd2dvdmpg user has offered a similar solution (although both he & you are the first i've heard to solve the issue):

1st you have to re-encode the (tv commercial) stripped mpeg's using TMPGEnc and the VCD Template.


2nd you then take the re-encoded mpg's and use your program to create the compliant DVD mpg's.


3rd you use TMPGEnc DVD Author program to add the Compliant mpg's and to create your Menu's.....

Thats is and it works very very well.......No sync issues at all....

toolman2k
1st June 2003, 19:16
Originally posted by ChrissyBoy
Good find toolman2k. I think your analysis is spot on. I must admit i gave up on Friends vcd->DVD for the very same reason - edited source.

One svcd2dvdmpg user has offered a similar solution (although both he & you are the first i've heard to solve the issue):

what he proposes does indeed work for the audio sync issue, BUT it decreases video quality, plus it can mysteriously create unwanted glitches in the final muxed stream, which results in corrupt vobs, like i pointed out.the only way getting good results is to use the original video, and mux it with reencoded audio, created and based on the full original mpg file.thats the only way.

ChrissyBoy
1st June 2003, 19:26
i thought you did mpeg1 to mpeg2 - which results in the corrupt vobs....

anyway this certainly will please many of tv ep people. Well done.

toolman2k
1st June 2003, 19:51
Originally posted by ChrissyBoy
i thought you did mpeg1 to mpeg2 - which results in the corrupt vobs....

anyway this certainly will please many of tv ep people. Well done.

oh yes thats true...but going from mpeg1 to mpeg1 is unacceptable in terms of quality, in my opinion.therefore i chose to go to mpeg2.thats when i got the errors in final muxed stream (so you can only see it when you muxed it all together, which is very irritating after you burned it and sit on the couch with coke and chips to find out that some episodes suddenly came out crappy, the weird thing is that its very hard to trace back...i couldnt after severe testing), which may not occur when going from mpeg1 to mpeg1, however, even though my error was when going from mpeg1 to mpeg2, why would u go to even less quality with the possibility to get corrupt end results, when its not needed?

i know you agree, but im just making my point extra clear for others also ;-)

maybe you can use this info to enhance your tool.

toolman2k
1st June 2003, 20:30
ok i just found out a very disturbing thing. i talked about keeping the original mpeg1 so it wont go corrupt in the end.....well i am now looking the second to last episode of 24 and guess what.....it also locks up my player and plays weird in powerdvd.

sure this can be resolved by reencoding the stream to a new mpeg1/2, but that may cause other errors making the disc lock-up in stand alone...not funny.

its basically choosing:

1. using the original demuxed video to avoid final muxing errors due te reencoding
or
2. reencode everything, with the chance of also getting a screwed up result at the end.

2 options, both may result in faults :(

sure, using the original video gave me only one faulty episode so far, so it probably the best choice, but the problem is that you can only discover the error when u play it on your stand alone, since your pc has alot higher error tolerance it will keep playing....so you thinking its ok, you burn a disc and find out then its faulty :( not funny....

so its not entirely fault proof....it looks like it never will be.the original mpeg stream is apparently so screwed up, the original demuxed video cant be used:(

i will just try with this one episode and hope it wont generate errors due to reencoding.....

toolman2k
1st June 2003, 23:14
ok well... i tried reencoding that one faulty episode to mpeg2.i have just checked and its ok...so i will simply replace just that one in authoring to fix it.

however, i could not exactly spot where or how the original mpeg goes wrong.it must be very screwed up, since it makes my pioneer stop and return to menu.

too bad i had to find out when watching from a burnt disc i thought was ok.i checked again from HD...but the fault is very minor in playback, unlike the previous errors caused by using a reencoded videostream.

ChrissyBoy
2nd June 2003, 09:39
Looks like others are finding this useful:

http://www.dvdrhelp.com/forum/viewtopic.php?p=541873#541873

Good news.

mnkyboy
26th December 2003, 19:07
Originally posted by toolman2k

so anyway, to make it short: make your new audio in tmpegenc plus, using the full mpg as source, and choose to only output the audio ES stream.....put it together with the original video that you demuxed and voila....a perfect in sycn result, with better video than original at the cost of only a few minor pauses in audio.using tools like svcd2dvd or dvdlab will NOT get you these result from what I have tested.



I just started exploring svcdtodvd about 2 weeks ago. Ive tried several methods, including svcd2dvd. SVCD2DVD seems to be the easiest to use, BUT my audio/video is out of sync.

QUESION is, how do you output the audio and convert it to 48 in tmpegenc as described in your quote above? After you do this, do you remux the extracted video and audio, then author? Does SVCD2DVD plan on correcting the audio/video sync problem anytime soon? Do you have a tutorial anywhere for your process? If not, can you give me some pointers? Thanks :)

htc10825
6th January 2004, 16:42
Hi ya,

I had also such problem years ago, but not any more...
Since two years I've used the (commercial) tool "M2 Edit Pro" to delete all the bad frames before I demuxed it and re-encode the audio, remuxd it with the corrected original mpg1 stream...

This method results the best output video, is easy, but:
1. It is time intensive, you have to go through every sec. of the source video to notice/register all the bad frames, video & audio.
2. It is not free, also not cheap.