Save live Video using gstreamer command

Purva gevaria.purva at einfochips.com
Wed Jan 6 09:53:30 UTC 2021


Hi Aniket,

I have used below command which you have mentioned:

gst-launch-1.0 -e udpsrc port=2222 ! decodebin ! tee name=split !
autovideosink sync=false split. ! queue ! h265parse ! mp4mux ! filesink
location=file.mp4

But After starting preview of camera, I am getting below error:

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Got context from element 'autovideosink0': gst.d3d11.device.handle=context,
device=(GstD3D11Device)"\(GstD3D11Device\)\ d3d11device3", adapter=(int)0;
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
WARNING: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0:
Delayed linking failed.
ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data
stream error.
Additional debug info:
gst/parse/grammar.y(544): gst_parse_no_more_pads ():
/GstPipeline:pipeline0/GstDecodeBin:decodebin0:
failed delayed linking some pad of GstDecodeBin named decodebin0 to some pad
of GstTee named split
Additional debug info:
../libs/gst/base/gstbasesrc.c(3070): gst_base_src_loop ():
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
streaming stopped, reason not-linked (-1)
Execution ended after 0:00:17.466240000
Setting pipeline to NULL ...
Freeing pipeline ...

Can you please help me to solve this?

Thanks,
Purva



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list