LinuxQuestions.org
Review your favorite Linux distribution.
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-04-2011, 08:01 AM   #46
Groware
Member
 
Registered: Sep 2011
Location: Brisbane, Australia
Distribution: 11.04
Posts: 30

Original Poster
Rep: Reputation: Disabled

Thanks Cascade 9. I posted a 'Quick Reply' about 15 mins ago, but it must have got lost. I said... thanks for info about Chromium, and remarked that, looking back, we were attempting to install libflashplayer.so into mozilla/plugins (I couldn't find a plugins folder in mozilla, anyway) -- isn't that too localised if we expect Chromium (and maybe Opera) to use it??
Repo... what browser did you use to receive BBC, please?
 
Old 10-04-2011, 08:09 AM   #47
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Repo... what browser did you use to receive BBC, please?
Firefox 7.01
Google chrome 10.0.648.204
Opera 11.50

Kind regards
 
Old 10-04-2011, 08:17 AM   #48
Groware
Member
 
Registered: Sep 2011
Location: Brisbane, Australia
Distribution: 11.04
Posts: 30

Original Poster
Rep: Reputation: Disabled
Well that's very convincing ! Thanks for your interest. I'm in the process of Removing and re-Installing FlashPlayer. Just in the hope it work. (I think i did this a couple of times already). Stay tuned!
 
Old 10-04-2011, 08:49 AM   #49
Groware
Member
 
Registered: Sep 2011
Location: Brisbane, Australia
Distribution: 11.04
Posts: 30

Original Poster
Rep: Reputation: Disabled
Well, gentlemen -- it didn't make any difference. I think I'll have to turn in soon (wish I was around your side of the planet!).
 
Old 10-04-2011, 10:44 AM   #50
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Things I would do:
Boot from a live cd and see if that works
Create a new user, and see if that works.

Kind regards
 
Old 10-05-2011, 01:14 AM   #51
Groware
Member
 
Registered: Sep 2011
Location: Brisbane, Australia
Distribution: 11.04
Posts: 30

Original Poster
Rep: Reputation: Disabled
Get iplayer -LIVE

Kenhelm... a couple of days ago you suggested I run:
"get_iplayer --stream --type=liveradio "Radio 3" --player="mplayer -cache 64 -"
Feeling a little more confident in Terminal now, I ran it today. The result is attached; -- it's a long text! Notably it got to a point where it was just reading data and incrementing a cache. Note:NO SOUND WAS AUDIBLE. After about 30 secs I Ctrl-C'd to kill it. There followed a lengthy discourse as you can see, before it wound up. I have deleted a lot of repetitive lines from the centre section.

I don't know whether you (or others) can deduce anything from this.
Since it seems everybody else can receive these programs, I wonder what is missing from my system ? As I have said... I can apparently receive all other audio streams OK.
Any thoughts?

Repo.. thanks for your reply... I note you can receive on all three browsers.
Attached Files
File Type: txt Terminal-Get iplayer_LIVE.txt (8.7 KB, 10 views)
 
Old 10-05-2011, 04:53 AM   #52
Kenhelm
Member
 
Registered: Mar 2008
Location: N. W. England
Distribution: Mandriva
Posts: 336

Rep: Reputation: 141Reputation: 141
Quote:
WARNING: Couldn't open cache file '/home/iri/.get_iplayer/liveradio.cache'
When you ran 'sudo get_iplayer' a few days ago it could have resulted in the '/home/iri/.get_iplayer' directory or some of its files being owned by root. If the files are owned by root then 'get_iplayer' can't open them when run as a normal user.
Try entering these commands into a terminal
Output User and Group of the directory:
Code:
stat -c '%U %G %n' /home/iri/.get_iplayer
Output User and Group of the files in the directory:
Code:
stat -c '%U %G %n' /home/iri/.get_iplayer/*
If you see 'root' in the output of the above commands, run this command. It gives 'iri' to the directory and its files as User and Group. Then run the above 'stat' commands again to make sure it has worked.
Code:
sudo chown -R iri:iri /home/iri/.get_iplayer
When testing 'get_iplayer' to stream a programme (rather than live radio) ask for a news programme because some music and sport programmes aren't available outside Britain.
Code:
get_iplayer --stream --type radio 'News Headlines' --player='mplayer -cache 3072 -'

get_iplayer --stream --type radio 'News Headlines' --player='vlc -'

get_iplayer --stream --type radio 'News Headlines' --player='ffplay -'
 
Old 10-05-2011, 07:30 AM   #53
Groware
Member
 
Registered: Sep 2011
Location: Brisbane, Australia
Distribution: 11.04
Posts: 30

Original Poster
Rep: Reputation: Disabled
Funny things

Well, Kenhelm... I have spent some time at the terminal -- checking ownership as you suggested, changing it, then testing three sets of instructions as follows:
1. Checked and found,as you suspected, root ownership. So:
2. Changed it to "iri". Then:
3. Ran the first News Headlines script with cache 3072. Result in "Terminal-ChowntoIRI-get_iplayer3072" attached. --P.S-- I find I am limited to 3 files so will put this on another POST.
4. Ran second script -- see "Terminal-get_iplayerVLC. It didn't like this and suggested I use 'CVLC', which I did...
5 Repeat of 4, using CVLC. Result-- very large output which I suspect overfilled the buffer so I could only copy the last (many) lines. I suspect now that that left something running; it seems to have been partially successful -- But still no sound. Refer "Terminal-IRI-getiplayerCVLC1-ToEnd"
6. In an attempt to capture the first few lines of the above output, I ran it again. But the output was different, shorter, because as above, I think there was something still running. I stopped it with Ctrl-C. Refer "Terminal-IRI-getiplayerCVLC2-Startagain".

By now, I'm exhausted... and so are you ! So I'll leave it with you for now -- thanks again for all your effort to help. I feel we made some progress.
 
Old 10-05-2011, 07:40 AM   #54
Groware
Member
 
Registered: Sep 2011
Location: Brisbane, Australia
Distribution: 11.04
Posts: 30

Original Poster
Rep: Reputation: Disabled
Pt.2.

This is purely to accompany the first Terminal output list, which includes the ownership test and change.
I'm going to run out of space soon. I have asked an Administrator how we can extend -no answer yet. I have already deleted a couple of early screen grabs.
I must be off soon....
Attached Files
File Type: txt Terminal-ChownToIRI-get_iplayer3072.txt (15.8 KB, 7 views)
 
Old 10-05-2011, 03:00 PM   #55
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934
Quote:
Originally Posted by Groware View Post
(wish I was around your side of the planet!).
Err...I'm in the same city as you. Maybe a different side of the river?
 
Old 10-05-2011, 10:55 PM   #56
Kenhelm
Member
 
Registered: Mar 2008
Location: N. W. England
Distribution: Mandriva
Posts: 336

Rep: Reputation: 141Reputation: 141
From "Terminal-ChowntoIRI-get_iplayer3072"
Quote:
Code:
iri@GROWARE50:~$ get_iplayer --stream --type radio 'News Headlines' --player='mplayer -cache 64 -'
get_iplayer v2.79, 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.

INFO: Getting radio Index Feeds
WARNING: Failed to get programme index feed for bbc_radio_manchester from iplayer site
WARNING: Failed to get programme index feed for bbc_radio_manchester from iplayer site
WARNING: Failed to get programme index feed for bbc_radio_manchester from iplayer site
WARNING: Failed to get programme index feed for bbc_radio_norfolk from iplayer site
# etc
The above looks like a temporary network problem. get_iplayer was trying to create its radio database from the BBC iplayer site but for some reason couldn't . (In a later attempt it succeeded.) Because it didn't have the database it couldn't work out the URL for 'News Headlines' and so failed to stream the programme.

From "Terminal-IRI-getiplayerCVLC1-ToEnd"
Quote:
Code:
Added: 12780:	The Sunday Phone-In - 02/10/2011, BBC Guernsey, Factual,Radio
Added: 12781:	The Sunday Programme - 02/10/2011, BBC Kent, Radio,Religion & Ethics
Added: 12782:	The Sunday Request Show - 02/10/2011, BBC Devon, Music,Radio
# etc.
The above is get_iplayer updating its database. It has to do it regularly because the programme index numbers keep changing as new programmes are added to the iplayer. Once it has updated its database there is a period when it doesn't need to make any more changes; that is why when you ran the command the second time the output was shorter.


From "Terminal-IRI-getiplayerCVLC2-Startagain".
Quote:
Code:
Matches:
11732:	News Headlines - 02/10/2011, BBC Radio 4, News,Radio

INFO: 1 Matching Programmes
INFO: Checking existence of default version
INFO: flashaaclow1,wma1 modes will be tried for version default
INFO: Trying flashaaclow1 mode to record radio: News Headlines - 02/10/2011
INFO: File name prefix = News_Headlines_-_02_10_2011_b0153yn9_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.001 kB
Metadata:
  duration              330.14
  moovPosition          36.00
  audiocodecid          mp4a
  aacaot                2.00
  audiosamplerate       22050.00
  audiochannels         1.00
tags:
  ©alb                 News Headlines
  aART                  BBC Radio 4 FM
  ©ART                 BBC Radio 4 FM
  ©cmt                 The latest national and international news.
  cprt                  British Broadcasting Corporation Copyright 2011, all rights reserved.
  ©gen                 Podcast
  ©nam                 News Headlines 02 10 2011
  ©day                 2011
trackinfo:
  length                14559232.00
  timescale             44100.00
  language              und
sampledescription:
  sampletype            mp4a
33.442 kB / 5.20 sec (1.5%)^C[0x9cf36ac] signals interface error: Caught Interrupt signal, exiting...
					*********************** Ctr-C here *****************
INFO: Cleaning up (signal = INT), killing PID=4065:.
Caught signal: 2, cleaning up, just a second...
ERROR: Download: Failed writing, exiting!
The part highlighted in red indicates the programme was just starting to be streamed; but then it was killed with CTRL C. Had the stream frozen at that point or did you kill it because there was no sound after a few seconds of streaming and you thought that meant it had failed?
It has to fill a buffer first before you hear anything, so a period of silence at the start of streaming is normal.
On my system I see this before I hear the sound
5128.059 kB / 313.77 sec (95.0%)

Last edited by Kenhelm; 10-05-2011 at 11:01 PM.
 
1 members found this post helpful.
Old 10-06-2011, 03:12 AM   #57
Groware
Member
 
Registered: Sep 2011
Location: Brisbane, Australia
Distribution: 11.04
Posts: 30

Original Poster
Rep: Reputation: Disabled
Another try

Thanks, Kenhelm, for taking the time to browse through the large terminal outputs. I have repeated it all this time - but left it running to completion the third time. Note third because second time it had to update more programme index numbers and ran 'over the edge' like the first trip. As an experiment I let it run again right through -- and it was much faster.

First and last are attached - note still no sound; I am familiar with the initial pause to fill sound buffer, but generally only 5-10 secs. You'll see that it ran for 5 mins, 30 secs. Note also that it spends some time in the line I have de-marked with "***********" (near the top) with the cursor flipping between the two zeroes (about 10 secs) then proceeds onwards. Presumably filling that cache with something.

But still no sound !. I know I'm getting boring.
 
Old 10-06-2011, 07:36 PM   #58
Kenhelm
Member
 
Registered: Mar 2008
Location: N. W. England
Distribution: Mandriva
Posts: 336

Rep: Reputation: 141Reputation: 141
From "Terminal-IRI-get_iplayer3072#2-COMPLETE.txt"
Quote:
INFO: Streaming completed successfully
A: 329.7 (05:29.7) of 330.1 (05:30.1) 6.6% 0%

Exiting... (End of file)
get_iplayer is claiming to have successfully streamed the programme; perhaps that means the fault is in your sound system.
In that case I can't help because I don't have any experience in configuring Ubuntu's sound.
 
Old 10-06-2011, 10:14 PM   #59
Groware
Member
 
Registered: Sep 2011
Location: Brisbane, Australia
Distribution: 11.04
Posts: 30

Original Poster
Rep: Reputation: Disabled
Thanks for your help Kenhelm, I shall explore further.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:33 PM.

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