I noticed that the way playbin
handles subtitles is a lot better than using a uridecodebin
+ subtitleoverlay
combination. What does playbin
use or do under the hood to improve subtitle placement, etc? I would like to get the same results as playbin
for managing subtitles.
gst-launch-1.0 subtitleoverlay name=t font-desc="Sans bold 16" ! videoconvert ! autovideosink uridecodebin3 name=d uri=file:///path/to/video-with-subtitles.mkv ! t.video_sink d.text_0 ! t.subtitle_sink