Log in

View Full Version : Change header info of h264 file


djesteban
19th August 2011, 05:04
Hi,

I would want to change the header information for a given h264 file without re-encoding.

In detail, I have this h264 file with the following spec: 25fps 1080i PAL... but I know for a fact that this file is NOT interlaced. This comes from a French Blu-Ray that I have and for some reason it was tagged as 1080i because at 25fps, I am pretty sure that this would be an illegal standard for BD to that it as progressive.

So basically what I want to do is change the header info of this file in order to change the framerate to 23.976, tag it as progressive and change the PAL tag to NTSC.

I have found a tool, h264info that claims to be able to do that, but the output file seems to be messed up.

Is there a way to do that?

Thanks

Selur
19th August 2011, 12:26
Might be related to x264s fake-interlaced option, if so changing the framerate to 23.976 would be a mistake,..

but the output file seems to be messed up.
care to offer some additional infos?

Sharc
20th August 2011, 08:51
Hi,

I would want to change the header information for a given h264 file without re-encoding.....
Is there a way to do that?

How about this one (http://forum.doom9.org/showthread.php?p=1369068#post1369068)?
1080i@25fps is perfectly blu-ray compliant, even though the content may be progressive. At 25fps the stream has to be flagged as interlaced. Why would you want to change anything?
Not sure if video/audio/subs would stay synched if you just change the framerate in the header.

djesteban
5th September 2011, 17:08
@Sharc: Thanks for letting me know about that tool, I was able to change the fps of my h264 file with it. Works great, The only thing I wasn't able to do is change the interlaced flag, but I'll ask on the tool thread if it's possible.