belloq
20th April 2007, 16:40
Hi all,
Been lurking around here a while and am relatively new to transcoding from HD sources. I've used a variety of methods to get to where I'm at, but regardless of how I get to this point, the results are the same:
1) m2t (MPEG TS/AC3 mux) stream is split (removing commercials)
2a) Resulting files are joined and encoded into an AVI (let's not bash AVI while we're here...)
or
2b) Resulting files are encoded into AVI separately
3) (from step 2b) Join AVI files with AVI Mux GUI
In step #2, I've used different encoders, but I seem to like XviD or 3viX better. (h264 requires demuxing steps and/or command-line tools which, at least for me so far in my lack of knowledge, gives even worse results.)
The result from step 2a is three or four perfect looking and sounding video files. Audio is synchronized all the way through.
However, the result from Step 2b or step 3 is a great looking file until the first commercial gap. The second part of audio starts de-sync'd from the video.
What I've noticed from step 2b is that the audio in parts 2 and beyond start just slightly delayed from the video. Played by itself, the sync is great.
What seems to be happening is that there is a gap in the audio stream between the end of one part and the beginning of the other. And no matter what method I use to join (join separate TS files, then encode, or encode/join at the same time, or encode separately then join) the joining process is removing the audio gap. It makes sense that the audio stream can't have a gap in it.
My question for all you bright and friendly folks is how to I get this gap preserved? Is there a tool which will join AVI files, reading the audio delay in each file and substituting in silence to keep the audio sync'd? Do I need to use a better tool which will cut the video/audio perfectly with no resulting gap?
Thanks for any help you can provide.
Been lurking around here a while and am relatively new to transcoding from HD sources. I've used a variety of methods to get to where I'm at, but regardless of how I get to this point, the results are the same:
1) m2t (MPEG TS/AC3 mux) stream is split (removing commercials)
2a) Resulting files are joined and encoded into an AVI (let's not bash AVI while we're here...)
or
2b) Resulting files are encoded into AVI separately
3) (from step 2b) Join AVI files with AVI Mux GUI
In step #2, I've used different encoders, but I seem to like XviD or 3viX better. (h264 requires demuxing steps and/or command-line tools which, at least for me so far in my lack of knowledge, gives even worse results.)
The result from step 2a is three or four perfect looking and sounding video files. Audio is synchronized all the way through.
However, the result from Step 2b or step 3 is a great looking file until the first commercial gap. The second part of audio starts de-sync'd from the video.
What I've noticed from step 2b is that the audio in parts 2 and beyond start just slightly delayed from the video. Played by itself, the sync is great.
What seems to be happening is that there is a gap in the audio stream between the end of one part and the beginning of the other. And no matter what method I use to join (join separate TS files, then encode, or encode/join at the same time, or encode separately then join) the joining process is removing the audio gap. It makes sense that the audio stream can't have a gap in it.
My question for all you bright and friendly folks is how to I get this gap preserved? Is there a tool which will join AVI files, reading the audio delay in each file and substituting in silence to keep the audio sync'd? Do I need to use a better tool which will cut the video/audio perfectly with no resulting gap?
Thanks for any help you can provide.