Omxplayer does the business all right. I had a struggle for the audio. The winning line was
omxplayer -o hdmi <file> It came up full size, full speed, and seemed to have capacity to spare. omxplayer isn't as talkative as mplayer, but p pauses and q quits. Omxplayer is actually installed in the Debian Wheezy install for the pi. So it can be done. EDIT: the python script crashes on line 3 because it can't find the gtk module. |
Ok, that's good info, thanks.
http://elinux.org/Omxplayer http://www.raspberrypi.org/phpBB3/vi...p?f=22&t=21435 If Omxplayer won't stream Then make a named pipe (mkfifo) and stream to it, out of it. Use omxplayer instead. Assuming that omxplayer will play from a pipe. Code:
mkfifo abc.fifo Code:
youtube-dl http://blah/blah - | omxplayer - This thread shows Just how many ways that you can skin a cat with a Linux box, or board even, Just how versatile Linux and open source software is, Just how learning some basic Linux shell, command line, and basic shell scripting can make you functional across different platforms and devices, If no software exists that does exactly what you want, then easily make your own with what is extant. |
Omxplayer refuses standard input, pipes, etc, and only wants to see files. But as you pointed out, there's more that 1 way to do things if you are a little familiar with the Unix command line. I first tried this:
Quote:
Quote:
Quote:
In it's right place, the fifo is such a powerful tool. The pipsqueak was fast enough to handle the download and the playback simultaneously, and for sites amenable to youtube-dl, that certainly seems to be the way to go. A much higher hurdle is the nearby English channels. I'll look into that rtsp and rtmp stuff to see if I can make any progress there. How am I supposed to run the .php files? |
Quote:
Code:
mkfifo nutty.fifo && \ This script will probably work Code:
#!/bin/sh Quote:
Code:
Usage: omxplayer [OPTIONS] [FILE] |
That bash script works all right. It's a bit disconcerting because you see no output for 10 seconds, before the video starts. so youtube is sorted.
I actually had the binaries of rtmpdump,compiled burt they were hidden in a directory I use to make slackware packages for installation. The intention was to add rtsp stuff there as well. |
All times are GMT -5. The time now is 10:14 AM. |