mplayer で再生すると遅い
MPlayer は良く出来たソフトなんだけど、raspbian でmplayer を使うと動画がDelayする。
Starting playback... Unsupported PixelFormat 61 Unsupported PixelFormat 53 Unsupported PixelFormat 81 Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. [swscaler @ 0x15a2060] No accelerated colorspace conversion found from yuv420p to rgb565le.
こまったなぁと。諦めていたら
omxplayer というものを見つけた
mplayer だと遅延が多くて見ることが出来ない動画でも快適に見ることが出来る!
Omxplayer is a video player specifically made for the Raspberry PI's GPU made by Edgar (gimli)
Raspberry Pi のGPUに特化して作られているらしい。
OMXPlayer is a commandline OMX player for the Raspberry PI.
It was developed as a testbed for the XBMC Raspberry PI implementation
and is quite handy to use standalone.
raspberry Pi 最高じゃん?
epgrec に再生ボタンつけてraspberry Pi で再生できるよ!
キーボードから操作
startx をデフォにしたraspberry Pi にSSHでアクセスして、omxplayerをコマンドで叩く
omxplayer URL
ssh のリモート・アクセスで再生している状態で、キーボードを押すとスキップできる
Key bindings | Key Action |
---|---|
Space or p | Pause/Resume |
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 |
q | Exit OMXPlayer |
- | Decrease Volume |
+ | Increase Volume |
Left | Seek -30 |
Right | Seek +30 |
Down | Seek -600 |
Up | Seek +600 |
参考資料
RaspberryPiでストリーミングしながら動画をループ再生する — どこか遠くでのんびり怠惰に暮らしたい