VincentNguyen
6th November 2006, 21:35
Now here's my problem:
- I have a TS file, AC + MPEG2, 29.97FPS (or so DGIndex says). Playback like a charm, but big
- I encoded it to h264 using x264, with the following settings: 4000kbps, 2-pass; High Profile 4.1, output to RAW (and the last point was my mistake). Script was rather straightforward, since this content was 100% film (ie no deinterlacing needed)
I have a nice .264 file now... that can't be played anywhere (apart VLC, which chokes on it).
I'm trying to mux it to MKV back with the original AC3 track, following this procedure:
- mp4box -add input.264 output.mp4
- mkvmerge to mux them with the audio tracks
The resulting file has one big problem: audio gets out of sync very quickly, as it seems my framerate is not the original one
Video quality is superb, with no visual artifact, but audio is out of sync and framerate is clearly too fast.
I tried using the -fps 29.97 command, without success, audio is still out of sync
Tried using -fps 25, without success either
Could it be that my encoding has resulted into a different framerate ? Is there a way I can check the .264 framerate ?
VincentN
- I have a TS file, AC + MPEG2, 29.97FPS (or so DGIndex says). Playback like a charm, but big
- I encoded it to h264 using x264, with the following settings: 4000kbps, 2-pass; High Profile 4.1, output to RAW (and the last point was my mistake). Script was rather straightforward, since this content was 100% film (ie no deinterlacing needed)
I have a nice .264 file now... that can't be played anywhere (apart VLC, which chokes on it).
I'm trying to mux it to MKV back with the original AC3 track, following this procedure:
- mp4box -add input.264 output.mp4
- mkvmerge to mux them with the audio tracks
The resulting file has one big problem: audio gets out of sync very quickly, as it seems my framerate is not the original one
Video quality is superb, with no visual artifact, but audio is out of sync and framerate is clearly too fast.
I tried using the -fps 29.97 command, without success, audio is still out of sync
Tried using -fps 25, without success either
Could it be that my encoding has resulted into a different framerate ? Is there a way I can check the .264 framerate ?
VincentN