English 中文(简体)
Retrieving metadata from x264?
原标题:
  • 时间:2009-12-28 08:09:19
  •  标签:
  • h.264
  • x264

I am trying to exctract the meta data from x264-encoded video files. First priority is to map the IDR-frames structure. The work seams to be harder than expected and I am trying to find command line applications that I can control from my code.

Mp4box has an option "-dump-xml" or similar but I can t figure out how it works. Not much help available on the net on this option.

Anyone who can give me a hint on this or any other alternative?

Thank you.

最佳回答

Try something that calls mpeg4ip. This application contains mp4dump, avidump, yuvdump....

Check it out here: http://mpeg4ip.sourceforge.net/documentation/index.php

问题回答

You can use MediaInfo It s a CLI software and can get the metainfo about videos and export them into an HTML or XML file; of course, it supports MP4. It s available for Linux (deb families and rpm ones), Mac OSX, Windows, BSD, etc.

You could use a command like this:

mediainfo --Output=XML video.mp4 > file.xml

This will output the metainfo of video.mp4 to file.xml Metainfo included in the file includes format, codec, file size, duration, bit rate, frame rate, width, height, color space, stream size among others.

I hope this answer has been helful ;) =)





相关问题
H264 RTP packet parsing [closed]

I am looking for source code of RTP Payload Format for H.264 Video according to RFC(3984). It would be great if someone can point out it. Also I am looking for wireshark plugin which can show me the ...

Learn Nvidia CUDA

I am C++ programmer that develop image and video algorithims, should i learn Nvidia CUDA? or it is one of these technlogies that will disappear?

Hardware accelerated video in DirectShow / WinForms

Currently prototyping a Windows .NET app that needs to play back high definition WMV and H264 video. My test files are full 1080p. The target hardware has weak Atom processors but strong NVidia 9400 ...

Retrieving metadata from x264?

I am trying to exctract the meta data from x264-encoded video files. First priority is to map the IDR-frames structure. The work seams to be harder than expected and I am trying to find command line ...

remuxing mpv files from h264 AVI files

I have a bunch of, I think, x264 encoded AVIs that I d like to convert to m4v so that I can play with Quicktime. Here s how I created them First I dump the vob from DVD with this: $ mplayer -...

Get the dimensions of a H.264 MP4

Does anybody know a ready-made, reliable way to tell the dimensions (width x height) of a MP4 encoded using the H.264 codec without ffmpeg or similar extensions, in pure PHP? Thanks for all the ...

热门标签