|Summary:||multimedia/vlc: built in subtitles in mkv can't be decoded|
|Product:||Ports & Packages||Reporter:||skrech <skrechy>|
|Component:||Individual Port(s)||Assignee:||freebsd-multimedia (Nobody) <multimedia>|
|Severity:||Affects Only Me||CC:||daniel.engberg.lists, pgj|
Description skrech 2019-10-28 15:36:23 UTC
Hello, I have FreeBSD 12.0 (amd64) with KDE5. My version of VLC is latest from ports - 3.0.8. When I open .mkv file and try to enable the built in subtitles in the mkv file VLC outputs the following: Unidentified codec: VLC could not identify the audio or video codec When I start the movie from the command line the following is printed on stdout: VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7) [00000008008e4060] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.  mkv demux error: cannot find KaxSegment or missing mandatory KaxInfo  main demux error: option sub-original-fps does not exist libva info: VA-API version 1.5.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/local/lib/dri/radeonsi_drv_video.so libva info: va_openDriver() returns -1 [00000008157f6560] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error libva info: VA-API version 1.5.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/local/lib/dri/radeonsi_drv_video.so libva info: va_openDriver() returns -1 [00000008157f6560] glconv_vaapi_drm gl error: vaInitialize: unknown libva error libva info: VA-API version 1.5.0 libva info: va_getDriverName() returns 1 libva error: va_getDriverName() failed with operation failed,driver_name=radeonsi [00000008157f6560] glconv_vaapi_drm gl error: vaInitialize: operation failed Failed to open VDPAU backend Shared object "libvdpau_radeonsi.so" not found, required by "vlc" I'm dual booting FreeBSD with Ubuntu for sanity check and the same file with the same version of VLC on Ubuntu is playing the subtitles fine. DragonPlayer and Xine (on FreeBSD) are showing the subtitles fine. So, the problem should be something in the VLC build for FreeBSD.
Comment 1 skrech 2019-10-28 15:39:31 UTC
One more thing: When I load external subtitles, they work fine. Also, the files that I've tried all had SubRip type of subtitles. I've checked it with "ffmpeg -i filename" command.
Comment 2 daniel.engberg.lists 2020-12-12 01:02:09 UTC
Still an issue?
Comment 3 Gabor Pali 2021-02-07 11:59:13 UTC
Created attachment 222238 [details] Update to version 188.8.131.52
Comment 4 Gabor Pali 2021-02-07 11:59:30 UTC
I am still seeing this issue with vlc 3.0.11 (portversion: 3.0.11_9,4). Then I found that a bug was fixed in the upstream regarding the handling of WEBM WebVTT subtitles . I manually updated the port to 184.108.40.206 (220.127.116.11-0-g52483f3ca2, see the patch attached) and it solved the problem for me.  https://www.videolan.org/developers/vlc-branch/NEWS