Bug#889528: mpv: Reading bluray using mpv fails

James Cowgill jcowgill at debian.org
Sun Feb 4 19:48:13 UTC 2018


Control: tags -1 - confirmed
Control: reassign -1 libbluray-dev 1:1.0.2-1
Control: retitle -1 libbluray-dev: missing dependencies on libxml, freetype, and fontconfig
Control: severity -1 serious
Control: affects -1 src:mpv

Hi,

On 04/02/18 20:29, James Cowgill wrote:
> On 04/02/18 19:32, mahashakti89 wrote:
>> On Sun, Feb 04, 2018 at 04:53:24PM +0100, James Cowgill wrote:
>>> On 04/02/18 16:46, James Cowgill wrote:
>>>> Hi,
>>>>
>>>> On 04/02/18 09:38, mahashakti89 wrote:
>>>>> Package: mpv
>>>>> Version: 0.27.0-3
>>>>> Severity: important
>>>>>
>>>>> Dear Maintainer,
>>>>>
>>>>> I am using smplayer to read blurays - choosen multimedia engine is
>>>>> mpv - but it
>>>>> fails with following message :
>>>>>
>>>>> Playing: br:////media/toto/cdrom0
>>>>> No protocol handler found to open URL br:////media/toto/cdrom0
>>>>> The protocol is either unsupported, or was disabled at compile-time.
>>>>
>>>> mpv uses a slightly different "bd" protocol instead of "br". Try this:
>>>>  mpv br:// --bluray-device=/media/toto/cdrom0
>>>
>>> Err this of course should be:
>>> mpv bd:// --bluray-device=/media/toto/cdrom0
>>
>> Hi,
>> mpv bd:// --bluray-device=/media/cdrom0
>> Error parsing option bluray-device (option not found)
>> Setting commandline option --bluray-device=/media/cdrom0 failedi.
>>
>> Extract of the mount command
>>
>> gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse
>> (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
>> fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
>> /dev/sdg1 on /media/toto/PATRIOT2 type fuseblk
>> (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
>>
>> /dev/sr0 on /media/cdrom0 type udf
>> (ro,nosuid,nodev,noexec,relatime,utf8,user)
>>
>> Till then mpv worked fairly well with playing blurays.
> 
> After looking a bit more closely, mpv isn't pulling in libbluray at all.
> The build log contains:> Checking for Bluray support
>                   : no ('libbluray >= 0.3.0' not found)
> 
> I'll try and see why it's not detecting the library.

This is due to pkg-config failing to run on libbluray:
> $ pkg-config --cflags libbluray
> Package libxml-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libxml-2.0.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'libxml-2.0', required by 'libbluray', not found

Probably libbluray-dev needs to build-depend on libfreetype6-dev,
libfontconfig-dev and libxml2-dev to fix this.

Thanks,
James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20180204/96853242/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list