View Full Version : Add proper AR back to H264 stream?
valnar
31st March 2008, 00:10
I know that I can add "--engage keep_bitstream_ar_info" to mkvmerge to force it to keep the original AR of my stream in addition to the AR of the MKV container. What I need help with is a tool that will add that AR (whatever I specify) back the original H264 stream. I figure it might be necessary to demux the original video back out of the MKV container, which mkvextract.exe does nicely. What tool now allows me to alter the AR of the original video stream?
:thanks:
Robert
Southstorm
31st March 2008, 02:57
If I'm not mistaken, the stream AR is set during the encode process. Don't think you can actually manipulate that further unless it's in the respective container.
unskinnyboy
31st March 2008, 15:18
ARChange or MP4Box should work (use search). You'd have to remux the stream into the MP4 container first.
Southstorm
31st March 2008, 17:30
Which is what I said:
Don't think you can actually manipulate that further unless it's in the respective container.
But the stream itself cannot after it's been encoded.
valnar
31st March 2008, 17:37
I found that H264Info worked and let me alter the AR. It processed the whole file (I assume this is normal), but did not re-encode anything of course.
I lost all the x264 information about how it was encoded in the header, but otherwise worked fine.
I'll see if those other tools work better in that respect.
Thanks,
Robert
unskinnyboy
31st March 2008, 18:29
Which is what I said:
But the stream itself cannot after it's been encoded.IIRC, ARChange is at the container level, but MP4Box is at the container level and bitstream level. So, scratch ARChange, and just try MP4Box.
valnar
31st March 2008, 21:47
FYI for those who read this thread later...
The Sage HD Extender reads the video PAR, not the container. Since MKVMerge strips out the AR during mux, you must be sure to put in the "--engage keep_bitstream_ar_info" parameter when you mux.
Robert
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.