Click here to Skip to main content
15,887,350 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi all,

How to ensure that whether a given video is of H.264 standard or not? Is it possible to do it with file extension?

Thanks....
Posted
Updated 14-Jun-10 0:16am
v2

1 solution

Hi,

Checking File extension wont help. It is content which needs to be checked.

I presume that you are working with VS/C++.

Install FFMPEG (www.ffmpeg.org/[^]) for VS and use something like:

Use Structs AVFormatContext -> AVInputFormat and AVStream->Codec to check format of your stream.

(Please refer to FFMPEG for correct syntax and parameters).

Hope this helps. :)

Regards,

GPUToaster
 
Share this answer
 
v2
Comments
vinodkalanji87 14-Jun-10 6:40am    
Hey..Thanks a lot :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900