我正在按照本教程project Android screen to PC via ADB。
.\adb exec-out screenrecord --output-format=h264 - | ffmpeg ffplay -framerate 60 -probesize 32 -sync video
错误是:
Unrecognized option 'sync'.
Error splitting the argument list: Option not found
我已经搜索了有关无法识别的选项的类似错误,但我仍然不知道如何解决。
如果我删除 -sync video
参数,则错误是:
Trailing options were found on the commandline.
[NULL @ 000001f0d0678b00] Unable to find a suitable output format for 'ffplay'
ffplay: Invalid argument
ffmpeg 版本是 4.2.3,但我认为这不重要。
答案 0 :(得分:0)
ffplay 是一个单独的工具。所以应该是
... | ffplay -framerate 60 -probesize 32 -sync video -f h264 -