I have hlssink working from h264. Fantastic!
I use this: gst-launch-1.0 rtspsrc location=rtsp://IP/camera.sdp '!' rtph264depay '!' h264parse '!' queue '!' mpegtsmux '!' hlssink playlist-root=http://192.168.1.8/hlssink location=/var/www/html/hlssink.ts playlist-location=/var/www/html/playlist.m3u8 I would like two things: 1) To use the same command above with a MPEG4 source 2) To use any source To that end I took the above command and changed to: gst-launch-1.0 rtspsrc location=rtsp://IP/camera.sdp '!' rtpmp4vdepay '!' mpeg4videoparse '!' queue '!' mpegtsmux '!' hlssink playlist-root=http://192.168.1.8/hlssink location=/var/www/html/hlssink.ts playlist-location=/var/www/html/playlist.m3u8 This did not work. Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Progress: (open) Opening Stream Progress: (connect) Connecting to rtsp://192.168.1.231/channel2 Progress: (open) Retrieving server options Progress: (open) Retrieving media info Progress: (request) SETUP stream 0 Progress: (request) SETUP stream 1 Progress: (open) Opened Stream Setting pipeline to PLAYING ... New clock: GstSystemClock Progress: (request) Sending PLAY request Progress: (request) Sending PLAY request Progress: (request) Sent PLAY request WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Delayed linking failed. Additional debug info: ./grammar.y(510): gst_parse_no_more_pads (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: failed delayed linking some pad of GstRTSPSrc named rtspsrc0 to some pad of GstRtpMP4VDepay named rtpmp4vdepay0 ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: Internal data stream error. Additional debug info: gstbasesrc.c(2939): gst_base_src_loop (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: streaming stopped, reason not-linked (-1) Execution ended after 0:00:00.457602478 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Then again I would like to use "decodebin" or something for "any" video source. What am I missing? thanks, Jerry _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
rtpmp4vdepay caps area sink caps are not compatible with rtspsrc generated
pads caps. Are you sure that camera gives MPEG4 video elementary stream ?? Below pipeline should tell tell what stream rtsp stream has. Attach console dump of below pipeline. gst-launch-1.0 uridecodebin uri=rtsp://IP/camera.sdp ! fakesink -v -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Jerry Geis-2
This is the output from the command: gst-launch-1.0 uridecodebin uri=rtsp://192.168.1.105:16200/camera.sdp ! fakesink -v | tee /tmp/out.mp4 Jerry ---------------------- Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0: source = "\(GstRTSPSrc\)\ source" Progress: (open) Opening Stream Progress: (connect) Connecting to rtsp://192.168.1.105:16200/camera.sdp Progress: (open) Retrieving server options Progress: (open) Retrieving media info Progress: (request) SETUP stream 0 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager: latency = 2000 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager: ntp-sync = false /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager: rfc7273-sync = false /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager: ntp-time-source = NTP time based on realtime clock /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager: drop-on-latency = false /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager: max-rtcp-rtp-time-diff = 1000 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager: buffer-mode = Slave receiver to sender clock /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc1: timeout = 5000000000 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc1: caps = application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000, encoding-name=(string)MP2T, a-tool=(string)"vlc\ 2.2.6", a-recvo nly=(string)"", a-type=(string)broadcast, a-charset=(string)UTF-8, ssrc=(uint)151008309 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc2: caps = application/x-rtcp Progress: (open) Opened Stream Setting pipeline to PLAYING ... New clock: GstSystemClock /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager: buffer-mode = Slave receiver to sender clock Progress: (request) Sending PLAY request Progress: (request) Sending PLAY request /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc1: caps = application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000, encoding-name=(string)MP2T, a-tool=(string)"vlc\ 2.2.6", a-recvo nly=(string)"", a-type=(string)broadcast, a-charset=(string)UTF-8, ssrc=(uint)151008309, clock-base=(uint)2276392911, seqnum-base=(uint)60526, npt-start=(guint64)1038673572878000, play-speed=(double)1, play-scale=(double)1 Progress: (request) Sent PLAY request /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc2.GstPad:src: caps = application/x-rtcp /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc2.GstPad:src: caps = application/x-rtcp /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager.GstGhostPad:recv_rtcp_sink_0.GstProxyPad:proxypad1: caps = application/x-rtcp /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager.GstGhostPad:recv_rtcp_sink_0.GstProxyPad:proxypad1: caps = application/x-rtcp /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager/GstFunnel:funnel1.GstFunnelPad:funnelpad1: caps = application/x-rtcp /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager.GstGhostPad:recv_rtp_sink_0: caps = application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000, encoding-name=(string)MP2T, a-tool=( string)"vlc\ 2.2.6", a-recvonly=(string)"", a-type=(string)broadcast, a-charset=(string)UTF-8, ssrc=(uint)151008309, clock-base=(uint)2276392911, seqnum-base=(uint)60526, npt-start=(guint64)1038673572878000, play-speed=(double)1, play-scale= (double)1 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager.GstGhostPad:recv_rtp_sink_0: caps = application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000, encoding-name=(string)MP2T, a-tool=( string)"vlc\ 2.2.6", a-recvonly=(string)"", a-type=(string)broadcast, a-charset=(string)UTF-8, ssrc=(uint)151008309, clock-base=(uint)2276392911, seqnum-base=(uint)60526, npt-start=(guint64)1038673572878000, play-speed=(double)1, play-scale= (double)1 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc1: timeout = 0 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager/GstFunnel:funnel0.GstPad:src: caps = application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000, encoding-name=(string)MP2T, a-tool= (string)"vlc\ 2.2.6", a-recvonly=(string)"", a-type=(string)broadcast, a-charset=(string)UTF-8, ssrc=(uint)151008309, clock-base=(uint)2276392911, seqnum-base=(uint)60526, npt-start=(guint64)1038673572878000, play-speed=(double)1, play-scale =(double)1 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager/GstRtpSession:rtpsession0.GstPad:recv_rtp_src: caps = application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000, encoding-name=(str ing)MP2T, a-tool=(string)"vlc\ 2.2.6", a-recvonly=(string)"", a-type=(string)broadcast, a-charset=(string)UTF-8, ssrc=(uint)151008309, clock-base=(uint)2276392911, seqnum-base=(uint)60526, npt-start=(guint64)1038673572878000, play-speed=(dou ble)1, play-scale=(double)1 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000, encoding-name=(string) MP2T, a-tool=(string)"vlc\ 2.2.6", a-recvonly=(string)"", a-type=(string)broadcast, a-charset=(string)UTF-8, ssrc=(uint)151008309, clock-base=(uint)2276392911, seqnum-base=(uint)60526, npt-start=(guint64)1038673572878000, play-speed=(double) 1, play-scale=(double)1 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager/GstRtpSession:rtpsession0.GstPad:recv_rtp_sink: caps = application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000, encoding-name=(st ring)MP2T, a-tool=(string)"vlc\ 2.2.6", a-recvonly=(string)"", a-type=(string)broadcast, a-charset=(string)UTF-8, ssrc=(uint)151008309, clock-base=(uint)2276392911, seqnum-base=(uint)60526, npt-start=(guint64)1038673572878000, play-speed=(do uble)1, play-scale=(double)1 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager/GstRtpJitterBuffer:rtpjitterbuffer0.GstPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000, encoding-name=(s tring)MP2T, a-tool=(string)"vlc\ 2.2.6", a-recvonly=(string)"", a-type=(string)broadcast, a-charset=(string)UTF-8, ssrc=(uint)151008309, clock-base=(uint)2276392911, seqnum-base=(uint)60526, npt-start=(guint64)1038673572878000, play-speed=(d ouble)1, play-scale=(double)1 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager/GstRtpPtDemux:rtpptdemux0.GstPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000, encoding-name=(string)MP2T , a-tool=(string)"vlc\ 2.2.6", a-recvonly=(string)"", a-type=(string)broadcast, a-charset=(string)UTF-8, ssrc=(uint)151008309, clock-base=(uint)2276392911, seqnum-base=(uint)60526, npt-start=(guint64)1038673572878000, play-speed=(double)1, p lay-scale=(double)1 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0.GstGhostPad:sink.GstProxyPad:proxypad5: caps = application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000, encoding-name=(string)MP2T, a-tool=(s tring)"vlc\ 2.2.6", a-recvonly=(string)"", a-type=(string)broadcast, a-charset=(string)UTF-8, ssrc=(uint)151008309, clock-base=(uint)2276392911, seqnum-base=(uint)60526, npt-start=(guint64)1038673572878000, play-speed=(double)1, play-scale=( double)1 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000, encoding-name=(string)MP2T, a-tool=(s tring)"vlc\ 2.2.6", a-recvonly=(string)"", a-type=(string)broadcast, a-charset=(string)UTF-8, ssrc=(uint)151008309, clock-base=(uint)2276392911, seqnum-base=(uint)60526, npt-start=(guint64)1038673572878000, play-speed=(double)1, play-scale=( double)1 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTSDemux:tsdemux0.GstPad:sink: caps = video/mpegts, packetsize=(int)188, systemstream=(boolean)true /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstRtpMP2TDepay:rtpmp2tdepay0.GstPad:src: caps = video/mpegts, packetsize=(int)188, systemstream=(boolean)true /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstRtpMP2TDepay:rtpmp2tdepay0.GstPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000, encoding-name=(string)MP2T, a-tool =(string)"vlc\ 2.2.6", a-recvonly=(string)"", a-type=(string)broadcast, a-charset=(string)UTF-8, ssrc=(uint)151008309, clock-base=(uint)2276392911, seqnum-base=(uint)60526, npt-start=(guint64)1038673572878000, play-speed=(double)1, play-scal e=(double)1 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000, encoding-name=(string)MP2T, a-tool=( string)"vlc\ 2.2.6", a-recvonly=(string)"", a-type=(string)broadcast, a-charset=(string)UTF-8, ssrc=(uint)151008309, clock-base=(uint)2276392911, seqnum-base=(uint)60526, npt-start=(guint64)1038673572878000, play-speed=(double)1, play-scale= (double)1 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0.GstGhostPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000, encoding-name=(string)MP2T, a-tool=(string)"vlc\ 2.2.6", a- recvonly=(string)"", a-type=(string)broadcast, a-charset=(string)UTF-8, ssrc=(uint)151008309, clock-base=(uint)2276392911, seqnum-base=(uint)60526, npt-start=(guint64)1038673572878000, play-speed=(double)1, play-scale=(double)1 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source.GstGhostPad:recv_rtp_src_0_151008309_33.GstProxyPad:proxypad4: caps = application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000, encoding-name=(strin g)MP2T, a-tool=(string)"vlc\ 2.2.6", a-recvonly=(string)"", a-type=(string)broadcast, a-charset=(string)UTF-8, ssrc=(uint)151008309, clock-base=(uint)2276392911, seqnum-base=(uint)60526, npt-start=(guint64)1038673572878000, play-speed=(doubl e)1, play-scale=(double)1 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager.GstGhostPad:recv_rtp_src_0_151008309_33.GstProxyPad:proxypad3: caps = application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000, en coding-name=(string)MP2T, a-tool=(string)"vlc\ 2.2.6", a-recvonly=(string)"", a-type=(string)broadcast, a-charset=(string)UTF-8, ssrc=(uint)151008309, clock-base=(uint)2276392911, seqnum-base=(uint)60526, npt-start=(guint64)1038673572878000, play-speed=(double)1, play-scale=(double)1 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstPad:src_0: caps = audio/mpeg, mpegversion=(int)1 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMpegAudioParse:mpegaudioparse0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)1 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstPad:src_1: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMpeg4VParse:mpeg4vparse0.GstPad:sink: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-buffers = 5 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-time = 0 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-bytes = 2097152 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstMultiQueuePad:sink_0: caps = audio/mpeg, mpegversion=(int)1 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstMultiQueuePad:sink_1: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstFluMp3Dec:flump3dec0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)2, rate=(int)44100, channels=(int)2, parsed=(boolean )true /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMpegAudioParse:mpegaudioparse0.GstPad:src: caps = audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)2, rate=(int)44100, channels=(int)2, parsed =(boolean)true /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstFluMp3Dec:flump3dec0.GstPad:src: caps = audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)44100, channels=(int)2, channel-mask=(bitmask)0x 0000000000000003 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstFluVADec:fluvadec0.GstPad:sink: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, parsed=(boolean)true /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMpeg4VParse:mpeg4vparse0.GstPad:src: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, parsed=(boolean)true /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-buffers = 5 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-time = 0 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-bytes = 2097152 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-buffers = 5 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-time = 0 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-bytes = 2097152 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMpeg4VParse:mpeg4vparse0.GstPad:src: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, parsed=(boolean)true, profile=(string)simple, level=(str ing)1, codec_data=(buffer)000001b001000001b58913000001000000012000c4f9ea8d8800f50d841e9463, width=(int)432, height=(int)244, pixel-aspect-ratio=(fraction)61/81 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-buffers = 5 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-time = 0 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-bytes = 2097152 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstFluVADec:fluvadec0.GstPad:sink: caps = video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, parsed=(boolean)true, profile=(string)simple, level=(string)1 , codec_data=(buffer)000001b001000001b58913000001000000012000c4f9ea8d8800f50d841e9463, width=(int)432, height=(int)244, pixel-aspect-ratio=(fraction)61/81 Missing element: video/x-fluendo-va decoder WARNING: from element /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0: No decoder available for type 'video/x-fluendo-va, width=(int)432, height=(int)244, pixel-aspect-ratio=(fraction)61/81, framerate=(fraction)30/1, rotation=(int)0, in terlaced=(boolean)false'. Additional debug info: gsturidecodebin.c(931): unknown_type_cb (): /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstFluVADec:fluvadec0.GstPad:src: caps = video/x-fluendo-va, width=(int)432, height=(int)244, pixel-aspect-ratio=(fraction)61/81, framerate=(fraction)30/1, rotation =(int)0, interlaced=(boolean)false /GstPipeline:pipeline0/GstFakeSink:fakesink0.GstPad:sink: caps = audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)44100, channels=(int)2, channel-mask=(bitmask)0x0000000000000003 /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0.GstGhostPad:src_0.GstProxyPad:proxypad9: caps = audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)4 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi Jerry,
Stream is packetized using mpests rtp payloaded. U need to use rtpmp2tdepay for depacketization. Vinod -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Jerry Geis-2
>Stream is packetized using mpests rtp payloaded. U need to use rtpmp2tdepay >for depacketization. Hi Vinod,
Thanks - I am not sure where to put the rtpmp2tdepay in the stream I started with (see below)? I replaced the rtpmp4vdepay with rtpmp2tdepay and that did not work. To that end I took the above command and changed to: gst-launch-1.0 rtspsrc location=rtsp://IP/camera.sdp '!' rtpmp4vdepay '!' mpeg4videoparse '!' queue '!' mpegtsmux '!' hlssink playlist-root= http://192.168.1.8/hlssink location=/var/www/html/hlssink.ts playlist-location=/var/www/html/playlist.m3u8 My goal was to take any rtsp stream and auto decode it to hlssink. I have an h264 stream working. But that was all. I want to be more flexible for the input stream. Thanks, Jerry _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi Jerry
below pipeline may work for u. gst-launch-1.0 rtspsrc location=rtsp://IP/camera.sdp ! rtpmp2tdepay! tsdemux ! mpeg4videoparse config-interval=3 ! mpegtsmux ! hlssink playlist-root=http://192.168.1.8/hlssink location=/var/www/html/hlssink.ts playlist-location=/var/www/html/playlist.m3u8 ~ Vinod -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |