Opened 12 years ago

Last modified 12 years ago

#716 open enhancement

Shoutcast 2 metadata

Reported by: asbro Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: http shoutcast
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

When ffmpeg will support Shoutcast 2 YP2 protocol? mediadata reading? etc...

Change History (3)

comment:1 by Carl Eugen Hoyos, 12 years ago

Component: FFmpegundetermined

This needs a little more information to be a valid ticket, please add a command line and complete, uncut console output.

comment:2 by asbro, 12 years ago

[root@ns360662 sc_trans2]# ffmpeg -i http://0.0.0.0:8000 -c:a copy -f flv rtmp://0.0.0.0:1945/radio/teste
ffmpeg version N-35631-gf5ecc4c, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 10 2011 10:12:32 with gcc 4.1.2 20080704 (Red Hat 4.1.2-51)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime                 -cpudetect --enable-gpl --enable-version3 --enable-debug --enable-postproc --enable-avfilter --enable-libfreetype --enable-pthrea                 ds --disable-avisynth --enable-libmp3lame --enable-librtmp --enable-libx264 --enable-libxvid --enable-libfaac --enable-libaacplus                  --disable-decoder=amrnb --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-nonfree --extra-cflags='-O2 -g -pipe -Wal                 l -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping
  libavutil    51. 32. 0 / 51. 32. 0
  libavcodec   53. 42. 0 / 53. 42. 0
  libavformat  53. 24. 0 / 53. 24. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 52. 0 /  2. 52. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[mp3 @ 0x629fa0] Header missing
[mp3 @ 0x621ee0] max_analyze_duration 5000000 reached at 5015510
[mp3 @ 0x621ee0] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'http://0.0.0.0:8000':
  Duration: N/A, start: 0.000000, bitrate: 128 kb/s
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
Output #0, flv, to 'rtmp://0.0.0.0:1945/radio/teste':
  Metadata:
    encoder         : Lavf53.24.0
    Stream #0:0: Audio: mp3 ([2][0][0][0] / 0x0002), 44100 Hz, stereo, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size=    2743kB time=00:02:49.40 bitrate= 132.6kbits/s
video:0kB audio:2641kB global headers:0kB muxing overhead 3.845487%

Hi, it works but shows the "head missing" error, and how i can acess shoutcast stream metadata????????? streamtitle, Now Playingr etc..?

Greets,

comment:3 by Carl Eugen Hoyos, 12 years ago

Component: undeterminedavformat
Keywords: http shoutcast added
Priority: normalwish
Status: newopen
Summary: Shoutcast 2 YP2 ProtocolShoutcast 2 metadata
Note: See TracTickets for help on using tickets.