FA26Z


omxplayer GUI
-------------

INSTALLATION

  https://github.com/KenT2/tboplayer

Instructions for installation on the official Raspbian image:

To use the installer, from a terminal window open in your home directory, type:

  # skip this first line if you have already downloaded and extracted the tarball
  wget https://github.com/KenT2/tboplayer/tarball/master -O - | tar xz
  cd KenT2-tboplayer-* && chmod +x setup.sh && ./setup.sh

After that, TBOPlayer will have been installed on your system. To run it, just type 'tboplayer', or use the shortcut created in your Desktop.

If you prefer to install it manually, do as follows:
Update omxplayer

Ensure you have the latest version of omxplayer by typing the following in a terminal window open in the home directory:

  sudo apt-get -y update
  sudo apt-get --upgrade-only omxplayer

Install pexpect

From a terminal window, type to install pip if you don't have it yet

  sudo apt-get install -y python-pip

Then to install pexpect, in the terminal window, type

  sudo pip install pexpect ptyprocess

Install gobject

From a terminal window, type

  sudo apt-get install -y python-gobject-2

Download and Install TBOPlayer

From a terminal window open in your home directory, type:

  wget https://github.com/KenT2/tboplayer/tarball/master -O - | tar xz

There should now be a directory 'KenT2-tboplayer-xxxx' in your home directory. Rename the directory to tboplayer.

Open a terminal window and type:

  python /path/to/tboplayer.py

TBOPlayer is developed on Raspbian Wheezy with python 2.7

Note: If you want to be able to watch videos from online services like Youtube, then you must have up-to-date youtube-dl installed on your system, as well as either avconv 9.14+ or ffmpeg 0.8.17

omxplayer icon
--------------

  [Desktop Entry]
  Type=Application
  Name=OMXPlayer
  Categories=AudioVideo;Player;
  Exec=lxterminal --command "omxplayer -o hdmi %f"
  Exec=xterm -fullscreen -fg black -bg black -e omxplayer -o hdmi -r %f
  Exec=xterm -fullscreen -fg black -bg black -e omxplayer -o local -r %f
  Terminal=false
  Icon=/usr/share/icons/nuoveXT2/96x96/categories/applications-multimedia.png

omxplayer Hotkeys
-----------------

Key bindings
Key Action
1 Increase Speed
2 Decrease 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
Space or p Pause/Resume
- Decrease Volume
+ Increase Volume
Left Seek -30
Right Seek +30
Down Seek -600
Up Seek +600

omxplayer Background
--------------------

  omxplayer -b

It works both on the terminal and in X. This feature should be in the current version available in raspbian.

Exploiting bug:

  #!/bin/bash
  DISP=$(sudo fgconsole)
  IFX=$(fgconsole 2>/dev/null)
  /opt/vc/bin/tvservice -p >/dev/null
  /opt/vc/bin/tvservice -o >/dev/null
  /opt/vc/bin/tvservice -p >/dev/null
  /usr/bin/omxplayer "$*" >/dev/null
  if [ -z "$IFX" ]; then
     sudo chvt 1
     fbset -depth 8
     fbset -depth 16
     sudo chvt "$DISP"
  else
     fbset -depth 8
     fbset -depth 16
  fi

RTMPDump
--------

Install rtmpdump
  sudo apt-get install rtmpdump
Create Named Pipe
  mkfifo /tmp/livevideo
Play RTMP stream
  rtmpdump -r rtmp://url_of_stream/ --live -o /tmp/livevideo | omxplayer -b /tmp/livevideo

Some streams discovered
-----------------------

  rtmp://194.36.162.51:80/live/etv
  rtmp://194.36.162.51:80/live/etv2
  rtmp://194.36.162.51:80/live/etvpluss

  rtsp://ewns-hls-b-stream.hexaglobe.net/rtpeuronewslive/en_vidan750_rtp.sdp

Links
-----

http://foorum.hinnavaatlus.ee/viewtopic.php?p=8493072
http://www.instructables.com/id/View-RTMP-Stream-on-Raspberry-Pi/
https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=13328
https://www.raspberrypi.org/forums/viewtopic.php?f=30&t=14242
http://raspberrypi.stackexchange.com/questions/3268
     /how-to-disable-local-terminal-showing-through-when-playing-video