View Full Version : extract audio from h264 .TS
Penecho
3rd July 2007, 12:34
Hi, i tried to extract the audio from a h264 .TS stream with projectX but it gets way too async. Seems projectX dont saves the delay of the audio stream, so when i convertet video to X264 and try to mux the AC3 inte the mkv with mkvmergegui, it gets async.
Cu
mitsubishi
3rd July 2007, 14:03
What are you demuxing the video with? xport is supposed to fix audio to video start if you demux both with it. If you use mencoder or or something, I think PTS calc will find the audio delay for you:
http://rickman.ri.funpic.de/
bob0r
3rd July 2007, 22:27
If you want to encode the video anyway...
1: Convert .ts to .mkv direct using Haali's gdsmux.exe (comes with his splitter, get latest version!!)
2: demux the h.264 video (or encode the video direct with directshowsource), load raw h.264 video in dgavcdec and encode to x264 raw or .mkv
3: open both .mkv files, or only the source one and open the x264 encoded raw .264 file and mux them with mkvtoolnix (unselect the video source) and save to new .mkv
(extracting audio from .mkv is easy too, "mkvextractgui" is your magic google word)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.