Open christensen opened 6 years ago
can you provide a sample video?
http://files.videohelp.com/u/105769/PS%20EP5%20clip.ts
I tried with that one and can reproduce the problem. I can see the subtitles in VLC for example.
Confirmed in custom player using latest qtav.
I also have an MKV with 6 subtitle tracks, and only one track works in qtav, the rest is blank. VLC have no issues showing the subtitles. Probably the same issue...
Don't work:
"subtitle avcodec_descriptor_get_by_name hdmv_pgs_subtitle"
codec: "hdmv_pgs_subtitle"
header: ""
current subtitle processor: "FFmpeg"
Work:
codec: "subrip"
header: ""
current subtitle processor: "FFmpeg"
this is bitmap subtitle, which is not supported for now.
Was that a reply to @rodlie hdmv_pgs_subtitle problem? The dvb_subtitle is supposed to be supported?
Both(?)
I did some checking and it seems dvb_subtitle and hdmv_pgs_subtitle is image based and dvb_teletext is text (I may be wrong).
@wang-bin : Can I get the (used/tried) subtitle format from QtAV? Then I can at least inform the user that the format is not supported, or blacklist it. Worst case I can just scan the media myself for "supported" subtitle codecs I guess.
EDIT: Sorry for the noise, I can of course get the subtitle codec from QtAV, my bad :)
both of them are bitmap subtitles
QtAV: @49ce5f8a0f0aee52e263da0581a4f66723543567 Qt: 5.6.3 Platform: Ubuntu 16.04 x64
Reproduction steps
ffmpeg subtitle codecs: dvb_subtitle, dvb_teletext
Expected behavior
When chosing subtitle available in stream, subtitles are shown
Actual behavior
Subtitles are not shown
Log file
log-QMLPlayer.txt
Debug: subtitle track clicked: 0 Debug: codec: "dvb_subtitle" Debug: header: "\x00\x01\x00\x01\x12" Debug: current subtitle processor: "FFmpeg"
Looks to me like it's successful but I just can't see them.