Need urgent help with clockoverlay
rbattu
ramakrishnadeepak at gmail.com
Wed Jan 1 10:44:56 PST 2014
Hi All,
I was trying to clockoverlay , but not succesful, below is the command and
the resulted caps. The output showing was struck after the timeoverlay, any
guess why the flow isnt going through clockoverlay?
gst-launch-0.10 -v tcpclientsrc host=192.168.0.102 port=5000 ! gdpdepay !
rtph264depay ! ffdec_h264 ! ffmpegcolorspace !
video/x-raw-yuv,format=\(fourcc\)YUY2 ! autoconvert ! timeoverlay
halign=right valign=top ! clockoverlay halign=left valign=top
time-format="%Y/%m/%d %H:%M:%S" ! xvimagesink sync=false
Output:
/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)\"J2QAKKwrQCIC3y8A8SJq\\,KO4CXLA\\=\",
payload=(int)96, ssrc=(uint)3608363948, clock-base=(uint)3335788158,
seqnum-base=(uint)62630
/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:src: caps =
video/x-h264, stream-format=(string)byte-stream, alignment=(string)nal
/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)\"J2QAKKwrQCIC3y8A8SJq\\,KO4CXLA\\=\",
payload=(int)96, ssrc=(uint)3608363948, clock-base=(uint)3335788158,
seqnum-base=(uint)62630
/GstPipeline:pipeline0/ffdec_h264:ffdec_h2640.GstPad:sink: caps =
video/x-h264, stream-format=(string)byte-stream, alignment=(string)nal
/GstPipeline:pipeline0/ffdec_h264:ffdec_h2640.GstPad:src: caps =
video/x-raw-yuv, width=(int)1080, height=(int)720, framerate=(fraction)25/1,
format=(fourcc)I420, interlaced=(boolean)false
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:src: caps =
video/x-raw-yuv, format=(fourcc)YUY2, width=(int)1080, height=(int)720,
framerate=(fraction)25/1, interlaced=(boolean)false
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:sink: caps =
video/x-raw-yuv, width=(int)1080, height=(int)720, framerate=(fraction)25/1,
format=(fourcc)I420, interlaced=(boolean)false
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps =
video/x-raw-yuv, format=(fourcc)YUY2, width=(int)1080, height=(int)720,
framerate=(fraction)25/1, interlaced=(boolean)false
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps =
video/x-raw-yuv, format=(fourcc)YUY2, width=(int)1080, height=(int)720,
framerate=(fraction)25/1, interlaced=(boolean)false
/GstPipeline:pipeline0/GstAutoConvert:autoconvert0.GstPad:sink: caps =
video/x-raw-yuv, format=(fourcc)YUY2, width=(int)1080, height=(int)720,
framerate=(fraction)25/1, interlaced=(boolean)false
/GstPipeline:pipeline0/GstAutoConvert:autoconvert0/GstVideoSegmentClip:videosegmentclip0.GstPad:sink:
caps = video/x-raw-yuv, format=(fourcc)YUY2, width=(int)1080,
height=(int)720, framerate=(fraction)25/1, interlaced=(boolean)false
/GstPipeline:pipeline0/GstAutoConvert:autoconvert0/GstVideoSegmentClip:videosegmentclip0.GstPad:src:
caps = video/x-raw-yuv, format=(fourcc)YUY2, width=(int)1080,
height=(int)720, framerate=(fraction)25/1, interlaced=(boolean)false
/GstPipeline:pipeline0/GstAutoConvert:autoconvert0.GstPad:src: caps =
video/x-raw-yuv, format=(fourcc)YUY2, width=(int)1080, height=(int)720,
framerate=(fraction)25/1, interlaced=(boolean)false
/GstPipeline:pipeline0/GstTimeOverlay:timeoverlay0.GstPad:src: caps =
video/x-raw-yuv, format=(fourcc)YUY2, width=(int)1080, height=(int)720,
framerate=(fraction)25/1, interlaced=(boolean)false
/GstPipeline:pipeline0/GstTimeOverlay:timeoverlay0.GstPad:video_sink: caps =
video/x-raw-yuv, format=(fourcc)YUY2, width=(int)1080, height=(int)720,
framerate=(fraction)25/1, interlaced=(boolean)false
However, when I changed the debug level to 3, I see the following warning
in a loop:
0:00:06.846734151 11792 0x86264f0 WARN videosegmentclip
gstvideosegmentclip.c:129:gst_video_segment_clip_clip_buffer:<videosegmentclip0>
Buffer without valid timestamp
Also on a side note I tried with videotestsrc as below, and it is
successful:
gst-launch-0.10 -v videotestsrc ! video/x-raw-yuv,format=\(fourcc\)YUY2 !
ffmpegcolorspace ! timeoverlay halign=right valign=top ! clockoverlay
halign=left valign=top time-format="%Y/%m/%d %H:%M:%S" ! xvimagesink
Please help. Thanks.
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Need-urgent-help-with-clockoverlay-tp4664380.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list