[Icecast] YP listing problem

Per Gunnarsson p.gunnarsson at yahoo.com
Thu Jan 25 20:36:04 UTC 2018


I got it working. It was a matter of repeating some things in the
icecast configuration file which are usually forwarded from the source
client.

For example, I added a mount section like this:

    <mount type="normal">
    <mount-name>/stream.opus</mount-name>
    <public>1</public>
    <stream-name>mustafejen opus</stream-name>
    <stream-description>Stream from Ersboda</stream-description>
    <stream-url>https://mustafejen.se/~per</stream-url>
    <genre>Alternative, eclectic</genre>
    <bitrate>32</bitrate>
    <type>audio/ogg</type>
    <subtype>opus</subtype>
    <hidden>0</hidden>
    <burst-size>65536</burst-size>
    <mp3-metadata-interval>4096</mp3-metadata-interval>

Now it works.

Regards,

Per Gunnarsson

On 01/14/18 21:12, Per Gunnarsson wrote:
> I am having problems YP listing my opus and webm streams. The mp3 streams get listed though.
>
> my ffmpeg for the webm stream:
>
> ffmpeg \
>   -f v4l2 -video_size 640x480 -framerate 30 -i /dev/video0 \
>   -i http://mustafejen.se:8000/feting \
>   -f oss -i /dev/dsp1 \
>   -f webm -cluster_size_limit 2M -cluster_time_limit 5100 -content_type video/webm \
>   -c:a libvorbis -b:a 96K \
>   -c:v libvpx-vp9 -b:v 1.5M -crf 30 -g 150 -deadline good -threads 4 \
>   -ice_description "Der Penner" -ice_public "true" \
>   -ice_url "https://mustafejen.se/~per" -content_type "video/webm" \
>   -ice_name "penner" -ice_genre "Domestic" \
>   icecast://source:top_secret@mustafejen.se:8000/webcam.webm 
>
> My liquidsoap icecast entries:
>
> output.icecast(%mp3(bitrate=128, stereo=true, samplerate=48000),
> host="mustafejen.se",
> port=8000,
> password="top_secret",
> mount="feting",
> description="Stream from Ersboda",
> genre="Alternative, eclectic",
> url="https://mustafejen.se/~per",
> name="mustafejen mp3",
> public=true,
> full)
>
> output.icecast(%opus(bitrate=32, samplerate=48000, channels=2),
> host="mustafejen.se",
> port=8000,
> password="top_secret",
> mount="stream.ogg",
> description="Stream from nowhere",
> genre="Alternative, eclectic",
> url="https://mustafejen.se/~per",
> name="mustafejen opus",
> public=true,
> full)
>
>         output.icecast(
>         %mp3(bitrate=128, samplerate=48000, stereo=true),
>         mount="verket",
>         host="mustafejen.se",
>         port=8000,
>         user="source",
>         public=true,
>         genre="Mainly Punk",
>         url="http://verketumea.se",
>         password="top_secret",
>         description="Bands from Verket",
>         name="Verket mp3",
>         verket)
>
> output.icecast(%opus(bitrate=64, samplerate=48000, channels=2),
> host="mustafejen.se",
> port=8000,
> password="top_secret",
> mount="verket.ogg",
> description="Bands from Verket",
> public=true,
> genre="Mainly Punk",
> url="http://verketumea.se",
> name="Verket opus",
> verket)
>
>
>
>
> Stream URL below:
>
> http://mustafejen.se:8000
>
> <hostname>mustafejen.se</hostname>
>
>     <listen-socket>
>         <port>8000</port>
>         <!-- <bind-address>127.0.0.1</bind-address> -->
>         <!-- <shoutcast-mount>/stream</shoutcast-mount> -->
>     </listen-socket>
>
>     <listen-socket>
>         <port>8001</port>
>     </listen-socket>
>
>     <listen-socket>
>         <port>8002</port>
>     </listen-socket>
>
>
>
>     <!--
>     <listen-socket>
>         <port>8080</port>
>     </listen-socket>
>     -->
>
>
>         <listen-socket>
>         <port>8443</port>
>         <ssl>1</ssl>
>         </listen-socket>
>
>
>     <directory>
>         <yp-url-timeout>15</yp-url-timeout>
>         <yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
>     </directory>
>
>     <directory>
>         <yp-url-timeout>15</yp-url-timeout>
>         <yp-url>http://yp.shoutcast.com</yp-url>
>     </directory>
>
>         <directory>
>                 <yp-url-timeout>15</yp-url-timeout>
>                 <yp-url>http://icecast-yp.internet-radio.com</yp-url>
>         </directory>
>
>
> yp in my error.log in the attached file
>





More information about the Icecast mailing list