Log in

View Full Version : Is it possibile to convert a H.264 clip which is 24fps to 30fps without remux?


frey
17th March 2010, 12:07
Hi all,

*Edit: it's a H.264 encoded clip. the goal is edit this H.264 clip, from 24fps to 30fps by duplicate third P-frame.*

I have an AVI file with 24fps. I want to convert it to 30fps without demux/remux. Is that possible?

for example, it is in IPPPx6...format. I was thinking this "copy third P frame and paste next to it,becomes fourth P frame", i.e. It becomes Ipppp' x6.
I tried with binary editor, and got first 4 frames right(cuz I did not touch them), and reset of frames were messed up.

And I tried to use "Full_Frame_Freeze", and it didn't work.

So, is it possible to convert a H.264 file with 24fps to 30 fps,without demux, and then remux, i.e. I can make it on binary editor(or in session of AVI making)?

Thanks

roozhou
17th March 2010, 14:03
No, you can't. You can change fps from 24 to 30 in a hex editor, but you cannot keep duration w/o inserting frames.

This can be done with mencoder:
mencoder -o output.avi -ofps 30000/1001 -ovc copy -oac copy input.avi