Page 1 of 1
load subtitles file without dialog opening
Posted: 17 Jun 2019 09:49
by mangup
How can i load subtitles file without open-file-dialog opening? (when user select some mp4-embeded subtitle Track - open some known file)
May be to post some event to some appropriate queue? or other way?
Re: load subtitles file without dialog opening
Posted: 17 Jun 2019 11:30
by InTheWings
rename with same file name, but keep subtitle ext.
Foo.mp4
Foo.srt
Re: load subtitles file without dialog opening
Posted: 17 Jun 2019 11:49
by mangup
not that.
I have fragmented mp4 file with multiple subtitle tracks. some of them are not fragmented and vlc does not play them. But it can to play them, if they are extracted to external file.
I want to mark (some how) that tracks and load external file when user select one of that tracks from menu.
Re: load subtitles file without dialog opening
Posted: 17 Jun 2019 18:59
by unidan
you have to use the input slave system to join your main media with the subtitle media.
Re: load subtitles file without dialog opening
Posted: 19 Jun 2019 14:53
by mangup
during playing with input slave system I've found:
1. a segfault in webvtt: https://trac.videolan.org/vlc/ticket/22448
2. [input-slave] failed to identify SAMI subtitles: https://trac.videolan.org/vlc/ticket/22451