Log in

View Full Version : Encoding data in mp4 container


dinolib2
1st November 2005, 09:58
Hi everybody,

I'm wondering if it is possible to insert additional data into mp4 container. It could be usefull -ie- for testing purpose to know all the settings used to make the video encode (I'm thinking something similar to EXIF for photo shots).
If the answer will be yes-easy I'll propose it to doom9 to add this feature to megui (if the comunity will retain it usefull!).

thank you!

Elias
1st November 2005, 11:05
What kind of data? Dumpster can tag the tracks with whatever you want to write and keep it standard compliant. However, dumpster is old and can only tag with 23 different letters. I believe the limit is 255 letters or something. Those who know how to do this with Dumpster usually add codecs and settings used (like AVC, ASP, AAC etc). Search for dumpster here on Doom9, there's a good thread about it.

dinolib2
1st November 2005, 11:33
Thanks for quick reply.

I forgot to specify win32 OS. Dumpster is for apple only, isn't it?

I refer to encoding parameter data: ie x264 command line and so on...

Elias
1st November 2005, 11:50
Thanks for quick reply.You're welcome :)

http://developer.apple.com/quicktime/quicktimeintro/tools/

There's a Mac OS version, and a Win32 version. Just scroll down to the bottom.

dinolib2
1st November 2005, 13:24
Ok, I've downloaded and tried it.
Nice, it allow you to read/set the mp4 files header.
Anyway, you can't do it programatically :(
A CLI utility would be perfect!

bond
1st November 2005, 14:30
I'm wondering if it is possible to insert additional data into mp4 container. It could be usefull -ie- for testing purpose to know all the settings used to make the video encode (I'm thinking something similar to EXIF for photo shots).its easy to read out the used encoding settings already

for asp files use the mpeg4vol tool from mpeg4ip
for avc files extract the avc stream to raw and use the h264_parse tool from mpeg4ip
for aac there isnt much to check, but mp4box' info option tells you whether the stream is using sbr or not

ok you need three tools, not one :D