Streamaufnahme Video oder Audio Streams aufzeichnen

alex's picture

Zum Aufzeichnen von Stream (Audio und Video) eignet sich besonders gut mplayer, weil alles was er abspielen kann, kann er auch aufzeichnen. Und er kann sehr viel abspielen!

Um zum Beispiel den MP3 Stream von http://zlz-stream11.streamserver.ch/1/rsj/mp3_128 aufzuzeichnen, ist folgender Befehl zu verwenden:

mplayer -dumpstream -dumpfile recording.mp3 http://zlz-stream11.streamserver.ch/1/rsj/mp3_128

Das einzige Problem dabei ist, dass wenn der Stream unterbrochen wird, auch der Befehl abbricht und nicht nach einem Reconnect wieder automatisch weiter den Stream aufzeichnet. Dafuer waere ein bash Skript denkbar (habe ich aber noch nicht umgesetzt).

Der Stream wird in der Datei recording.ogg gespeichert und kann z.B. mit Audacious oder Rhythmbox wiedergegeben werden.

Our recommendation

Image of Ubuntu 9.10 Karmic Koala: Das Einsteigerbuch
Author: Michael Kofler
Publisher: Addison-Wesley, München
The following book contains more information about the current topic. In case you want to know more about Ubuntu 9.10 Karmic Koala: Das Einsteigerbuch read this book.

Disclaimer

While every precaution has been taken in the preperation of this documentation, the authors assume no responsibility for errors or omissions, or for damages resulting from the use of the information herein. If you are a beginner or not sure how to handle something, contact a service professional to give you a hand.
The article may list links to other sites on the Internet, on whose design and contents the site operator does not have any influence. We distance ourselves therefore explicitly from the contents of the linked sites. If we are notified that a linked site violates the applicable law we will remove the link(s) in question immediately. We request to be informed of such links by email should the situation arise.

For our services, contact us. © Copyright, squatlabs - all rights reserved.