viewing multi media with only free-software

viewing multi media with only free-software. Issues around patent encumbered formats. ogg, ogv, webm, clive, cclive, youtube-dl, umplayer, minitube, gnash,



by Matt Lee Contributions — last modified January 04, 2011 11:39

Increasingly, proprietary software companies like Microsoft, Apple, and Adobe are pushing video and audio formats that restrict access and restrict software developers.

Thankfully, there is an alternative that can be played on all computers without restriction — Ogg. With Ogg, professional grade multimedia formats such as Vorbis, Theora, Speex and FLAC come to life!

Vorbis and Theora are used extensively by free software projects, artists and a growing number of music and video distributors.


How to view flash and youtube etc. Be it downloading youtube, streaming bbc iPlayer etc




will update the database

get-iplayer —type liveradio
will list all live radio each with a programme no. to listen or watch use get-iplayer -g (programme no)

$ get-iplayer -g 80142
will get the feed and start downloading it to your current directory. just play it in your fav player

get_iplayer v2.79, Copyright © 2008-2010 Phil Lewis
This program comes with ABSOLUTELY NO WARRANTY; for details use —warranty.
This is free software, and you are welcome to redistribute it under certain
conditions; use —conditions for details.

80142: liveradio, BBC Radio Scotland – live

INFO: 1 Matching Programmes
INFO: Checking existence of default version
INFO: flashaacstd1,realaudio1,wma1 modes will be tried for version default
INFO: Trying flashaacstd1 mode to record liveradio: BBC Radio Scotland – live
INFO: File name prefix = BBC_Radio_Scotland_live_2011-08-18_171513
RTMPDump v2.3
© 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: Can’t resume live stream, ignoring —resume option
ERROR: RTMP_HashSWF: couldn’t contact swfurl (HTTP error 301)
Connecting …
INFO: Connected…
Starting Live Stream
INFO: Metadata:
INFO: audiodatarate 128.00
INFO: audiocodecid mp4a
265.938 kB / 15.86 sec^Z


clive. #usage clive url


cclive. #usage cclive url


youtube-dl. #usage youtube-dl url


get-flash-videos #usage get-flash-videos url


umplayer. to watch videos in webm format

flashvideoreplacer plugin for iceweasel:


  1. ~/.bashrc: executed by bash(1) for non-login shells.
  2. see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
  3. for examples

cmatrix -s

  1. If not running interactively, don’t do anything
    -z "$PS1" && return
  1. don’t put duplicate lines in the history. See bash(1) for more options
  2. don’t overwrite GNU Midnight Commander’s setting of `ignorespace’.
  3. … or force ignoredups and ignorespace
  1. append to the history file, don’t overwrite it
    shopt -s histappend
  1. for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
  1. check the window size after each command and, if necessary,
  2. update the values of LINES and COLUMNS.
    shopt -s checkwinsize
  1. make less more friendly for non-text input files, see lesspipe(1)
    #usr && eval “$(SHELL=/bin/sh lesspipe)”
  1. set variable identifying the chroot you work in (used in the prompt below)
    if -z "$debian_chroot" && etc; then
    debian_chroot=$(cat /etc/debian_chroot)
  1. set a fancy prompt (non-color, unless we know we “want” color)
    case “$TERM” in
    xterm-color) color_prompt=yes;;
  1. uncomment for a colored prompt, if the terminal has the capability; turned
  2. off by default to not distract the user: the focus in a terminal window
  3. should be on the output of commands, not on the prompt

if -n "$force_color_prompt" ; then
if usr && tput setaf 1 >&/dev/null; then
# We have color support; assume it’s compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)

if "$color_prompt" = yes ; then
PS1=‘${debian_chroot:+($debian_chroot)}\[\03301;32m\\u@\h\[\03300m\:\[\03301;34m\\w\[\03300m\\$ ’
PS1=’${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ’
unset color_prompt force_color_prompt

  1. If this is an xterm set the title to user@host:dir
    case “$TERM” in
    PS1=“\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1”
  1. enable color support of ls and also add handy aliases
    if usr; then
    test -r ~/.dircolors && eval “$(dircolors -b ~/.dircolors)” || eval “$(dircolors -b)”
    alias ls=‘ls —color=auto’
    #alias dir=‘dir —color=auto’
    #alias vdir=‘vdir —color=auto’
#alias grep=‘grep —color=auto’ #alias fgrep=‘fgrep —color=auto’ #alias egrep=‘egrep —color=auto’


  1. some more ls aliases
    #alias ll=‘ls -l’
    #alias la=‘ls -A’
    #alias l=‘ls -CF’
    alias cl=‘clive’
    alias yt=‘youtube-dl -t -f 18 -c -A’
    alias yt43=‘youtube-dl -t -f 43 -c -A’
    alias gf=‘get_flash_videos 480p -p —player=“/usr/bin/mplayer”’
    1. BBC TV ## get-iplayer
      #get-iplayer -g 80002
      alias bbc1=‘get-iplayer -g 80002’
      #get-iplayer -g 80005
      alias bbc2=‘get-iplayer -g 80005’
      #get-iplayer -g 80004
      alias bbc3=‘get-iplayer -g 80004’
      #get-iplayer -g 80000
      alias bbc4=‘get-iplayer -g 80000’
      #get-iplayer -g 80003
      alias bbc3=‘get-iplayer -g 80003’
      #get-iplayer -g 80001
      alias news=‘get-iplayer -g 80001’
      #get-iplayer -g 80006
      alias cbbc=‘get-iplayer -g 80006’
      #get-iplayer -g 80007
      alias cbeebies=‘get-iplayer -g 80007’
    2. BBC RADIO ## get-iplayer
      alias r5lx=‘get-iplayer -g 80101’
      #BBC 5 live Sports Extra – live
      alias r6=‘get-iplayer -g 80102’
      #BBC 6 Music – live
      alias r7=‘get-iplayer -g 80103’
      #BBC 7 – live
      alias r1=‘get-iplayer -g 80132’
      #BBC Radio 1 – live
      alias r2=‘get-iplayer -g 80133’
      #BBC Radio 2 – live
      alias r3=‘get-iplayer -g 80134’
      #BBC Radio 3 – live
      alias r4xl=‘get-iplayer -g 80135’
      #BBC Radio 4 Extra – live
      alias r4fm=‘get-iplayer -g 80136’
      #BBC Radio 4 FM – live
      alias r4lw=‘get-iplayer -g 80137’
      #BBC Radio 4 LW – live
      alias r5=‘get-iplayer -g 80138’
      #BBC Radio 5 live – live
      alias rwm=‘get-iplayer -g 80156’
      #BBC WM – live
      alias wsi=‘get-iplayer -g 80158’
      #BBC World Service Intl – live
      alias ws=‘get-iplayer -g 80159’
      #BBC World Service – live
  1. Alias definitions.
  2. You may want to put all your additions into a separate file like
  3. ~/.bash_aliases, instead of adding them here directly.
  4. See /usr/share/doc/bash-doc/examples in the bash-doc package.

if .bash_aliases ; then
. ~/.bash_aliases

  1. enable programmable completion features (you don’t need to enable
  2. this, if it’s already enabled in /etc/bash.bashrc and /etc/profile
  3. sources /etc/bash.bashrc).
    if etc && ! shopt -oq posix; then
    . /etc/bash_completion