It is not noticable on youtube. It doesn't seem to miss a beat. Buffering I guess.

On 22/03/17 09:27, Akos Veres wrote:
Ah, so it's not a continuous stream to youtube, it stops at the beginning of a new show. I need continuous stream, that's why I thought that output.gstreamer.audio_video is the solution.

Best regards,
/Ákos Veres/

On Tue, Mar 21, 2017 at 12:37 PM, John Chewter <[email protected] <mailto:[email protected]>> wrote:

    I am not changing the image during a show. I reset it at the
    beginning of a new show


    On 21/03/17 10:56, Akos Veres wrote:
    And you are running constant stream to youtube with a changing
    image? Can you show me a code example please? If that is possible
    with fmpeg, then I can just create an image and attach that as
    the song changes.

    Best regards,
    /Ákos Veres/

    On Tue, Mar 21, 2017 at 9:57 AM, John Chewter
    <[email protected] <mailto:[email protected]>>
    wrote:

        I get that text info from the icecast metadata. I guess the
        album art may be an issue, but I attach an image changing
        with the show.



        On 21/03/17 09:15, Akos Veres wrote:
        I'm using FMPEG as well, that works without any issues, I
        just want to have a dynamic text added to image so it shows
        the currently playing track together with album art, LS
        could generate all of that and then continually push the
        stream to youtube.

        Best regards,
        /Ákos Veres/

        On Mon, Mar 20, 2017 at 6:42 PM, John Chewter
        <[email protected]
        <mailto:[email protected]>> wrote:

            By that I mean icecast -> FMPEG -> YouTube.

            I saw no advantage to using LS


            On 20/03/17 18:09, John Chewter wrote:

            I have done it with FFMPEG


            On 20/03/17 16:13, Akos Veres wrote:
            Hi everyone,

            I'm trying to stream to youtube live an icecast source
            paired with an image.

            I've followed these resources:
            -
            http://savonet.sourceforge.net/doc-svn/video-static.html
            <http://savonet.sourceforge.net/doc-svn/video-static.html>
            - http://liquidsoap.fm/doc-svn/video.html
            <http://liquidsoap.fm/doc-svn/video.html>
            -
            
https://www.sk89q.com/2014/05/broadcasting-a-video-playlist-to-nginx-rtmp-module/
            
<https://www.sk89q.com/2014/05/broadcasting-a-video-playlist-to-nginx-rtmp-module/>

            The current script:

                #!/usr/bin/liquidsoap
                # XTRadio Video
                # Standard settings
                set("log.stdout",true)
                set("log.file",false)
                set("log.level",4)
                set("server.telnet",false)
                set("frame.video.width",640)
                set("frame.video.height",480)
                set("frame.video.samplerate",12)
                # Stream Settings
                backup =
                input.http(id="xtradio","http://xtradio.org:8080/mp3
                <http://xtradio.org:8080/mp3>")
                img = single("/xt-hd.png")
img = mksafe(img)
                radio = backup
                video = img
                radio = buffer(buffer=0.03,mksafe(radio))
                source = mux_video(video=video,radio)
                source = mksafe(source)
                output.gstreamer.audio_video(id="output.youtube",
                video_pipeline=
                "videoconvert ! x264enc bitrate=4000 !
                video/x-h264,profile=baseline ! queue ! mux.",
                audio_pipeline=
                "audioconvert ! voaacenc bitrate=128000 ! queue !
                mux.",
                  pipeline=
                    "flvmux name=mux ! rtmpsink
                location=\"rtmp://a.rtmp.youtube.com/live2/KEY\
                <http://a.rtmp.youtube.com/live2/KEY%5C>"",
                  source)


            Output

                xtvideo    | 2017/03/19 12:00:17
                [replay_metadata_7237:4] Activations changed:
                static=[mksafe:output(dot)youtube:output(dot)youtube],
                dynamic=[].
                xtvideo    | 2017/03/19 12:00:17
                [warp_prod_7187:3] Buffer emptied, start buffering...
                xtvideo    | 2017/03/19 12:00:17 [mksafe:3] Switch
                to safe_blank with transition.
                xtvideo    | 2017/03/19 12:00:17
                [replay_metadata_7237:4] Activations changed:
                static=[], dynamic=[].
                xtvideo    | 2017/03/19 12:00:17 [source:4] Source
                replay_metadata_7237 gets down.
                xtvideo    | 2017/03/19 12:00:17 [mux_7189:4]
                Activations changed: static=[],
                dynamic=[mksafe:output(dot)youtube:output(dot)youtube].
                xtvideo    | 2017/03/19 12:00:17 [safe_blank:4]
                Activations changed:
                static=[mksafe:output(dot)youtube:output(dot)youtube],
                dynamic=[mksafe:output(dot)youtube:output(dot)youtube].
                xtvideo    | 2017/03/19 12:00:17 [xtradio:3] New
                metadata chunk: ? -- Calvin Harris feat. Ellie
                Goulding - Outside (Funk LeBlanc Remix) (04:12)
                
http://soundcloud.com/funk-leblanc/calvin-harris-feat-ellie-goulding-outside-funk-leblanc-remix
                
<http://soundcloud.com/funk-leblanc/calvin-harris-feat-ellie-goulding-outside-funk-leblanc-remix>
                .
                xtvideo    | 2017/03/19 12:00:17 [mksafe:3] Switch
                to xtradio with transition.
                xtvideo    | 2017/03/19 12:00:17 [safe_blank:4]
                Activations changed: static=[],
                dynamic=[mksafe:mksafe:buffer_7186:buffer_7186].
                xtvideo    | 2017/03/19 12:00:17 [xtradio:4]
                Activations changed:
                static=[mksafe:mksafe:buffer_7186:buffer_7186],
                dynamic=[mksafe:mksafe:buffer_7186:buffer_7186].
                xtvideo    | 2017/03/19 12:00:17 [source:4]
                Garbage collected replay_metadata_7237.
                xtvideo    | 2017/03/19 12:00:18 [xtradio:4] End
                of track.


            It looks like nothing is connecting to youtube, on the
            dashboard I see no connection what so ever.

            Any RTFM or howto is welcome, I'm pretty sure I'm
            misunderstanding a mechanism somewhere. I don't mind
            if the same can be achieved with ffmpeg.

            Best regards,
            /Ákos Veres/



            
------------------------------------------------------------------------------
            Check out the vibrant tech community on one of the world's most
            engaging tech sites, Slashdot.org!http://sdm.link/slashdot

            _______________________________________________
            Savonet-users mailing list
            [email protected]
            <mailto:[email protected]>
            https://lists.sourceforge.net/lists/listinfo/savonet-users
            <https://lists.sourceforge.net/lists/listinfo/savonet-users>

            
------------------------------------------------------------------------------
            Check out the vibrant tech community on one of the world's most
            engaging tech sites, Slashdot.org!http://sdm.link/slashdot

            _______________________________________________
            Savonet-users mailing list
            [email protected]
            <mailto:[email protected]>
            https://lists.sourceforge.net/lists/listinfo/savonet-users
            <https://lists.sourceforge.net/lists/listinfo/savonet-users>
            
------------------------------------------------------------------------------
            Check out the vibrant tech community on one of the
            world's most engaging tech sites, Slashdot.org!
            http://sdm.link/slashdot
            _______________________________________________
            Savonet-users mailing list
            [email protected]
            <mailto:[email protected]>
            https://lists.sourceforge.net/lists/listinfo/savonet-users
            <https://lists.sourceforge.net/lists/listinfo/savonet-users>


        
------------------------------------------------------------------------------
        Check out the vibrant tech community on one of the world's most
        engaging tech sites, Slashdot.org!http://sdm.link/slashdot

        _______________________________________________
        Savonet-users mailing list
        [email protected]
        <mailto:[email protected]>
        https://lists.sourceforge.net/lists/listinfo/savonet-users
        <https://lists.sourceforge.net/lists/listinfo/savonet-users>
        
------------------------------------------------------------------------------
        Check out the vibrant tech community on one of the world's
        most engaging tech sites, Slashdot.org!
        http://sdm.link/slashdot
        _______________________________________________ Savonet-users
        mailing list [email protected]
        <mailto:[email protected]>
        https://lists.sourceforge.net/lists/listinfo/savonet-users
<https://lists.sourceforge.net/lists/listinfo/savonet-users>
    
------------------------------------------------------------------------------
    Check out the vibrant tech community on one of the world's most
    engaging tech sites, Slashdot.org!http://sdm.link/slashdot

    _______________________________________________
    Savonet-users mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/savonet-users
    <https://lists.sourceforge.net/lists/listinfo/savonet-users>
    
------------------------------------------------------------------------------
    Check out the vibrant tech community on one of the world's most
    engaging tech sites, Slashdot.org! http://sdm.link/slashdot
    _______________________________________________ Savonet-users
    mailing list [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/savonet-users
<https://lists.sourceforge.net/lists/listinfo/savonet-users>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to