PDA

View Full Version : Joining Videos > Audio/Video goes unsync


Rodger
29th September 2011, 01:43
Hi guys,

got a little problem here. When I join two MKVs or same content in TS the first video remains okay while the second video goes out of sync.

This is what has been done:
- Recorded TV-Program (Pro7HD -german HDTV)
- Indexing the file via DGindexNV with audio output
- transcoding/reencoding with lord mulders simple launcher
- muxing each part with MKV Muxer (mkvtoolnix) (itīs only part1 and part2)
so far everything is fine. part 1 and part2 are perfectly in sync.

Then it happens. Doesnīt matter if use tsmuxer or MKV muxer to join the files. part1 stays in sync, part 2 looses it.

Video is of course h264
Audio ist the original ac3 (6ch)

I think I know whats the problem but donīt know how to get it going. I guess when joining files it keeps the audio delay of the first file but really just appends the next audio and video stream without respecting the audio delay of the the next part.

ANY IDEAS?

neuron2
29th September 2011, 13:12
Join things in your script, observing proper delays, and make only one MKV file.

Rodger
29th September 2011, 15:32
Join things in your script, observing proper delays, and make only one MKV file.

Thanks neuron for answering, but care to elaborate?
Even if I encode both videos at once. The audio stream is being muxed after reencoding. So I fail to follow your words.

Ghitulescu
29th September 2011, 16:05
-> audio delay <-

Rodger
29th September 2011, 20:42
so you got no idea how handle it yourself....

Ghitulescu
30th September 2011, 07:39
Oh, yes, I do ARTE HD and other free German HDTV regularly :)
So you need to cut the delay, by hand (most remuxers do, some have however a limited effect, like +-500ms), or automatically, using eac3to. Sometimes is useful to have the latest versions, sometimes older ones (tsmuxer, tsremux).
Use search and you'll find 3-4 recent!! topics on the same subject, plus a freeware CLI, syncmergem2ts.

Rodger
30th September 2011, 12:28
Jep, works!
But I do recommend to REMUX those files this programm creates.
Not so good seekable.
A remuxed MKV file is back to normally seekable.

Ghitulescu
30th September 2011, 12:40
Then it would be nice to share your observations with the author of the merger. ;)