Text overlays don't work on i.MX6 in certain pipelines

Toon Heyrman toonheyrman at hotmail.com
Thu Jan 11 10:30:43 UTC 2018


I'm building a pipeline like in this image:

<http://gstreamer-devel.966125.n4.nabble.com/file/t378027/pipeline.png> 

This is a minimal version that recreates the issue. 
The problem is that the text overlay is not shown in this pipeline
This when I use a 'tee' in combination with an overlay element(after tee),
imx encoder and an imx cam input.

I've tested 5 different scenarios and the overlay is only not shown in the
first scenario(same as above image). 
Pipeline as in image above -> NOK
Removing the 'tee' -> overlay OK
Moving the overlay element in front of the 'tee' -> OK
Removing the encoder and putting raw data in a file -> OK
Replace the imxv4l2videosrc with a testvideosrv -> OK

The output images are included (open the .mp4 files with 'ffplay ...mp4',
.data file with 'gimp ...data' and select width 1024, height 768)
The text is positioned in the bottom of the image. 
image_with_tee.mp4
<http://gstreamer-devel.966125.n4.nabble.com/file/t378027/image_with_tee.mp4>  
image_without_tee.mp4
<http://gstreamer-devel.966125.n4.nabble.com/file/t378027/image_without_tee.mp4>  
image_with_tee_overlay_in_front_of_tee.mp4
<http://gstreamer-devel.966125.n4.nabble.com/file/t378027/image_with_tee_overlay_in_front_of_tee.mp4>  
image_with_tee_without_enc.data
<http://gstreamer-devel.966125.n4.nabble.com/file/t378027/image_with_tee_without_enc.data>  
image_with_tee_testvideo.mp4
<http://gstreamer-devel.966125.n4.nabble.com/file/t378027/image_with_tee_testvideo.mp4>  

Debug information by doing GST_DEBUG=*:5
debug_output_with_tee.log
<http://gstreamer-devel.966125.n4.nabble.com/file/t378027/debug_output_with_tee.log>  
debug_output_without_tee.log
<http://gstreamer-devel.966125.n4.nabble.com/file/t378027/debug_output_without_tee.log>  
debug_output_with_tee_overlay_in_front_of_tee.log
<http://gstreamer-devel.966125.n4.nabble.com/file/t378027/debug_output_with_tee_overlay_in_front_of_tee.log>  
debug_output_with_tee_without_enc.log
<http://gstreamer-devel.966125.n4.nabble.com/file/t378027/debug_output_with_tee_without_enc.log>  
debug_output_with_tee_testvideo.log
<http://gstreamer-devel.966125.n4.nabble.com/file/t378027/debug_output_with_tee_testvideo.log>  

The pipelines I ran:
test-day-with-tee.test-day-with-tee
<http://gstreamer-devel.966125.n4.nabble.com/file/t378027/test-day-with-tee.test-day-with-tee>  
test-day-without-tee.test-day-without-tee
<http://gstreamer-devel.966125.n4.nabble.com/file/t378027/test-day-without-tee.test-day-without-tee>  
test-day-with-tee-overlay-in-front-of-tee.test-day-with-tee-overlay-in-front-of-tee
<http://gstreamer-devel.966125.n4.nabble.com/file/t378027/test-day-with-tee-overlay-in-front-of-tee.test-day-with-tee-overlay-in-front-of-tee>  
test-day-with-tee-without-enc.test-day-with-tee-without-enc
<http://gstreamer-devel.966125.n4.nabble.com/file/t378027/test-day-with-tee-without-enc.test-day-with-tee-without-enc>  
testvideo-with-tee.testvideo-with-tee
<http://gstreamer-devel.966125.n4.nabble.com/file/t378027/testvideo-with-tee.testvideo-with-tee>  

Replacing the multiqueue to two queues or queue2 doesn't help.

Am I doing something wrong or am I missing something essential?



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


More information about the gstreamer-devel mailing list