检测H.264标准视频 [英] Detecting H.264 standard videos
本文介绍了检测H.264标准视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
如何确保给定视频是否符合H.264标准?可以使用文件扩展名吗?
谢谢....
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....
推荐答案
检查文件扩展名将无济于事.这是需要检查的内容.
我认为您正在使用VS/C ++.
安装FFMPEG( www.ffmpeg.org/ [
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
这篇关于检测H.264标准视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文