omxplayer and youtube-dl
Posted: Sat Aug 05, 2017 4:23 pm
Hello,
I'm trying to play youtube video using omxplayer and youtube-dl.
I use the latest "youtube-dl", here : https://github.com/rg3/youtube-dl/relea ... 2017.01.31
This is my youtube.sh script :
When running this, I get this :
"Invalid framerate 1000, using forced 25fps and just trust timestamps"
If instead of "best", I enter "mp4", I get the video output, but there's no audio.
Any solution to get video with audio working ?
Thanks,
Patrick
I'm trying to play youtube video using omxplayer and youtube-dl.
I use the latest "youtube-dl", here : https://github.com/rg3/youtube-dl/relea ... 2017.01.31
This is my youtube.sh script :
Code: Select all
#!/bin/bash
xdotool key ctrl+alt+d
omxplayer -o local "$(youtube-dl -g -f best `xsel`)"
"Invalid framerate 1000, using forced 25fps and just trust timestamps"
If instead of "best", I enter "mp4", I get the video output, but there's no audio.
Any solution to get video with audio working ?
Thanks,
Patrick