udpsrc -> decode -> shmsink
Peter Maersk-Moller
pmaersk at gmail.com
Sun Jul 27 07:47:31 PDT 2014
Hi Buzzy.
You have omitted the decoding part in your pipeline so it is difficult to
say why it goes wrong.
But if you use the following, it has been tested to work.
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
If you were using http://185.24.220.14/lnk/stream.m3u8 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.
VLC command is
vlc -I dummy http://185.24.220.14/lnk/stream.m3u8 --sout
'#udp{mux=ts,dst=224.0.0.5,port=1234,sdp=sap,name="TestStream"}'
You can use GStreamer for retransmission instead of VLC.
Best regards
Peter Maersk-Moller
On Wed, Jul 23, 2014 at 3:29 PM, buzzy <zygjys at gmail.com> wrote:
> Hello,
>
> I'm trying to feed snowmix (http://sourceforge.net/projects/snowmix/) with
> multicast source. Currently I have the following pipeline (not working of
> course):
>
> gst-launch-1.0 -q udpsrc multicast-group='224.0.0.5' auto-multicast=true
> port=1234 ! ... ! video/x-raw, format=BGRA, pixel-aspect-ratio=1/1,
> interlace-mode=progressive, width=1024, height=576, framerate=24/1 !
> shmsink
> socket-path=/tmp/feed-control-pipe-3-4 shm-size=40000000
> wait-for-connection=0
>
> UDP source is a h264 video and i can't seem to find a way to decode it
> properly. Everything seems to fail. Below is the pipeline for feeding
> snowmix from file (working):
>
> gst-launch-1.0 -q filesrc location=/tmp/video1.mp4 ! decodebin name=decoder
> ! \
> videorate ! videoscale ! \
> videoconvert ! \
> video/x-raw, format=BGRA, pixel-aspect-ratio=1/1,
> interlace-mode=progressive, width=1024, height=576, framerate=24/1 ! \
> shmsink socket-path=/tmp/feed-control-pipe-3-4
> shm-size=40000000
> wait-for-connection=0
>
> If someone could help me out here, that'd be great!
>
> Thank you.
>
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/udpsrc-decode-shmsink-tp4668040.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140727/42572623/attachment.html>
More information about the gstreamer-devel
mailing list