Code: Alles auswählen
$ mpv radio-blahblah.de
File tags:
icy-title: Olivia Newton-John - Xanadu
A: 00:00:15 / 00:00:16 (92%)
Gibt es eine Möglichkeit, diese mit-zuspeichern?
Code: Alles auswählen
$ mpv radio-blahblah.de
File tags:
icy-title: Olivia Newton-John - Xanadu
A: 00:00:15 / 00:00:16 (92%)
Code: Alles auswählen
$ file radioblahblah
radioblahblah: MPEG ADTS, layer III, v1, 128 kbps, 44.1 kHz, JntStereo
$ mediainfo radioblahblah
General
Complete name : radioblahblah
Format : MPEG Audio
File size : 949 KiB
Duration : 1 min 0 s
Overall bit rate mode : Constant
Overall bit rate : 128 kb/s
Writing library : LAME3.97
FileExtension_Invalid : m1a mpa mpa1 mp1 m2a mpa2 mp2 mp3
Audio
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Format settings : Joint stereo
Duration : 1 min 0 s
Bit rate mode : Constant
Bit rate : 128 kb/s
Channel(s) : 2 channels
Sampling rate : 44.1 kHz
Frame rate : 38.281 FPS (1152 SPF)
Compression mode : Lossy
Stream size : 949 KiB (100%)
Writing library : LAME3.97
$
Code: Alles auswählen
~$ streamripper http://185.33.21.112:80/blues_64 -a
Connecting...
stream: 1.FM - Blues Radio
server name: AIS Streaming Server 8.6.5
declared bitrate: 192
meta interval: 8192
[skipping... ] Sugar Blue - Don't Start Me Talkin' [ 4,30M]
[ripping... ] The Insomniacs - 20/20 [ 5,15M]
[ripping... ] Jimmy Rogers - My Last Meal [ 4,30M]
[ripping... ] Devon Allman - Stop Draggin My Heart Around (f. Sa [ 6,51M]
Code: Alles auswählen
ls -alr "/home/willy/1.FM - Blues Radio/"
insgesamt 17172
-rw-r--r-- 1 willy willy 5405195 20. Jun 12:25 'The Insomniacs - 20-20.mp3'
-rw-r--r-- 1 willy willy 795314 20. Jun 12:34 ' - .mp3'
-rw-r--r-- 1 willy willy 4511808 20. Jun 12:28 'Jimmy Rogers - My Last Meal.mp3'
drwxr-xr-x 2 willy willy 4096 20. Jun 12:34 incomplete
-rw-r--r-- 1 willy willy 6824585 20. Jun 12:33 'Devon Allman - Stop Draggin My Heart Around (f. Samantha Fish).mp3'
drwxr-xr-x 98 willy willy 16384 20. Jun 12:18 ..
drwxr-xr-x 3 willy willy 4096 20. Jun 12:34 .
Code: Alles auswählen
General
Complete name : /home/willy/1.FM - Blues Radio/Jimmy Rogers - My Last Meal.mp3
Format : MPEG Audio
File size : 4.30 MiB
Duration : 3 min 7 s
Overall bit rate mode : Constant
Overall bit rate : 192 kb/s
Track name : My Last Meal
Track name/Position : 2
Performer : Jimmy Rogers
Encoded by : Ripped with Streamripper
Audio
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Format settings : Joint stereo / MS Stereo
Duration : 3 min 7 s
Bit rate mode : Constant
Bit rate : 192 kb/s
Channel(s) : 2 channels
Sampling rate : 44.1 kHz
Frame rate : 38.281 FPS (1152 SPF)
Compression mode : Lossy
Stream size : 4.30 MiB (100%)
Doch, das geht sogarking-crash hat geschrieben:02.07.2021 10:38:29Dazu muss aber "Icy-MetaData:1" in der http Anfrage gesetzt sein, was mit wget natürlich nicht funktioniert.
Code: Alles auswählen
$ curl -H "Icy-MetaData:1" -v http://ice1.somafm.com/deepspaceone-128-mp3
$ wget --header="Icy-MetaData:1" http://ice1.somafm.com/deepspaceone-128-mp3
Code: Alles auswählen
$ mpv deepspaceone-128-mp3.2
[ffmpeg/demuxer] mp3: Estimating duration from bitrate, this may be inaccurate
(+) Audio --aid=1 (mp3 2ch 44100Hz)
AO: [pulse] 44100Hz stereo 2ch float
A: 00:00:00 / 00:00:20 (3%)
[ffmpeg/audio] mp3float: Header missing
Error decoding audio.
[ffmpeg/audio] mp3float: Header missing
Error decoding audio.
A: 00:00:01 / 00:00:20 (8%)
[ffmpeg/audio] mp3float: Header missing
Error decoding audio.
A: 00:00:02 / 00:00:20 (13%)
[ffmpeg/audio] mp3float: Header missing
Error decoding audio.
A: 00:00:03 / 00:00:20 (15%)