Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要将一些格式为“wmf”的视频文件转换为“mp4”或“avi”。
我使用带有命令的ffmpeg:
ffmpeg -i test.wmf test.mp4
但是当我在视频播放器中播放结果文件时,我发现结果视频每 2 秒丢失了一些帧。
然后我使用下面的命令将 wmf 文件解码为一些图像文件。
ffmpeg -i test.wmf im%d.jpg
我发现在30张有效图像之后总是有30张无效图像。
我想知道如何正确转换?</p>
这是我的测试文件:test1.wmf,test2.wmf
您可以尝试使用这个小宝石构建您的命令:http ://rodrigopolo.com/ffmpeg/