On 4/10/16, Gonzalo <[email protected]> wrote:
> You may also want to take a look at the function:
>
> av_probe_input_format3
>
>
>
> El 09/04/16 a las 18:10, Carl Eugen Hoyos escribió:
>> Sreenath BH <bhsreenath@...> 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"
>> metadata.
>> But allow me to repeat: You first have to know what you
>> are searching for!
>>
>> Carl Eugen
>>
>> _______________________________________________
>> Libav-user mailing list
>> [email protected]
>> http://ffmpeg.org/mailman/listinfo/libav-user
>
> --
> Gonzalo GarramuƱo
> [email protected]
>
> _______________________________________________
> Libav-user mailing list
> [email protected]
> http://ffmpeg.org/mailman/listinfo/libav-user
>


Hi,

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.

-Sreenath
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to