Subtitles no longer working for vlc

Subtitles no longer working for vlc

Postby tarazed » Jun 8th, '18, 08:33

I am not sure when this happened, but after a recent update of tainted vlc, embedded subtitles no longer work for video files. To set this in context; for a long time I have been downloading files from the BBC as MP4 with an associated SRT file which I then embed in the MP4 file using ffmpeg. The resulting files play in vlc and the subtitle track can be selected but nothing happens; no OSD text. Playing the original MP4 file from a directory containing the associated SRT file also fails to display the on-screen text when selected. That always used to work as well. However if the files with embedded subtitles are passed to mplayer, mplayer displays the subtitles automatically, which suggests that the subtitle track has been embedded correctly. I do not know what component of vlc is used for displaying subtitles. If it is a plugin, there is a possibility that something is missing. I have tried this version of vlc on three different machines; failure on all three. vlc is invoked from the command-line, passing the filename as an argument. Failure also occurs with subtitled video files recorded by vlc itself from a TV input. These have the .ts extension and as with .mp4 the embedded subtitle track can be selected but fails to display. There is a constant stream of repeated error messages in the console:
Code: Select all
[00007f08bc0563a0] main blend error: blending YUVA to VDV0 failed
[00007f08bc0563a0] blend blend error: no matching alpha blending routine (chroma: YUVA -> VDV0)

These packages are installed.
Code: Select all
$ rpm -qa | grep vlc
npapi-vlc-2.2.0-1.mga6
vlc-plugin-theora-3.0.2-0.1.mga6.tainted
lib64vlccore9-3.0.2-0.1.mga6.tainted
vlc-plugin-common-3.0.2-0.1.mga6.tainted
vlc-plugin-lua-3.0.2-0.1.mga6.tainted
lib64vlc5-3.0.2-0.1.mga6.tainted
vlc-plugin-flac-3.0.2-0.1.mga6.tainted
svlc-3.0.2-0.1.mga6.tainted
vlc-3.0.2-0.1.mga6.tainted
vlc-plugin-speex-3.0.2-0.1.mga6.tainted
vlc-plugin-vdpau-3.0.2-0.1.mga6.tainted
vlc-plugin-pulse-3.0.2-0.1.mga6.tainted

I have tried some searches on the web but do not see any recent reports of such a problem.
tarazed
 
Posts: 269
Joined: Sep 18th, '11, 01:49

Re: Subtitles no longer working for vlc

Postby tarazed » Jun 11th, '18, 22:56

On second thoughts, observing that the problem persists with the version of vlc waiting in Updates Testing I shall open a new bug on this matter.
tarazed
 
Posts: 269
Joined: Sep 18th, '11, 01:49

Re: Subtitles no longer working for vlc

Postby asimov-solensan » Jan 6th, '19, 22:48

Did you finally open bug for this?

I also have been expecting this to be solved in an update but it's still the same.

I also checked that on mplayer (smplayer in my case) subtitles don't work, but I can't see any error in the logs, got the same as you on vlc.

Also tried on parole player and they all work flawless, embedded or from a srt file.

So it seems that it's related to some library used for vlc and mplayer but not parole.
asimov-solensan
 
Posts: 64
Joined: Sep 15th, '12, 21:43

Re: Subtitles no longer working for vlc

Postby tarazed » Jan 7th, '19, 12:40

I think I did post a bug for this. Shall try to locate it. In the meantime I discovered that when running it from the command line adding '--avcodec-hw none' did the trick. If you prefer to avoid the command line edit the file /usr/share/applications/vlc.desktop. Look for the lines:
Code: Select all
 Exec=/usr/bin/vlc --started-from-file %U
TryExec=/usr/bin/vlc

Try:
Code: Select all
 Exec=/usr/bin/vlc --avcodec-hw none --started-from-file %U

If that does not work, edit the TryExec line. Apologies for the lack of certainty - memory is a bit foggy.
tarazed
 
Posts: 269
Joined: Sep 18th, '11, 01:49

Re: Subtitles no longer working for vlc

Postby tarazed » Jan 7th, '19, 12:48

tarazed
 
Posts: 269
Joined: Sep 18th, '11, 01:49

Re: Subtitles no longer working for vlc

Postby asimov-solensan » Jan 7th, '19, 19:30

Thanks, that worked.

If I get it correctly, with that option there is not hardware acceleration. I expect it gets solved at some point, reading the bug historic seems that is more a problem of VLC than mageia.
asimov-solensan
 
Posts: 64
Joined: Sep 15th, '12, 21:43


Return to Video

Who is online

Users browsing this forum: No registered users and 1 guest