Closed premalathasuresh closed 3 years ago
You'd need to decode the actual video elementary stream first. This is not gstreamer-imx specific - it is a general GStreamer question instead. Please consult the GStreamer mailing list, or visit the GStreamer IRC channel.
Hi Am new to gstreamer,
My requirement is to add textoverlay on video. I have installed gstreamer1.0, and run below command for to get the result.
gst-launch-1.0 filesrc location=/home/premalatha/backup/result.ts ! textoverlay text="Hello" ! filesink location=/home/premalatha/backup/resultoutput.ts
Here result.ts is my input file and I expect the resulted data to be present at resultoutput.ts.
Could you please let me know if I have missed out any steps. or any other library to be added here.
Error displayed on screen : premalatha@ATX-InfoSysVM04:~$ gst-launch-1.0 filesrc location=/home/premalatha/backup/result.ts ! textoverlay text="Hello" ! filesink location=/home/premalatha/backup/resultoutput.ts Setting pipeline to PAUSED ... Pipeline is PREROLLING ... WARNING: from element /GstPipeline:pipeline0/GstTextOverlay:textoverlay0: Could not multiplex stream. Additional debug info: gstbasetextoverlay.c(2434): gst_base_text_overlay_video_event (): /GstPipeline:pipeline0/GstTextOverlay:textoverlay0: received non-TIME newsegment event on video input Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "pipeline0". Execution ended after 0:00:00.000120717 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ..