LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-30-2004, 04:57 PM   #1
kozaki
Member
 
Registered: Jun 2004
Location: France, UE
Distribution: Arch Linux, Bodhi, Debian, Mageia, OpenMediaVault, Q4OS
Posts: 133

Rep: Reputation: 20
Lightbulb App to download streamed audio file ?


Is there any command-line (or front-end) app to download streamed audio file ?

I wish i could record Real streamed audio file, like i once did on Windoze (with SilentBob).

Here are the apps i've been looking to / I tried :

- Streamripper looks good, but only shoutcast (mp3)
- xmms & plugin : same limitation
- vsound : only for standard OSS apps (doesn't work with aoss / libaoss.so)
- streamer : didn't understand the man
- VLC : Very interesting app from Ecole Centrale guys at Paris (Fr), but the FAQ doesn't say anything about this subject.
- mplayer : "core dumped" :
Quote:
mplayer -dumpstream -dumpfile essai.rm http://bla.ram
Playing http://www.bla/MX20041030.ram.
Resolving www.bla for AF_INET6...
Couldn't resolve name for AF_INET6: www.bla
Resolving www.bla for AF_INET...
Connecting to server www.bla:80 ...
Cache size set to 8192 KBytes
Connected to server: www.bla
Resolving www.bla for AF_INET6...
Couldn't resolve name for AF_INET6: www.bla
Resolving www.bla for AF_INET...
Connecting to server www.bla:80 ...
Core dumped
So i found the following proposal interesting
Source http://linuxfr.org/~kobold/11138.html
Quote:
Download stream video
By JM F le 01/04/2004

One has to install 'live' librairy ($ urpmq -i live --> Summary : Live.com Streaming
Media Library)

After this is done, i've done this to download "Arrêt sur Images", and it runs very well :

$ wget -q http:SLASHSLASHwww.france5.fr/images/emissions/006052/28/006052_260304_28_0_56-256kb.ram -O
-rtsp://a1693.v5577d.c5577.g.vr.akamaistream.net/ondemand/7/1693/5577/1724454746/
lacinq.download.akamai.com/5577/internet/asi/006052_260304_28_0_56-256kb.rm

$ mplayer [rtsp_url] -dumpstream -dumpfile ASI_2004_03_03.dump

Then we can eventually watch the file while donwloading it. Just wait a little bit to download a few Mo, then in another terminal :

$ mplayer -forceidx ASI_2004_03_03.dump ça marche nickel.
But if i try to do the same (and on same serveur / web site) with wget, it won't work

I especially do not find his 1st wget command clear enough.


EDIT > add 'QUOTE' for code to be more clear.

Last edited by kozaki; 10-30-2004 at 05:00 PM.
 
Old 10-30-2004, 08:36 PM   #2
Evil Dogs
LQ Newbie
 
Registered: Oct 2004
Location: New Jersey
Distribution: Suse 9.1 Personal
Posts: 14

Rep: Reputation: 0
I can't help you with directly dumping a stream, but if you just want to record, you can try mp3record . Just make sure you already installed sox and lame. If you can hear it, mp3record will catch it. Run it from the command prompt.
 
Old 10-14-2005, 09:43 PM   #3
leosgb
Member
 
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
video stream

hi,

did you manage to do it? i read the french post that you suggested and tried it here. I am trying too download some rm llectures to watch them when i feel like.

So i did:
mplayer -dumpstream -dumpfile teste.ram -nocache -playlist http://fullpathtofile.rm

and it seems to work! But when i try to watch it using mplayer itself i get:
.
.
.
REAL file format detected.
======= WAVE Format =======
Format Tag: 26995 (0x6973)
Channels: 1
Samplerate: 16000
avg byte/sec: 16000
Block align: 320
bits/sample: 16
cbSize: 10
Unknown extra header dump: [0] [0] [6] [0] [3] [0] [40] [1] [0] [0]
===========================
VIDEO: RV20 [20203002,00029838] 320x240 (aspect 0.00) 30.00 fps
VIDEO: [RV20] 320x240 24bpp 30.000 fps 0.0 kbps ( 0.0 kbyte/s)
Clip info:
name: EE 247 2005-10-13
==========================================================================
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/usr/lib/RealPlayer8/Codecs/sipr.so.6.0'
Error: /usr/lib/RealPlayer8/Codecs/sipr.so.6.0: cannot open shared object file: No such file ordirectory
opening win32 dll 'sipr.so.6.0'
Win32 LoadLibrary failed to load: sipr.so.6.0, /usr/lib/win32/sipr.so.6.0, /usr/local/lib/win32/
sipr.so.6.0
Error loading dll
ERROR: Could not open required DirectShow codec sipr.so.6.0.
Read the RealAudio section of the DOCS!
ADecoder preinit failed
ADecoder init failed
Opening audio decoder: [realaud] RealAudio decoder
opening win32 dll 'sipr3260.dll'
Win32 LoadLibrary failed to load: sipr3260.dll, /usr/lib/win32/sipr3260.dll, /usr/local/lib/win32/sipr3260.dll
Error loading dll
ERROR: Could not open required DirectShow codec sipr3260.dll.
Read the RealAudio section of the DOCS!
ADecoder preinit failed
ADecoder init failed
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/usr/lib/RealPlayer8/Codecs/sipr.bundle/Contents/MacOS/sipr'
Error: /usr/lib/RealPlayer8/Codecs/sipr.bundle/Contents/MacOS/sipr: cannot open shared object file: No such file or directory
opening win32 dll 'sipr.bundle/Contents/MacOS/sipr'
Win32 LoadLibrary failed to load: sipr.bundle/Contents/MacOS/sipr, /usr/lib/win32/sipr.bundle/Contents/MacOS/sipr, /usr/local/lib/win32/sipr.bundle/Contents/MacOS/sipr
Error loading dll
ERROR: Could not open required DirectShow codec sipr.bundle/Contents/MacOS/sipr.
.
.
.

and much more. do you know what it means? thanks for any help.
 
Old 10-14-2005, 10:36 PM   #4
aneel.d
LQ Newbie
 
Registered: Oct 2005
Location: Tennessee, United States
Distribution: Gentoo
Posts: 5

Rep: Reputation: 0
Do you have the Real codec package installed for MPlayer?
 
Old 10-15-2005, 08:20 AM   #5
kozaki
Member
 
Registered: Jun 2004
Location: France, UE
Distribution: Arch Linux, Bodhi, Debian, Mageia, OpenMediaVault, Q4OS
Posts: 133

Original Poster
Rep: Reputation: 20
Re: video stream

Quote:
Originally posted by leosgb
hi,

did you manage to do it? i read the french post that you suggested and tried it here. I am trying too download some rm llectures to watch them when i feel like.

So i did:
mplayer -dumpstream -dumpfile teste.ram -nocache -playlist http://fullpathtofile.rm

and it seems to work! But when i try to watch it using mplayer itself i get:

REAL file format detected.
(...)

and much more. do you know what it means? thanks for any help.
First, can you play local real video files ? 'Cause that means you've got real codecs.
The point is we can have them either with a special package or by symlinking real codec directory when we got Realplay gold installed.

Well I think it worked when I did like I wrote up here in this post (or if you can read French a bit : http://linuxfr.org/~kobold/11138.html)
Surely enough do I record the sound track from any audio/video file :
I download the RAM file with wget, then do a mplayer audio_or_video_file -vc dummy -vo null -ao pcm:file=audio_or_video_file.wav
 
  


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
Try my audio app! unholy Linux - Software 10 10-07-2004 11:16 AM
Favourite audio app? unholy Linux - Software 19 10-06-2004 05:10 AM
App to Download Web Based Email stranger777 Linux - Newbie 5 08-19-2004 05:47 PM
cannot download host-app driver - Any available mirrors? kkempter Fedora 0 06-15-2004 11:38 AM
what app to use for large download Lindy Linux - Software 5 12-15-2003 10:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:19 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
Open Source Consulting | Domain Registration