raspberry pi, omxplayer(4) Do not display status information on screen

f:id:goldenmilk:20170402231211j:plain

When I try to play the video loop, the end of the video displayed the information!

So I surched to how to solve it.

If you use omxplayer for the exhibition, you may use "loop".

The default system display the status information.

So you have to write on the console alike that.

 

omxplayer --loop --no-osd example.mp4

It have many options.


The basic usage is that. 

omxplayer [OPTIONS] [FILE]

 

If you shut down the omxplayer, use Ctrl+C

 

Now, I serched to how to use "--refresh"

It is fun to solve the ploblem little by little!

 

 

早速ヴィデオをループで再生したのですが、最後にインフォメーションが表示されてしまいました。

そこで、解決方法をさがしました…。 

展示などで使う場合はループすると思うので、デフォルトで表示されてしまう

ステータスの字幕を消さないといけません。

「--loop」がループのオプション、「--no-osd」がステータスを表示しないオプションです。

 

omxplayer --loop --no-osd example.mp4

 

ループさせて、ステータス表示がオフになるはずです。

 

少しずつ解決していくのは楽しいですね!

 

今はrefreshをかけようとするとうまくいかないので、模索中です。