LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-02-2011, 06:34 AM   #31
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898

No problem here.
For the video I get
"not available in your aria"
Radio works OK

Kind regards
 
Old 10-02-2011, 07:37 AM   #32
Kenhelm
Member
 
Registered: Mar 2008
Location: N. W. England
Distribution: Mandriva
Posts: 333

Rep: Reputation: 141Reputation: 141
It was mentioned near the start of the thread that you have 'get_iplayer'
In that case you might be able to download the iplayer media files without using Firefox.
'get_iplayer' is a command line substitute for the BBC iplayer.
It downloads the files so that they can be played in your own player, such as vlc or mplayer.
(Note: 'get_iplayer' needs 'flvstreamer' to be installed to access some media types.)

I use 'get_iplayer' in Mandriva 2010.2:
Code:
get_iplayer -V                  # Output the program version:
get_iplayer v2.78, Copyright (C) 2008-2010 Phil Lewis
The following command creates a large text file (approx. 1.7MB) containing a list of all the available downloads with their index numbers (it also prints the list to the terminal window). The index numbers can be used to download the files. The index numbers keep changing, so you have to make sure that you are using the latest ones.
Code:
get_iplayer --refresh --type all | tee get_iplayer_refresh_all.txt
Another way to get the index numbers is to search for the program name:
Code:
get_iplayer --type radio 'Through the Night'

# There could be some screen output here while get_iplayer updates its caches. Then

Matches:
12847:  Through the Night - 26/09/2011, BBC Radio 3, Classical,Music,Radio
12848:  Through the Night - 27/09/2011, BBC Radio 3, Classical,Music,Radio
12849:  Through the Night - 28/09/2011, BBC Radio 3, Classical,Music,Radio
12850:  Through the Night - 29/09/2011, BBC Radio 3, Classical,Music,Radio
12851:  Through the Night - 30/09/2011, BBC Radio 3, Classical,Music,Radio
12852:  Through the Night - 01/10/2011, BBC Radio 3, Classical,Music,Radio
12853:  Through the Night - 02/10/2011, BBC Radio 3, Classical,Music,Radio

INFO: 7 Matching Programmes
To download a program using its index number:
Code:
get_iplayer --get 12853

get_iplayer v2.78, Copyright (C) 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.

Matches:
12853:  radio, Through the Night - 02/10/2011, BBC Radio 3, Classical,Music,Radio

INFO: 1 Matching Programmes
INFO: Checking existence of default version
ERROR: Failed to get iphone URL from iplayer site

INFO: flashaacstd1,flashaaclow1,wma1 modes will be tried for version default
INFO: Trying flashaacstd1 mode to record radio: Through the Night - 02/10/2011
INFO: File name prefix = Through_the_Night_-_02_10_2011_b0159f80_default                 
WARNING: Your version of flvstreamer/rtmpdump does not support SWF Verification
FLVStreamer v2.1c1
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
Starting download at: 0.000 kB
Metadata:
  duration              22201.04
  moovPosition          36.00
  audiocodecid          mp4a
  aacaot                2.00
  audiosamplerate       44100.00
  audiochannels         2.00
tags:
  ©alb                 Through the Night
  aART                  BBC Radio 3
  ©ART                 BBC Radio 3
  ©cmt                 Jonathan Swain presents chamber music by Rachmaninov and Medtner, recorded in Paris.
  cprt                  British Broadcasting Corporation Copyright 2011, all rights reserved.
  ©gen                 Podcast
  ©nam                 Through the Night 02 10 2011
  ©day                 2011
trackinfo:
  length                979065856.00
  timescale             44100.00
  language              und
sampledescription:
  sampletype            mp4a
10716.907 kB / 443.66 sec (1.9%)^C    # I stopped the download with CONTROL C
INFO: Cleaning up (signal = INT), killing PID=23859:.
Caught signal: 2, cleaning up, just a second...
10916.155 kB / 451.91 sec (2.0%)
Download may be incomplete (downloaded about 2.00%), try resuming
The program is downloaded to a file:
'Through_the_Night_-_02_10_2011_b0159f80_default.partial.aac.flv'
When the download is complete 'partial' is removed from the file name

Some 'get_iplayer' command examples:
http://linuxcentre.net/getiplayer/documentation

Last edited by Kenhelm; 10-02-2011 at 07:48 AM.
 
Old 10-02-2011, 08:48 AM   #33
Groware
Member
 
Registered: Sep 2011
Location: Brisbane, Australia
Distribution: 11.04
Posts: 30

Original Poster
Rep: Reputation: Disabled
Thank you Kenhelm. Your info re 'Linuxcentre' and the downloading is great, but did you actually stream the programme and listen to it? I omitted to instruct above to choose one of the seven(?) programmes available and THEN to 'Listen Now. This will bring up the BBC iPlayer as per my grabs above. That's when it just hangs.

I appreciate your instructions re downloading and recording. But I just want to listen to the programmes in 'Listen again' mode,-- or 'Live' mode; which is what I did in Windows today. I understand that here in Aust.-land we cannot get BBC TV, but that doesn't worry me.

Thank you for your help... can you stream as above ?
I think I must retire now it's getting late here. Will check again ASAP.
 
Old 10-02-2011, 09:36 AM   #34
Kenhelm
Member
 
Registered: Mar 2008
Location: N. W. England
Distribution: Mandriva
Posts: 333

Rep: Reputation: 141Reputation: 141
All of these commands work for me.

Stream a programme in mplayer/vlc/ffplay while not recording it to disk:
Code:
get_iplayer --stream 12853 --player="mplayer -cache 3072 -"
get_iplayer --stream 12853 --player="vlc -"
get_iplayer --stream 12853 --player="ffplay -"
get_iplayer --stream 12853 | mplayer -cache 3072 -
Stream a High Quality Live BBC iPlayer Radio programme to mplayer while not recording it to disk:
Code:
get_iplayer --stream --type=liveradio "Radio 3" --player="mplayer -cache 64 -"
I have ffmpeg and flvstreamer installed, as well as mplayer and vlc.
The ffplay media player is part of the ffmpeg package.
The external programs required are given here
http://linuxcentre.net/getiplayer/download
though it's best to install them from your distributions official repositories.

Last edited by Kenhelm; 10-02-2011 at 10:56 AM. Reason: Added the last paragraph.
 
Old 10-02-2011, 05:49 PM   #35
Groware
Member
 
Registered: Sep 2011
Location: Brisbane, Australia
Distribution: 11.04
Posts: 30

Original Poster
Rep: Reputation: Disabled
Thank you again, Kenhelm for your detailed assistance. I shall test as you suggest ASAP.
 
Old 10-03-2011, 06:05 AM   #36
Groware
Member
 
Registered: Sep 2011
Location: Brisbane, Australia
Distribution: 11.04
Posts: 30

Original Poster
Rep: Reputation: Disabled
Same again

Kenhelm, THANKS again -- I have installed 'gnash' using: sudo apt-get install gnash; and also 'adobe-flashplugin','mplayer', 'vlc' using the same command. Some of these I found in a "Ubuntu-Lucid-Guide" which I had downloaded some time ago. Prior to that I had installed 'ffmpeg' (including 'ffplay media'), 'vlc' and 'mplayer' via the Ubuntu Software Centre.

Then I tried to get a BBC programme using F/Fox as per attached. Still the same silence!
Incidentally I have also tried using Google Chromium with same result.
Then I tried your Terminal command: "get iplayer --stream 12583....etc" as you see in the grab attached. It ran for a while (approx.30 secs) with the cursor flashing back &forth between "0.00%" and "0 bytes" on one line in the middle of the Terminal window - then exited, apparently at end of file. BUT NO SOUND, I fear.

I had previously tested my audio system (hardware) on this laptop -- I discovered it, also, had a problem earlier - but OK now. I notice that 'flvstreamer' is not in the list above, but checking shows it is already installed.
Can anybody tell me why I can't just click on "LISTEN NOW" like others in that "hanging-prone" Windoz ?? PLEASE.
Attached Thumbnails
Click image for larger version

Name:	FullScreen-mplayer3072.jpg
Views:	10
Size:	133.9 KB
ID:	8100  
 
Old 10-03-2011, 06:25 AM   #37
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
I see a line
"error opening file for writing"
in your screenshot.
Do you have the correct permissions and ownerships on your /home partition or directory?
Do you allow cookies?
Any addons which could cause problems?
What happens if you use another browser?

Kind regards
 
Old 10-03-2011, 06:35 AM   #38
Groware
Member
 
Registered: Sep 2011
Location: Brisbane, Australia
Distribution: 11.04
Posts: 30

Original Poster
Rep: Reputation: Disabled
Here's food for thought... I have run the command "get-iplayer -- get 12853" as per previous Kenhelm page. It seems something is happening, but I still can't hear anything ! Refer attached for detailed listing.
Attached Thumbnails
Click image for larger version

Name:	Terminal-GetIplayer-part1.png
Views:	9
Size:	56.3 KB
ID:	8101   Click image for larger version

Name:	Terminal-GetIplayer-part2.png
Views:	9
Size:	186.0 KB
ID:	8102  
 
Old 10-03-2011, 06:39 AM   #39
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Again,
did you verified the permissions and ownerships of your /home partition/directory?
Any firewall?

Kind regards

Last edited by repo; 10-03-2011 at 06:40 AM.
 
Old 10-03-2011, 06:45 AM   #40
Groware
Member
 
Registered: Sep 2011
Location: Brisbane, Australia
Distribution: 11.04
Posts: 30

Original Poster
Rep: Reputation: Disabled
To Repo... Yes, as far as I know, I allow cookies. I have not barred them. I have tested with "Chromium" (Google's Linux Chrome) -- same result. As for permissions/ownerships... how do I find out. In short -- Don't know.

EDIT.. Re verifying ownership - no. Not sure how to.
--Groware (Rex)

And NO FIREWALL !

Last edited by Groware; 10-03-2011 at 07:12 AM. Reason: answer question
 
Old 10-03-2011, 07:09 AM   #41
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
The default permissions are 755

Kind regards
 
Old 10-03-2011, 07:27 AM   #42
Groware
Member
 
Registered: Sep 2011
Location: Brisbane, Australia
Distribution: 11.04
Posts: 30

Original Poster
Rep: Reputation: Disabled
Do I enter "chmod 755... "? But where ? Sorry, not familiar with Bash (If this is Bash)!
Where are these files please?

EDIT... I'm studying up Bash. Back tomorrow morning.

Last edited by Groware; 10-03-2011 at 09:07 AM. Reason: Update
 
Old 10-04-2011, 06:01 AM   #43
Groware
Member
 
Registered: Sep 2011
Location: Brisbane, Australia
Distribution: 11.04
Posts: 30

Original Poster
Rep: Reputation: Disabled
I have found that I can listen to BBC World Service News bulletin (5-minute news bulletin, not "Live"); and "WCPE" broadcasting on-line from Nth.America on the following URL's:

http://www.bbc.co.uk/worldservice/au...=news_bulletin
and
http://www.wcpe.org/internet.shtml#MP3 -- and no doubt many others, too.

But I still cannot get the BBC iPlayer. Is there anybody out there that CAN ??

The latter (WCPE) sends out several formats, this is MP3, I also received them on "Ogg Vorbis" (which may be MP3 also); both via "Media Player". They offer choices from their web-site. How can I find what protocol BBC uses in iPlayer? It should be handled by Adobe-Flash Plugin, but even the latest version doesn't. I have '10.3.183.10-0natty1' installed. This is as recommended by BBC.

I repeat... can anybody out there receive a BBC Radio program... "Live" or "Listen Again" ???
 
Old 10-04-2011, 06:07 AM   #44
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
But I still cannot get the BBC iPlayer. Is there anybody out there that CAN ??
yes

Kind regards
 
Old 10-04-2011, 06:44 AM   #45
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,718

Rep: Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906
http://www.bbc.co.uk/iplayer/radio

Works here...radio only of course, video is UK only.

BTW, aptosid X86-64/KDE, and iplayer works with firefox6 and opera 11.50 here.

Quote:
Originally Posted by Groware View Post
I have tested with "Chromium" (Google's Linux Chrome) -- same result.
Just FYI, Chromium is not 'linux chrome'. Chromium is the open source project that google takes code from, then closes the code (with possible modifications) and releases it as chrome.

There is also Chrome releases for linux, not just chromium.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BBC Iplayer Desktop martk20 Linux - Software 1 09-02-2009 03:32 AM
BBC iplayer radio on Mandriva davholla Linux - Software 6 12-05-2008 06:37 AM
I cannot view eg BBC iplayer as I used to mattnorb Linux - Software 16 12-01-2008 02:46 AM
BBC Rolls Out iPlayer with DRM vxc69 General 11 07-01-2007 09:08 PM
BBC To Launch iplayer on demand TV Kirmonkey Linux - News 12 05-16-2007 05:46 AM


All times are GMT -5. The time now is 08:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration