PDA

View Full Version : IVTC options for 30fps h264/mkv file


jimbobuk
22nd July 2007, 23:26
I have had great success with the dscaler IVTC plugin to correctly retrieve progressive frames @ 24hz out of MPEG2 30hz TS files.

I still seem to be struggling somewhat to get perfect playback of HD-DVDs even with reclock, and refresh rate set to 24hz, clearly powerdvd isn't working perfectly in that regard, it doesn't even wish to acknowledge that there is a 24fps film inside there, and that there are options to try and retrieve this, or pad it out to the 30hz as most off the shelf players currently do.

Most h264 files are already IVTC-ed and running nicely at 24hz. I now want to try and create a 24hz h264 file, or otherwise get the file playable in that state, from a 30hz h264 mkv file. Using vdub via avisynth i can see that its the 5th frame that is duplicated, out of every 5 frames.. played at 30fps, this gives you the 6 frames extra that if i could eliminate would lead to a 24fps file.

I've dabbled with various Decimate avisynth functions that via virtualdub seem to work perfectly well, albiet not if you skip around a little. Sadly the same working scripts seem to not work well at all when i try to use them via ffdshow's avisynth option within zoomplayer. I'm wondering if there is a program out there that can remove these duplicate frames from the h264 stream. I also see timecodes being mentioned for mkvmerge and wonder if somehow i can tell the mkv container to decimate the contained stream to generate the 24fps content out of the 30fps currently there.

Could anyone tell me if its possible to do this, either via ffdshow during playback, or as some offline process that doesn't require re-encoding the video, to remove the duplicated frames.

Cheers

neuron2
23rd July 2007, 01:14
Could anyone tell me if its possible to do this, either via ffdshow during playback, or as some offline process that doesn't require re-encoding the video, to remove the duplicated frames. You're on shaky ground because the DVDs do not have hard duplicates. So, encode your MKVs properly next time. And if you didn't encode them from your original DVDs, then rule 6 applies. Feel free to clarify the situation for us.

jimbobuk
23rd July 2007, 02:28
it was more down to hoping i wouldn't have to re-encode again as i hate leaving my machine on all night whilst its doing it.

More importantly I thought it may shed some light on the potential for performing a similar operation via something like mkvmerge at a later date on HD-DVD/Blu-Ray's VC-1/h264 streams to catalogue disks on a hdd in mkvs not just for convenience of playback but for getting a pristine 24hz playback of that material in a decent player, such as zoomplayer rather than being forced to use powerdvd with its afore mentioned blindness to the issue of perfectly smooth film-like playback.

neuron2
23rd July 2007, 15:08
it was more down to hoping i wouldn't have to re-encode again as i hate leaving my machine on all night whilst its doing it. If they are hard duplicates, then you have to re-encode for the offline solution. If they are soft-pulled down, then you have the possibility to remove them by re-flagging.