[Libav-user] Identifying a MP4 file using libav libraries
bhsreenath at gmail.com
Tue Apr 12 11:28:36 CEST 2016
On 4/10/16, Gonzalo <ggarra13 at gmail.com> wrote:
> You may also want to take a look at the function:
> El 09/04/16 a las 18:10, Carl Eugen Hoyos escribió:
>> Sreenath BH <bhsreenath at ...> writes:
>>> I was assuming/hoping that libav would be able to provide
>>> this information since it anyway opens the file and reads
>>> all information available.
>> It does: Check the "major_brand" and "compatible_brands"
>> But allow me to repeat: You first have to know what you
>> are searching for!
>> Carl Eugen
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
> Gonzalo Garramuño
> ggarra13 at gmail.com
> Libav-user mailing list
> Libav-user at ffmpeg.org
Thanks for all the help. We will use major_brand metadata to check if
it is a MP4 file.
For now we will assume a file is MP4 only if major_brand has a value of mp42.
More information about the Libav-user