<div dir="ltr"><div><div><div>Hello, Peter,<br><br></div>yes, thank you. I was just constructed this pipeline on friday. I've added the sound also:<br><br>(<br>    echo "audio feed ctr isaudio $AUDIO_FEED_ID";\<br>
    gst-launch-1.0 -q udpsrc multicast-group=$MULTICAST_ADDRESS auto-multicast=true port=1234 ! decodebin name=decoder ! videorate ! videoscale ! videoconvert ! \<br>    video/x-raw, format=BGRA, framerate=24/1, width=$WIDTH, height=$HEIGHT ! videoconvert ! \<br>
    shmsink socket-path=$FEED_PIPE shm-size=40000000 wait-for-connection=0 decoder.   ! queue ! audioconvert ! audioresample ! \<br>    audio/x-raw, format=S16LE, rate=48000, channels=2 ! fdsink fd=1 sync=true \<br>) | nc $IP $PORT<br>
<br></div>But still there's one problem. I need this input to be valid for 3 different resolutions: 1280x720, 1024x576, 768x432. The last two works well (I'm changing WIDTH and HEIGHT values in script), but it doesn't work with 1280x720 resolution. It starts to work and then fails after couple of seconds. Is there are way to make this work? Is it a resize problem?<br>
<br></div>Thank you.<br><div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jul 27, 2014 at 5:47 PM, Peter Maersk-Moller-2 [via GStreamer-devel] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4668085&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

        <div dir="ltr"><div><div><div><div><div>Hi Buzzy.<br><br></div>You have omitted the decoding part in your pipeline so it is difficult to say why it goes wrong.<br><br></div>But if you use the following, it has been tested to work.<br>

<br>gst-launch-1.0 -v udpsrc multicast-group='224.0.0.5' auto-multicast=true port=1234 ! decodebin ! videorate ! videoscale ! videoconvert ! 'video/x-raw, format=BGRA, pixel-aspect-ratio=1/1, width=1024, height=576, framerate=24/1' ! shmsink socket-path=/tmp/feed4-control-pipe shm-size=40000000 wait-for-connection=0 sync=true<br>

<br></div>If you were using <a href="http://185.24.220.14/lnk/stream.m3u8" rel="nofollow" link="external" target="_blank">http://185.24.220.14/lnk/stream.m3u8</a> as input, using VLC, then the source had the geometry being 720x576, pixel aspect ratio of 16:11 and framerate of 25/1.   That will give a geometry of 720*16/11 = 1147x576 trying to scale to 1024x576.<br>

<br></div><div>VLC command is<br><br>vlc -I dummy <a href="http://185.24.220.14/lnk/stream.m3u8" rel="nofollow" link="external" target="_blank">http://185.24.220.14/lnk/stream.m3u8</a> --sout  '#udp{mux=ts,dst=224.0.0.5,port=1234,sdp=sap,name="TestStream"}'<br>

<br></div><div>You can use GStreamer for retransmission instead of VLC.<br></div><br></div>Best regards<br><br><div><div><div>Peter Maersk-Moller<br></div><div><br></div></div></div></div><div class="gmail_extra"><br><br>

<div class="gmail_quote"><div class="">On Wed, Jul 23, 2014 at 3:29 PM, buzzy <span dir="ltr"><<a href="http://user/SendEmail.jtp?type=node&node=4668077&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>></span> wrote:<br>
</div><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><div class="">
Hello,<br>
<br>
I'm trying to feed snowmix (<a href="http://sourceforge.net/projects/snowmix/" rel="nofollow" link="external" target="_blank">http://sourceforge.net/projects/snowmix/</a>) with<br>
multicast source. Currently I have the following pipeline (not working of<br>
course):<br>
<br>
gst-launch-1.0 -q udpsrc multicast-group='224.0.0.5' auto-multicast=true<br>
port=1234 ! ... ! video/x-raw, format=BGRA, pixel-aspect-ratio=1/1,<br>
interlace-mode=progressive, width=1024, height=576, framerate=24/1 ! shmsink<br>
socket-path=/tmp/feed-control-pipe-3-4 shm-size=40000000<br>
wait-for-connection=0<br>
<br>
UDP source is a h264 video and i can't seem to find a way to decode it<br>
properly. Everything seems to fail. Below is the pipeline for feeding<br>
snowmix from file (working):<br>
<br>
gst-launch-1.0 -q filesrc location=/tmp/video1.mp4 ! decodebin name=decoder<br>
! \<br>
            videorate ! videoscale ! \<br>
            videoconvert ! \<br>
            video/x-raw, format=BGRA, pixel-aspect-ratio=1/1,<br>
interlace-mode=progressive, width=1024, height=576, framerate=24/1 ! \<br>
            shmsink socket-path=/tmp/feed-control-pipe-3-4 shm-size=40000000<br>
wait-for-connection=0<br>
<br>
If someone could help me out here, that'd be great!<br>
<br>
Thank you.<br>
<br>
<br>
<br>
<br></div>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/udpsrc-decode-shmsink-tp4668040.html" rel="nofollow" link="external" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/udpsrc-decode-shmsink-tp4668040.html</a><br>


Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="http://user/SendEmail.jtp?type=node&node=4668077&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" link="external" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>
<br>_______________________________________________
<br>gstreamer-devel mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=4668077&i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" link="external" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>

        
        
        
        <br>
        <br>
        <hr color="#cccccc" noshade size="1">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div class="">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://gstreamer-devel.966125.n4.nabble.com/udpsrc-decode-shmsink-tp4668040p4668077.html" target="_blank" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/udpsrc-decode-shmsink-tp4668040p4668077.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em"><div class="">
                To start a new topic under GStreamer-devel, email <a href="/user/SendEmail.jtp?type=node&node=4668085&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a> <br></div>
                To unsubscribe from udpsrc -> decode -> shmsink, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>

                <a href="http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></blockquote></div><br></div>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/udpsrc-decode-shmsink-tp4668040p4668085.html">Re: udpsrc -> decode -> shmsink</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>