问题描述
命令
ffprobe rtsp://localhost/myvideo -codec:v libx264 -show_frames -of csv
Failed to set value 'libx264' for option 'codec:v': Option not found
但 libx264
似乎已安装 -
sudo apt install libx264-dev
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libx264-dev is already the newest version (2:0.152.2854+gite9a5903-2).
解决方法
libx264
是一个编码器。 ffprobe
仅探测和打印有关现有媒体输入的信息 - 没有指定编码器的范围。删除 -codec:v libx264
。