maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   n810 record streams with mplayer (https://talk.maemo.org/showthread.php?t=53362)

yukop4 2010-05-23 00:39

n810 record streams with mplayer
 
anyway to record streams with mplayer-tried to do it with mplayer.conf
edit
mplayer http......... -dumpstream -dumpfile /media/mmc2/music

but all it does is stop thew media player from playing the stream

any help needed

Andre Klapper 2010-05-23 12:34

Re: n810 record streams with mplayer
 
Quote:

Originally Posted by yukop4 (Post 671051)
but all it does is stop thew media player from playing the stream

Aha? How did you find out that it "stops playing the stream"?
Maybe it just sends the output to the dumpfile instead of your speakers but still plays the stream?

yukop4 2010-05-24 05:02

Re: n810 record streams with mplayer
 
Quote:

Originally Posted by Andre Klapper (Post 671516)
Aha? How did you find out that it "stops playing the stream"?
Maybe it just sends the output to the dumpfile instead of your speakers but still plays the stream?

well thats the problem -what should i name the dumpfile -help with the code would be appreciated


so far i input
mplayer http://............ -dumpstream -dumpfile /media/mmc2/music-would this be correct

cheers ed

Joorin 2010-05-24 06:23

Re: n810 record streams with mplayer
 
You need to describe your problem a little better.

The flag "-dumpstream" is used to, as it suggests, dump the stream. You use it to save the raw stream. The flag "-dumpfile" tells mplayer where to save the data.

If you expect to be able to watch the stream at the same time as you dump it, you are expecting the wrong thing.

What you call the dump file is not very important but placing it somewhere where there is enough space is. Most people would use /home/user/MyDocs or, for example, a mounted microSD card.

yukop4 2010-05-24 08:47

Re: n810 record streams with mplayer
 
Quote:

Originally Posted by Joorin (Post 672730)
You need to describe your problem a little better.

The flag "-dumpstream" is used to, as it suggests, dump the stream. You use it to save the raw stream. The flag "-dumpfile" tells mplayer where to save the data.

If you expect to be able to watch the stream at the same time as you dump it, you are expecting the wrong thing.

What you call the dump file is not very important but placing it somewhere where there is enough space is. Most people would use /home/user/MyDocs or, for example, a mounted microSD card.

ok
lets say i wanted to store the streams on my internal memory card in a folder called music
what would the code be



ed

yukop4 2010-05-24 08:50

Re: n810 record streams with mplayer
 
Quote:

Originally Posted by yukop4 (Post 672892)
ok
lets say i wanted to store the streams on my internal memory card in a folder called music
what would the code be



ed

by the way i have been following this post
http://fosswire.com/post/2008/3/save...-with-mplayer/

Joorin 2010-05-24 10:54

Re: n810 record streams with mplayer
 
Quote:

Originally Posted by yukop4 (Post 672892)
ok
lets say i wanted to store the streams on my internal memory card in a folder called music
what would the code be



ed

What have you tried so far? Your own suggestion in the previous comment looks ok apart from not having the URL at the end of the command line. I have no idea where the memory card will show up on a N810 but I'm sure you can search for exactly that.

yukop4 2010-05-24 21:19

Re: n810 record streams with mplayer
 
Quote:

Originally Posted by Joorin (Post 673053)
What have you tried so far? Your own suggestion in the previous comment looks ok apart from not having the URL at the end of the command line. I have no idea where the memory card will show up on a N810 but I'm sure you can search for exactly that.

hi

here is the code

mplayer -dumpstream mms://srv2.mel.apstream.net/pbsfm -dumpfile media/mmc2/music

i place this line in

home/user/.mplayer/config

as soon as i do this mplayer will not play or kmplayer-anything using mplayer as a player

buurmas 2010-05-27 02:17

Re: n810 record streams with mplayer
 
Quote:

Originally Posted by yukop4 (Post 673975)
i place this line in

home/user/.mplayer/config

Are you sure it goes in the config file? I haven't done this kind of thing before, but it looked like a terminal command to me. Forgive me if I'm insulting your intelligence, but you would run X Terminal and then enter your command there.


All times are GMT. The time now is 19:58.

vBulletin® Version 3.8.8