Snimanje muzike sa radija?

Zna li neko za neki program koji radi pod windowsom ili linuxom koji moze da skine muziku i da snimim kada slusam winamp ili freeamp, npr. slusam radio sa 24/7 techno muzikom (www.digitalyimported.com) te kako da to skinem ili snimim tu muziku na svoj hd te slusam offline??

Ako iko zna za neki program takvog tipa ili ako neko zna neko drugo rjesenje, plz javi…

Tnx.

Pozdravi od

Dine

heja
jesi li probao sa Winamp output wave plugin ili vec kako se zove ?

Pa krecord naravno

Cini mi se da sa mplayerom mozes i TV gledat pa snimiti to na disk (a usput ga kodirati u divx) pa ne vidim zasto to ne bi isto mogao sa radiom

Mplayer NARAVNO…

Mali howto ( ako bude zainteresovanih napisacemo vise ):

  1. Treba vam mplayer ( predlazem instalaciju in source-a )
  2. Stvar koju ce mo da koristimo kod mplayer-a je (flag) -ao pcm
  3. Trebace vam:
  • link koji ce te save na vas PC ( npr Radio SLON
    rtsp://195.222.32.46:7070/encoder/slon2.rm ) kao slon.txt ili
  • umjesto da je save-te napisite direktni link
  1. Komanda za record je sljedeca:
    mplayer -playlist slon.txt -ao pcm -aofile /home/sahbaz/slon.wav -vc dummy -vo null ili
    mplayer -playlist rtsp://195.222.32.46:7070/encoder/slon2.rm -ao pcm -aofile /home/sahbaz/slon.wav -vc dummy -vo null

  2. Output bi izgledao nesto poput ovog:

[quote] mplayer -playlist slon.txt -ao pcm -aofile /home/sahbaz/download/live/slon.wav -vc dummy
-vo null
MPlayer 1.0pre4-3.3.2 © 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 1993 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/sahbaz/.mplayer/config
Reading /home/sahbaz/.mplayer/codecs.conf: Can’t open ‘/home/sahbaz/.mplayer/codecs.conf’: No such file or di
ectory
Reading /usr/local/etc/mplayer/codecs.conf: Can’t open ‘/usr/local/etc/mplayer/codecs.conf’: No such file or
irectory
Using built-in default codecs.conf.
Font /home/sahbaz/.mplayer/font/font.desc loaded successfully! (206 chars)
Failed to open /dev/rtc: Permission denied (/dev/rtc should be readable by the user.)
Using usleep() timing
Can’t open input config file /home/sahbaz/.mplayer/input.conf: No such file or directory
Can’t open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config

Playing rtsp://195.222.32.46:7070/encoder/slon2.rm.
Resolving 195.222.32.46 for AF_INET6…
Couldn’t resolve name for AF_INET6: 195.222.32.46
Connecting to server 195.222.32.46[195.222.32.46]:7070 …
Cache size set to 640 KBytes
Connected to server: 195.222.32.46
Cache fill: 18.75% (122880 bytes) REAL file format detected.
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 1
Samplerate: 44100
avg byte/sec: 44100
Block align: 640
bits/sample: 16
cbSize: 18
Unknown extra header dump: [80] [0] [10] [0] [5] [0] [80] [2] [8] [0] [1] [0] [0] [2] [4] [0] [0] [2f]

demux_real: invalid chunksize! (0)
Clip info:
name: Radio Slon Tuzla BiH
author: Radio SLON +387 35 316-400
copyright: RADIO SLON©2004

Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/usr/local/lib/codecs/cook.so.6.0’
Audio codec: [5] 44 Kbps Music
Audio bitrate: 44.100 kbit/s (5513 bps)
AUDIO: 44100 Hz, 1 ch, 16 bit (0x10), ratio: 5513->88200 (44.1 kbit)
Selected audio codec: [racook] afm:realaud (RealAudio COOK)

Checking audio filter chain for 44100Hz/1ch/16bit -> 44100Hz/2ch/16bit…
AF_pre: af format: 2 bps, 1 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 1ch Signed 16-bit (Little-Endian)
PCM: File: /home/sahbaz/download/live/slon.wav (WAVE)
PCM: Samplerate: 44100Hz Channels: Stereo Format Signed 16-bit (Little-Endian)
PCM: Info: fastest dumping is achieved with -vc dummy -vo null
PCM: Info: to write WAVE files use -waveheader (default); for RAW PCM -nowaveheader.
AO: [pcm] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/1ch/16bit -> 44100Hz/2ch/16bit…
Video: no video
Starting playback…
[/quote]
7. Testirajte da li save-a file tako sto ce te provjeravati negovu velicinu sa
ls -a ili sa du -h slon.wav
8. To bi bilo to …
Uzivajte

Sahbaze jarane ti si tito ba.

Tnx i ostalima.

Pozdravi od

Dine

Bravo sahbaze :smiley:
Samo još upogoni ovdje lame ili mencoder da čovjek ne snima wav i to je to.

Jeste zaboravio sam support za MP3 …to ce mo veceras ! :slight_smile:

Stvarno sam stao…nikako da skontam kako da koristi
mp3 mjesto wav formata.
Jedna od mogucnosti je da koristi lame…
npr:
lame -h slon.wav slon.mp3

…i opet završimo na terminalu:

arecord -d 360 -f cd -t wav radio.wav ; lame -h radio.wav radio.mp3 ; rm radio.wav
što će snimati 360 sec. tj. 6 minuta i nakon toga pretvoriti fajl u mp3.Ja koristim ovu varijantu. Samo da napomenem da je potrebno u npr. kmixu predhodno uključiti line kao rec. ulaz. :smt020

Evo jos nesto ali sam manje kontrole:
http://streamripperx.sourceforge.net/
Mala slicica

Mali update za stream-rip --> http://streamripper.sourceforge.net/

sta mislite o ovome ?

mkfifo radio.fifo
lame --preset standard radio.fifo radio.mp3 &
mplayer rtsp://195.222.32.46:7070/encoder/slon.rm -ao pcm -aofile radio.fifo -vc dummy -vo null