Skip to content

Instantly share code, notes, and snippets.

@rc1
Created March 25, 2014 10:23
Show Gist options
  • Select an option

  • Save rc1/9758728 to your computer and use it in GitHub Desktop.

Select an option

Save rc1/9758728 to your computer and use it in GitHub Desktop.
sudo gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-h264, width=1280,height=720,framerate=30/1' ! h264parse ! rtph264pay pt=96 config-interval=1 ! gdppay ! tcpserversink host=0.0.0.0 port=1234
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
(gst-launch-1.0:21526): GStreamer-WARNING **: gstpad.c:4506:store_sticky_event:<gdpdepay0:src> Sticky event misordering, got 'segment' before 'caps'
/GstPipeline:pipeline0/GstGDPDepay:gdpdepay0.GstPad:src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, sprop-parameter-sets=(string)"Z0JAKLtAKALb+AokAAADAAQAAAMA8YEAALcbAAtx73vheEQjUA\=\=\,aM44gA\=\=", payload=(int)96, ssrc=(uint)3559254462, timestamp-offset=(uint)3329980361, seqnum-offset=(uint)46515
/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, codec_data=(buffer)01424028ffe1002567424028bb402802dbf80a24000003000400000300f1810000b71b000b71ef7be17844235001000468ce3880
/GstPipeline:pipeline0/avdec_h264:avdec_h264-0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, codec_data=(buffer)01424028ffe1002567424028bb402802dbf80a24000003000400000300f1810000b71b000b71ef7be17844235001000468ce3880
(gst-launch-1.0:21526): GStreamer-WARNING **: gstpad.c:4506:store_sticky_event:<rtph264depay0:sink> Sticky event misordering, got 'segment' before 'caps'
/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, sprop-parameter-sets=(string)"Z0JAKLtAKALb+AokAAADAAQAAAMA8YEAALcbAAtx73vheEQjUA\=\=\,aM44gA\=\=", payload=(int)96, ssrc=(uint)3559254462, timestamp-offset=(uint)3329980361, seqnum-offset=(uint)46515
/GstPipeline:pipeline0/avdec_h264:avdec_h264-0.GstPad:src: caps = video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)0/1
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)0/1, format=(string)YUY2
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)0/1, format=(string)YUY2
/GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)0/1, format=(string)YUY2
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)0/1, format=(string)YUY2
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:sink: caps = video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)0/1
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment