Log in

View Full Version : Audio sync problems when encoding H264-TS streams


galinette69
7th March 2010, 10:41
Dear all,

In the past, I used to record SD DVB movies on my M740AV receiver. Then I could cut/repair them with projectX, and export them to DVD, and eventually shrink them with DVDshrink to fit in a single layer DVD. This worked very well.

I'm lacking of a nice toolchain like this with HD MPEG4 streams (I live in France where HD DVB is H264). What do you use for this?

Yesterday, I tried to work on Alien : Resurrection HD recorded on DVB. I cut it with H264TS-Cutter V111 to remove the commercials. Then I used MeGUI tools to extract the EAC3 audio stream. I reencoded the video with MeGUI/AviSynth/x264 and muxed back together. At the end, I have an audio track which is synced at the beginning of the movie, but out of sync at the end. I guess this may be due to the DVB stream being improperly repaired for bad frames : some video or audio packets may have been discarded without keeping the sync.

How do you handle your H264 DVB movies?


Thanks,

Etienne

Ghitulescu
15th March 2010, 15:39
TS Doctor /TS Packet Editor - both payware
some other payware like videoredo may have a correcting function, I never used them because they usually keep only one audio track besides the video and discard everything else, including subtitles and so on.

Audio synch issues arrives from various sources, including bad cuts (the usual cause).

Also I find it cleverer to buy the movies instead of spending hours trying to transfer/correct/edit/burn etc*. just to obtain a file/dvd/bd with a subpar quality (compared to the original DVD/BD) and with a logo on top of all problems. Remember, COPY is the most dreadful term for media providers, so you'll always get problems in processing media files.
If a movie deserves to be archived, then it deserves to be properly archived.

*in your case even reencoding H.264 into H.264.

I ran my .M2TS files through TS Doctor (I have a pre-commercial version) to clean it, convert it to .TS and cut it if necesary (on IDR, but that's better than nothing), then PjX (for subtitles), then multiAVCHD (authoring) and finally burn.