This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/DRA746: Need information for subtitle playback.

Part Number: DRA746

Tool/software: Linux

Hello Team, 

We are using custom h/w and software based on DRA746 and SDK 3.03. 

We are trying to play subtitle and videos on two different surfaces, because currently we are using SW composition for subtitles and this is causing memory issues in the system.

So we are trying to have subtitles on different surface and video on other suraface and let wayland take cares the composition in HW. Currently we are working on this.Please correct me if we are missing anything or if this approach looks ok.

One more thing, is it possible to play a subtitle file without video file, if yes please share the pipeline for the same.

we are using this pipeline but not working:

gst-launch-1.0 filesrc location=/tmp/USB1-1.4-sda1/2-H264\(640360_30\)MP3\(128_44\).srt ! ia_subparse ! textrender ! videoconvert ! 'video/x-raw,format=(string)AYUV' ! waylandsink

Setting pipeline to PAUSED ...

Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstTextRender:textrender0: GStreamer error: negotiation problem.
Additional debug info:
/home/buildserver/work/jenkins/var/lib/jenkins/workspace/MMT2020-ADV-R3-0-Customer-Release-Builds/project/elina-distro/build-cpm-mmt-2020/tmp/work/cortexa15hf-vfp-neon-elina-linux-gnueabi/gstreamer1.0-plugins-base/1.6.3-r0/gst-plugins-base-1.6.3/ext/pango/gsttextrender.c(511): gst_text_render_chain (): /GstPipeline:pipeline0/GstTextRender:textrender0
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

Thanks & Regards,

Ikshwaku

  • Hello Ikshwaku,

    There are several updates, information and issue reports.
    For example, for the GST error that you reported, it seems like a generic GST Error and doesn't relate to an error with any TI component per say. Will you follow up with this on a relevant GST Forum?

    Could you please specifically call out the specific issue here that you want TI's response?

    Regards
    Karthik
  • Ikshwaku,
    Negotiation failure is due to waylandsink not supporting AYUV format.
    This pipeline worked for me.

    gst-launch-1.0 filesrc location=/home/root/02.SRT ! subparse video-fps=30 ! textrender ! videoconvert ! 'video/x-raw, format=(string)NV12' ! waylandsink use-drm=true