Closed TopperBG closed 5 years ago
Thanks for reporting this. @GFallasRR can you go ahead and analyze this issue?
If the clock/text overlay is put in source pipe - works and that's enough for me. But in other pipes it didn't except stream_pipe. Should be a problem IMHO.
Have few pipes and just one which streaming mpegts has clockoverlay. Another two recording to file and showing livepreview works but w/o clockoverlay. That's the source
pipeline_create cam_src_pipe imxv4l2videosrc typefind=true ! imxipuvideotransform deinterlace=true ! interpipesink name=cam_src caps=video/x-raw,width=640,height=480,framerate=25/1 sync=true async=false forward-eos=true
That's wont show any clock overlay:
pipeline_create live_preview_pipe interpipesrc name=live_prev_intpsrc listen-to=cam_src is-live=true allow-renegotiation=true enable-sync=true ! queue max-size-buffers=3 leaky=downstream flush-on-eos=true ! clockoverlay ! videoconvert ! imxg2dvideosink window-width=640 window-height=480 window-x-coord=800 window-y-coord=400
That's wont show too:
pipeline_create recording_pipe interpipesrc name=rec_intpsrc listen-to=cam_src is-live=true allow-renegotiation=true enable-sync=false format=time ! clockoverlay halignment=left valignment=bottom ! queue max-size-buffers=3 leaky=downstream ! imxvpuenc_h264 bitrate=8192 ! h264parse ! splitmuxsink location=/tmp/rec_%03d.mpg max-size-time=60000000000 max-files=4 muxer=mpegtsmux
BUT that one works without any problem:pipeline_create stream_pipe interpipesrc name=stream_intpsrc listen-to=cam_src is-live=true allow-renegotiation=true enable-sync=false ! queue max-size-buffers=4 leaky=downstream flush-on-eos=true ! clockoverlay shaded-background=true font-desc="Nimbus mono" valignment=1 ! textoverlay shaded-background=true font-desc="Nimbus mono" valignment=1 halignment=2 text="42.1233N 24.1234E" ! imxvpuenc_h264 bitrate=6000 gop-size=16 ! mpegtsmux ! tcpserversink host=0.0.0.0 port=1234 sync=true
Both problematic pipes are with different place of clock sink to test the defect. Any ideas what's could be a problem ? Version of interpipe plugin is:GSTD is the latest commit in dev branch