Embedded subtitle are disabled for decodebin2

sergio_ myxdiablo at yahoo.com
Thu Apr 10 03:44:29 PDT 2014


Hello,

I am using next pipeline to play video file with embedded subtitle on a
i.MX6 board with GStreamer 0.10.35:
gst-launch  filesrc location=/mnt/sda1/Claymore.mkv ! decodebin2 name=demux
! subtitleoverlay name=overlay  ! ffmpegcolorspace ! mfw_ipucsc !
mfw_v4lsink  demux.  ! queue ! overlay.

The problem is that decodebin2 ignores the embedded subtitle. In the logs it
can be seen that audio and video tracks are enabled but subtitle tracks are
disabled. Is there a way I can enable the embedded subtitles? Is this
happening because I am missing some codecs for subtitles?

//The logs
	      file:///mnt/sda1/Claymore.mkv
	Idx File:
	      /root/.aiur/.mnt.sda1.Claymore.mkv.aidx
	Seekable  : Yes
	Size(byte): 211312391

Movie Info:
	Seekable  : Yes
	Live      : No
	Duration  : 0:22:50.721000000
	ReadMode  : Track
	Track     : 5

Track 00 [video_000000] Enabled
	Duration: 0:22:50.721000000
	Language: und
	Mime:
	      video/x-h264, parsed=(boolean)true, width=(int)720,
height=(int)400, framerate=(
	      fraction)29/1,
codec_data=(buffer)00000001674d40339e2101686742000007d20001d4c11e
	      3065400000000168ee3c80
vpudec versions :)
	plugin: 3.0.5
	wrapper: 1.0.28(VPUWRAPPER_ARM_LINUX Build on Oct 22 2013
15:28:56)
	vpulib: 5.4.10
	firmware: 2.1.8.34588
Track 01 [audio_000000] Enabled
	Duration: 0:22:50.721000000
	Language: eng
	Mime:
	      audio/mpeg, mpegversion=(int)1, framed=(boolean)true,
channels=(int)2, rate=(int
	      )48000, bitrate=(int)0
Track 02 [audio_000001] Enabled
	Duration: 0:22:50.721000000
	Language: jpn
	Mime:
	      audio/mpeg, mpegversion=(int)1, framed=(boolean)true,
channels=(int)2, rate=(int
	      )48000, bitrate=(int)0
Track 03 [subtitle]: Disabled
	Codec: 0, SubCodec: 0
Track 04 [subtitle]: Disabled
	Codec: 0, SubCodec: 0
Beep: 3.0.5 



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Embedded-subtitle-are-disabled-for-decodebin2-tp4666407.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list