Log in

View Full Version : Remuxing WITH video gaps?!


samukas
12th February 2008, 10:21
Hello everyone!

I've recorded some HD channels over the past weeks with my Skystar HD. With one HD channel in particular I get (a lot) 0.5/1sec audio and video errors. I usually record the same channel in SD simultaneously with my PVR (with no errors)...
Is there any way to join the HD video with the audio from the SD recording so that there are no audio timestamps, only video ones?
This way, the video would freeze for a few seconds, but the audio would continue to play...

I have uploaded a sample so that you can see what I'm trying to achive. Open the TS file with Media Player Classic and select the audio track from the MPA file. Like I said, this way the audio doesn't stop when the video freezes and when it comes back,
it's totally in sync. Can this be done within a TS file?! :helpful:

Sample: http://rapidshare.com/files/91129402/sample.rar.html

Schmendrick
13th February 2008, 22:36
The sample you have given does not have discontinuities in the AVC/H.264-video-stream and not even within the PES-stream which encapsules the AC3-audio-stream, while the AC3-content has a gap. If you use TsMuxer:
http://forum.doom9.org/showthread.php?t=134104&page=9
you can use the sample.ts as input and deselect the included AC3-stream and only select the AVC/H.264-video-stream and additionally open the sample.mpa-audio-file. Finally you mux a new ts-file. If the initial time of the first video-frame and the first audio-sample is synchronous and both lengths match then the resulting ts-file should be synchronous.

samukas
14th February 2008, 09:35
Muxing the AVC stream with the MPA file won't be synchronous after a while because there is a video gap too... At around 2seconds, it just jumps 1 second ahead...

Also, I've found that remuxing with Haali Gdsmux does exactly what I wanted to do, only I wanted to leave it inside a TS file :S