Package Details: mpv-full 0.38.0-1

Git Clone URL: https://aur.archlinux.org/mpv-full.git (read-only, click to copy)
Package Base: mpv-full
Description: A free, open source, and cross-platform media player (with all possible libs)
Upstream URL: https://mpv.io/
Keywords: hwaccel mpv player video
Licenses: GPL
Conflicts: mpv
Provides: mpv
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 21
Popularity: 0.000014
First Submitted: 2017-02-15 20:52 (UTC)
Last Updated: 2024-04-18 17:58 (UTC)

Dependencies (43)

Required by (384)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

dbermond commented on 2020-10-07 18:26 (UTC)

@clidx I really do not know what can be causing this for you.

clidx commented on 2020-10-07 17:48 (UTC)

@dbermond I'm running mainline Arch which is fully up-to-date as of yesterday. I've tried the standard ffmpeg package. The error is the same. At this point I've tried every combination of mpv/ffmpeg standard/amd-full/git (as applicable). Removing the drmprime line gets rid of the error about prime not being detected and then says that AVCodecParameters isn't a valid type. I checked the source code and it's defined in av_common.h and as far as I can tell, not knowing any C, there is an attempt to include av_common.h at the top of the demux_raw.c file that the compiler is stopping on.

dbermond commented on 2020-10-07 17:29 (UTC) (edited on 2020-10-07 17:29 (UTC) by dbermond)

@clidx The term 'prime' is not exclusive to nvidia. See https://en.wikipedia.org/wiki/Direct_Rendering_Manager

What is your operating system? Have you tried with ffmpeg from the Arch Linux official repositories instead of using a custom one?

clidx commented on 2020-10-07 15:25 (UTC) (edited on 2020-10-07 15:36 (UTC) by clidx)

@dbermond I checked the PKGBUILD for ffmpeg-amd-full and that compile option is there. libdrm is also a dependency for standard ffmpeg too so I assume it's compiled with it as well. The check for DRM itself passes but DRM prime fails.

After changing it to --disable-drmprime I get this error https://pastebin.com/SG3amar3

Just dropping the drmprime option altogether gives a very similar error. mpv-full-git has the same error.

My google fu tells me PRIME is related to Nvidia Optimus. Could it be related to that and the fact I don't have any/many Nvidia specific related libraries such as CUDA installed?

It does seem likely that these 2 errors are separate.

dbermond commented on 2020-10-06 02:06 (UTC)

@clidx The requirement for "DRM Prime ffmpeg support" is a ffmpeg compiled with --enable-libdrm, as you can see here:

https://github.com/mpv-player/mpv/blob/v0.32.0/wscript#L592-L598

https://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=9cb23cd9fe58e262273ce606b6febfef0509e316

mpv-full currently builds fine for me with ffmpeg from the official repositories (currently at version 4.3.1) and also with ffmpeg-full-git from the aur, either in a local build as in a clean chroot, so there is no packaging problem.

You can try to use mpv-full-git as the --enable-drmprime option was dropped by upstream mpv in their git master branch, as shown here:

https://github.com/mpv-player/mpv/commit/7d11eda72e90d7aa9df25127bd810aa7b191029c#diff-dc6134e3d3c869a052520d86f46371dc

clidx commented on 2020-10-05 17:20 (UTC)

So I tried disabling DRM Prime and get the following build error https://pastebin.com/SG3amar3

Unsure if it's due to disabling it or a packaging error or what.

clidx commented on 2020-10-04 20:58 (UTC) (edited on 2020-10-04 20:59 (UTC) by clidx)

I'm getting the following error

Checking for DRM Prime ffmpeg support                                     : no 
You manually enabled the feature 'drmprime', but the autodetection check failed.

What are the requirements for this DRM prime thing? I have ffmpeg-amd-full installed. I could just disable it but would rather get it working as is.

dbermond commented on 2020-09-26 00:10 (UTC)

@larvan Your log says to be running a test named 'Passing', but there is no such test. The available tests can be seen by running this command on the mpv source tree after building: build-tests/mpv --unittest='help'. They should be: chmap, gl_video, img_format, json, linked_list, repack_sws, repack_zimg and all-simple.