1、OMXplayer支持硬解碼,因此是一個非常不錯的選擇。
2、支持格式目前知道的有:MKV、AVI、FLV、MP4
3、如果想用全屏播放,參數是:-r
4、如果想用HDMI輸出聲音,參數是:-o hdmi,並且有個前提:/boot/config.txt 里面設置HDMI_DRIVER=2
----------------------------------------------
$ omxplayer --help
Usage: omxplayer [OPTIONS] [FILE]
Options :
-h / --help print this help 幫助
-a / --alang language audio language : e.g. ger 音頻語言
-n / --aidx index audio stream index : e.g. 1 音頻流索引
-o / --adev device audio out device : e.g. hdmi/local 音頻輸出方式
-i / --info dump stream format and exit
-s / --stats pts and buffer stats 統計點和緩沖統計
-p / --passthrough audio passthrough
-d / --deinterlace deinterlacing 逐行掃描
-w / --hw hw audio decoding 硬件音頻解碼
-3 / --3d switch tv into 3d mode 切換電視到3D模式
-y / --hdmiclocksync adjust display refresh rate to match video 調整顯示器的刷新率以匹配視頻
-t / --sid index show subtitle with index 顯示字幕與索引
-r / --refresh adjust framerate/resolution to video 刷新調整幀率/分辨率視頻
z Show Info 顯示信息
1 Decrease Speed 減速
2 Increase Speed 加速
j Previous Audio stream 上一個音頻流
k Next Audio stream 下一個音頻流
i Previous Chapter 上一幀
o Next Chapter 下一幀
n Previous Subtitle stream 上一個字幕流
m Next Subtitle stream 下一個字幕流
s Toggle subtitles 切換字幕
d Subtitle delay -250 ms 字幕提前250毫秒
f Subtitle delay +250 ms 字幕延遲250毫秒
q Exit OMXPlayer 退出OMXPlayer
Space or p Pause/Resume 暫停/恢復
- Decrease Volume 音量減
+ Increase Volume 音量加
Left Arrow Seek -30 s
Right Arrow Seek +30 s
Down Arrow Seek -600 s
Up Arrow Seek +600 s