310P3 ,ffmpeg编译 ,硬件解码视频流
收藏回复举报
310P3 ,ffmpeg编译 ,硬件解码视频流
t('forum.solved') 已解决
新人帖
发表于2025-07-03 14:35:01
0 查看

    #./ffmpeg -hwaccel ascend -c:v h264_ascend -i "./同沙打石山-CHN1.mp4"  -c:v h264_ascend out.264        ------------fps 130多 

    ./ffmpeg  -hwaccel ascend -c:v h264_ascend    -i "./同沙打石山-CHN1.mp4"  -c:v h264_ascend    -an out_ascend.mp4  -----ok 

     

    ./ffmpeg  -hwaccel ascend -c:v h264_ascend    -i "./同沙打石山-CHN1.mp4"  -s 1920*1080   -c:v h264_ascend    -an out_ascend.mp4     ---------failed 

     

    ./ffmpeg  -hwaccel ascend -c:v h264_ascend    -i "./同沙打石山-CHN1.mp4"  -vf "scale=1920:1080,format=nv12"   -c:v h264_ascend    -an out_ascend.mp4     ---------failed 

     

    ./ffmpeg  -hwaccel ascend -c:v h264_ascend    -i "./同沙打石山-CHN1.mp4"  -c:v h264_ascend   -vf "scale=1920:1080,format=nv12"   -an out_ascend.mp4     ---------failed 

     

     

     ,官网https://gitee.com/ascend/mindsdk-referenceapps/tree/master/VisionSDK/Ascendffmpeg ,按照这里编译ffmpeg4.4 后,不能像别人编译好的英伟达显卡版本ffmpeg那样方便地硬件解码视频流。华为显卡版本的ffmpeg会出现只要命令行稍微不正确,就无法利用硬件解码情况。请问是ffmpeg版本是4.4,太老的原因吗?官方能否提供更高版本的ffmpeg教程或者编译好的ffmpeg。希望官方给个答复,感觉这个ffmpeg非常通用,为什么提供的资料这么少,现在就算是有硬件也无法用起来,感觉非常苦恼。。。

本帖最后由 匿名用户2025/07/03 14:48:08 编辑

我要发帖子