[FFmpeg-trac] #716(undetermined:new): Shoutcast 2 YP2 Protocol

FFmpeg trac at avcodec.org
Sun Dec 11 04:04:30 CET 2011


#716: Shoutcast 2 YP2 Protocol
-------------------------------------+-------------------------------------
             Reporter:  asbro        |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by asbro):

 {{{
 [root at 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,

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/716#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list