Listen and save a live stream

Posted on

I have tried to save some music from the local radio stations Ö3 and Kronehit.

After some try and errors I came to this both lines

Ö3

gst-launch-0.10 -tv uridecodebin subtitle-encoding=UTF-8 \
uri=mms://gcssrv.pkf.speednet.at/WSX/oe3_live \
! tee name=myT myT. ! queue2 \
! alsasink myT. ! queue2 ! audioconvert! lamemp3enc \
! multifilesink location=oe3_%05d

Kronehit

gst-launch-0.10 -tv uridecodebin subtitle-encoding=UTF-8 \
uri=http://onair.krone.at/kronehit.mp3 \
! tee name=myT myT. ! queue \
! alsasink myT. ! queue ! audioconvert! lamemp3enc \
! multifilesink location=kronehit_%05d

The next step would be to save the stream automatical with the right name => Interpreter_Song.

If you have some ideas how I can do this please drop me a message, thanks 😉

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s