当前位置: 动力学知识库 > 问答 > 编程问答 >

Convert a media file to h.264 encoding using melt on ubuntu 12.04

问题描述:

I am working on a small command line video editing tool. I have created almost everything but I am stuck at encoding of result file in to H.264.

I installed melt from debian repository. encoding wasn't working so i tried building melt on my own. but it showing some error while disabling qimage and i can't figure it out.

Following is an example command:

melt Wildlife.wmv -consumer avformat:test.mp4 vcodec=libx264

Tt starts processing but shows:

[consumer avformat] video codec libx264 unrecognised - ignoring

网友答案:

You need to install libx264 on your system. Do you have that?

网友答案:

I fixed it by removing melt and ffmpeg installed from the repository and compiled it manually. it fixed the issue and also a latest version with some bug fixes and new features. on repository it 0.0.7 but if complied manually it is at 0.8.9 right now.

here is the instructions to compile melt. melt script

use the melted section to only compile command line video editor use any other to install any gui video editors like OpenShot or kdenlive

分享给朋友:
您可能感兴趣的文章:
随机阅读: