ffmpeg vs mencoder [英] ffmpeg vs mencoder

查看:128
本文介绍了ffmpeg vs mencoder的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为各种设备和平台做一堆视频编码。在 mencoder ffmpeg 。你推荐哪个,为什么?



侧面问题:从谷歌搜索看来,mencoder使用ffmpeg。它是否一直在这样做或只有当它认为必要时?

解决方案

你是对的,mencoder使用ffmpeg。 Mencoder实际上是许多不同编解码器或编解码器库(如ffmpeg)的通用接口。所以,除了ffmpeg,mencoder可以编译支持x264,xvid,lame mp3以及我还没有使用过的其他各种。关键是,如果您有正确的mplayer / mencoder二进制文件,您将获得比ffmpeg支持的更多编解码器的支持(特别是具有限制性许可证的编解码器)。此外,您不会失去使用mencoder的ffmpeg的任何功能,因为您可以将所需的每个选项传递给相应的ffmpeg编解码器。所以我推荐mencoder。



关于您的侧面问题,您将声明mencoder将通过ovc和oac命令行开关使用哪个编解码器。尝试mencoder -ovc帮助和mencoder -oac帮助看到您的mencoder二进制文件支持哪些视频和音频编解码器。您可以使用查看此处了解有关视频/音频编解码器的更多信息。它解释了lavc(favmpeg的libavcodec库),xvid和mp3lame。



除此之外,我还使用了x264与mencoder这是非常有用的,我建议得到一个二进制,支持该编解码器。


I'm doing a bunch of video encoding for a variety of devices and platforms. I've bounced back and forth a few times between mencoder and ffmpeg. Which do you recommend and why?

Side question: From googling it seems that mencoder uses ffmpeg. Does it do this all the time or only when it deems necessary?

解决方案

You are right, mencoder uses ffmpeg. Mencoder is actually a universal interface to a number of different codecs or codec libraries like ffmpeg. So, beyond ffmpeg, mencoder can be compiled with support to x264, xvid, lame mp3 and various others that I haven't used. The point is that if you have the correct mplayer/mencoder binary you will get support for many more codecs than the ones ffmpeg supports (especially those with restrictive licenses). Also, you don't lose any of the functionality of ffmpeg using mencoder since you may pass every option you want to the corresponding ffmpeg codec. So I recommend mencoder.

Concerning your side question, you are declaring which codec will be used by mencoder through the ovc and oac command line switches. Try mencoder -ovc help and mencoder -oac help to see which video and audio codecs are supported by your mencoder binary. You may take a look here to find out more about the video / audio codecs. It explains lavc (libavcodec library of ffmpeg), xvid and mp3lame.

Beyond these, I have also used x264 with mencoder which is very useful and I recommend getting a binary with support for that codec.

这篇关于ffmpeg vs mencoder的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆