Log in

View Full Version : HD PAL MKV to NTSC


Burning Fury
12th May 2009, 18:46
I've searched the forums left and right, but didn't find the correct answer (or maybe I did... not sure).

In any case, here's my problem:

What would be the best way possible to change a HD PAL MKV
to NTSC while keeping the video and audio synced?


I've tried demuxing the streams with MKVExtract,
then working on the video with H264Info to change the FPS to
23.976 and also changed the profile to 4.1 for PS3 compatibility.

Then used eac3to to change the audio to NTSC.

Remuxed the streams but I still got the audio slightly behind.

Here's a log of the stream:

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 8 frames
Muxing mode : Container profile=Unknown@5.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 48mn 13s
Bit rate : 5 840 Kbps
Nominal bit rate : 5 963 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16/9
Frame rate : 25.000 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.253
Stream size : 1.97 GiB (92%)
Writing library : x264 core 48 svn-537M
Encoding settings : cabac=1 / ref=5 / deblock=1:-3:-1 / analyse=0x3:0x133 / me=umh / subme=6 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=1 / chroma_qp_offset=0 / slices=2 / nr=0 / decimate=1 / bframes=2 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=5963 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30
Language : English

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 48mn 13s
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Stream size : 132 MiB (6%)
Title : AC3
Language : English

Thanks in advance.

B2K24
12th May 2009, 18:58
Use Ripbot264 to convert the video to 23.976 or 24 fps then you can either run eac3to to change audio

eac3toFolder\eac3to.exe c:\videos\SourcePalAC3file.ac3 c:\videso\NewAC3file.ac3 -25.000 -changeTo24.000 -quality=1.00 -640

OR you can use delay cut to get pal audio in sync with ntsc video

play the video file with VLC player and by default the J and K keys on keyboard apply a positive or negative delay in MS by 50 to audio.

adjust until you get perfect sync then note the difference. For example lets say -2000 MS

Next you need a program called Delaycut open the audio file with Delaycut and put -2000 into delay column start box
leave crc errors to silence and hit process.

Remux fixed ac3 to MKV

Burning Fury
13th May 2009, 18:46
Nice. Will try that.

Thanks ^^v

Ghitulescu
19th May 2009, 15:02
First you have to find the length of your movie (H:M:S:F).

Demux the things into elementary streams.

Now you have 2 alternatives, depending on your footage:

A:
1080p25 or 720p25:
1. simply change the fps (in the headers) from 25p to 24p leaving the whole thing untouched - (I'm not really sure what PAL HD is) this is probably the best choice, it's a sort of reverse PAL-speedup
Don't forget to note down again the new duration
2. then decode your audio and use SSRC or similar to match the duration of your new video (you might need both durations). Then reencode back the audio if needed (you can leave it LPCM). No pitch change occured (using SSRC).


B:
1080i50:
1a. then you have to reencode the video with a different fps (30i) (actually it depends if your PAL HD source was originally 50i or was telecined 24p) or
1b. use a very good deinterlacer and proceed as in case A (25p). If the original source was 24p, then even the worst deinterlacer can do the job, use method A above.
2. and leave the audio untouched, because no duration change occured in the process (for case 1a).

1080p24 can be played in all NTSC players, an US friend of mine told me.

Things go complicated if you by NTSC mean 480i, because you need automatically video conversion. For HD NTSC you may avoid one conversion (audio or video).