在Linux CLI上将常见视频格式转换为FLV的最佳工具是什么? [英] What is the best tool to convert common video formats to FLV on a Linux CLI

查看:195
本文介绍了在Linux CLI上将常见视频格式转换为FLV的最佳工具是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经分配到一个新产品的部分工作涉及服务器端的'普通'视频格式转换为Flash可以播放的东西。



据我所知,我唯一的选择是转换为FLV。我已经给了ffmpeg一个去处,但是我发现有几个WMV文件出现乱码声音(我尝试使用音频播放)。



有没有其他'好'CLI转换器的Linux?或者还有Flash可以播放的其他视频格式?Flash Player可以播放下列格式的文件:

解决方案

 带有AAC或MP3音频的FLV,以及FLV1(Sorenson Spark H.263),VP6或H.264视频。 AAC或MP3音频的
MP4和H.264视频(mp4必须用qt-faststart或mp4box来暗示)。

ffmpeg是一个很好的转换工具, mencoder的工作更好的模糊和专有格式(由于w32codecs二进制解码器包),但它的muxing是不是最理想的(阅读:往往是完全破碎)。一个解决方案可能是通过mencoder将x264编码为H.264,然后将mux与mp4box分开。

作为x264的开发者(以及在线视频回放),我已经有了相当多的经验,所以如果你需要更多的帮助,我也可以在#x264,#ffmpeg和#mplayer的Freenode IRC上使用。

Part of a new product I have been assigned to work on involves server-side conversion of the 'common' video formats to something that Flash can play.

As far as I know, my only option is to convert to FLV. I have been giving ffmpeg a go around, but I'm finding a few WMV files that come out with garbled sound (I've tried playing with the audio rates).

Are there any other 'good' CLI converters for Linux? Or are there other video formats that Flash can play?

解决方案

Flash can play the following formats:

FLV with AAC or MP3 audio, and FLV1 (Sorenson Spark H.263), VP6, or H.264 video.
MP4 with AAC or MP3 audio, and H.264 video (mp4s must be hinted with qt-faststart or mp4box).

ffmpeg is an overall good conversion utility; mencoder works better with obscure and proprietary formats (due to the w32codecs binary decoder package) but its muxing is rather suboptimal (read: often totally broken). One solution might be to encode H.264 with x264 through mencoder, and then mux separately with mp4box.

As a developer of x264 (and avid user of flash for online video playback), I've had quite a bit of experience in this kind of stuff, so if you want more assistance I'm also available on Freenode IRC on #x264, #ffmpeg, and #mplayer.

这篇关于在Linux CLI上将常见视频格式转换为FLV的最佳工具是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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