2

我在我的一台 Linux 机器上安装了 melt(使用 MLT 框架),并试图执行一个简单的视频编辑操作。以下是我发出的命令:

melt avformat-novalidate:clip1.mpeg -consumer avformat:clip1-grey.mpeg -verbose

输出视频没有正确创建,并且它给出了如下错误:

[mpeg1video @ 0x1b0a5910]interlacing not supported by codec

有谁知道,为什么会这样?

4

2 回答 2

1

May be your video is not encoded properly because i have used it before for multiple codecs and multiple containers I haven't seen this error before.

try using different video codecs like mpeg4 or libx264. to know all the video codecs available

melt -query "video_codecs"

use video codec in your command like this

melt avformat-novalidate:clip1.mpeg -consumer avformat:clip1-grey.mpeg -vcodec=libx264 -verbose

you may need to change the file extension(container) depending on the codec you use like for h264 you would want to use avi or flv etc.

于 2013-05-18T10:24:24.953 回答
1

你可以使用这样的东西:

melt youravifile.flv -consumer avformat  frame_rate_num=30 -profile vcd_pal >output.avi
于 2012-08-22T11:55:00.183 回答