RVideo视频处理 RVideo
jopen
13年前
<p>RVideo 是 一个调用unix命令来对视频和音频文件进行处理的ruby库</p> <pre>sudo gem install rvideo sudo port install ffmpeg file = RVideo::Inspector.new(:file => "#{FILE_PATH}/filename.mp4") file.video_codec # => mpeg4 file.audio_codec # => aac file.resolution # => 320x240</pre> <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1326625375906" target="_blank">http://www.open-open.com/lib/view/home/1326625375906</a></p>