Browse Source

added correct backticks to the omxplayer command

master
then 3 years ago
parent
commit
a13f067c95
  1. 3
      README.md

3
README.md

@ -111,12 +111,13 @@ In case you are using a Raspberry Pi to generate the analog video signal for you
* `$ sudo apt-get install omxplayer`, a command line media player that is designed for HW acceleration on the RPI. Its capable of playing video RTMP streams as well.
* connect to tty1 from ssh:
`$ sudo chmod 666 /dev/tty1`
`$ script tty1`
Playing / streaming youtube videos
NOTE: download / update to the LATEST youtube-dl!!
`$ omxplayer 'youtube-dl -g -f mp4 <youtube-url>'`
<code>$ omxplayer &#96;youtube-dl -g -f mp4 'YI4hzzepEcI'&#96;</code>
(<youtube-url> can also be youtube ID, mind that when your ID has a dash, you must encapsulatethe id with single quotes)
(-f mp4: force mp4 (omxplayer cant play webm))

Loading…
Cancel
Save