mencoder_有用的Mplayer / Mencoder命令
生活随笔
收集整理的這篇文章主要介紹了
mencoder_有用的Mplayer / Mencoder命令
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
mencoder
mplayer/mencoder are powerful tools. This is a list of useful mplayer/mencoder commands.
mplayer / mencoder是功能強大的工具。 這是有用的mplayer / mencoder命令的列表。
提取音頻,將其轉換為PCM并將生成的波形文件寫入audio.wav: (Extract the audio, convert it to PCM and write the resulting wave file to audio.wav:)
mplayer -vo null -hardframedrop -ao pcm:file=audio.wav video.avi將.wav文件轉換為.mp3文件: (Convert .wav file to .mp3 file:)
lame -h out.wav out.mp3以15fps預覽當前文件夾中包含所有jpeg文件的視頻: (Preview a video composed of all jpeg files from the current folder at 15fps:)
mplayer "mf://*.jpg" -mf fps=15從當前文件夾的所有jpeg文件創(chuàng)建15fps視頻: (Create a 15fps video from all jpeg files of the current folder:)
mencoder "mf://*.jpg" -mf fps=15 -ovc lavc -o ./output.avi將視頻從秒6剪切到秒206(即200 + 6,output.avi的長度為200秒): (Cut a video from second 6 to second 206 (which is 200+6, the output.avi is 200 seconds long):)
mencoder big-file.avi -ss 6 -endpos 200 -ovc copy -oac copy -o output.avi將原始視頻轉換為ISO標準MPEG-4(兼容DivX 5,XVID)的視頻: (Convert raw videos into ISO standard MPEG-4 (DivX 5, XVID compatible) videos:)
mencoder source.avi -ovc lavc -oac lavc -ffourcc DX50 -lavcopts vcodec=mpeg4:vbitrate=400:v4mv:mbd=2:trell:autoaspect:dia=2:acodec=mp3:abitrate=32:vpass=1 -vf hqdn3d -o output.avi獲取有關視頻的信息: (Get informations about a video:)
mplayer -frames 0 -identify ./video.avi顯示所有mplayer過濾器列表: (Show all mplayer filter list:)
mplayer -vf help通過SSH連接播放音頻文件 (Play audio files over ssh connection)
ssh user@example.com "cat audio.mp3" | mplayer -cache 8192 -從FTP播放文件: (Play files from FTP:)
wget ftp://example.com/file.avi -O - | mplayer -cache 8192 -重復一個文件多次: (Repeat a file multiple times:)
mplayer file1 -loop 2 file2 -loop 1 file3 -loop 4記錄流: (Record stream:)
mplayer -dumpstream -dumpfile output.rm -cache 4096 rtsp://example.com/file.rmUpdate history:
Jun 23, 2010. Correct the errors about vcodec and endpos options.
更新歷史:
2010年6月23日。更正有關vcodec和endpos選項的錯誤。
翻譯自: https://www.systutorials.com/useful-mplayermencoder-commands/
mencoder
總結
以上是生活随笔為你收集整理的mencoder_有用的Mplayer / Mencoder命令的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 阿里在数据库智能优化路上_做了哪些探索与
- 下一篇: python绘图3d_超好看的3D绘图方