You are not logged in.

#1 2015-08-31 05:48:17

kansas city shuffle
Member
Registered: 2015-07-20
Posts: 47

MPV player stops playing video only audio

MPV was playing flawlessly a couple days ago then all of the sudden the video no longer plays. I did an update yesterday so I suspect the update broke it.

Still too new with Arch Linux to know what exactly caused it to break. I've tried uninstalling the mpv package 'sudo pacman -Rns mpv' and reinstalled it to no avail, the video does not play.

I am using Arch Linux on VirtualBox. I noticed using 'ffplay -i example.mp4' plays the video fine.


This is the output:

Playing: example.mp4 (+) Video --vid=1 (*) (h264)

(+) Audio --aid=1 --alang=und (*) (aac)

pci id for fd 12: 80ee:beef, driver (null)

libGL error: core dri or dri2 extension not found

libGL error: failed to load driver: vboxvideo

[vo/opengl] Suspected software renderer or indirect context.

Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory

[vo/vdpau] Error when calling vdp_device_create_x11: 1

[vo/xv] No Xvideo support found.

libva info: VA-API version 0.38.0

libva info: va_getDriverName() returns 0

libva info: Trying to open /usr/lib/dri/vboxvideo_drv_video.so

libva info: va_openDriver() returns -1

[vaapi] vaInitialize(): unknown libva error

Error opening/initializing the selected video_out (-vo) device.

Video: no video

AO: [alsa] 48000Hz stereo 2ch float

A: 00:00:01 / 00:42:57 (0%)

Last edited by kansas city shuffle (2015-08-31 06:04:50)

Offline

#2 2015-08-31 05:57:14

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: MPV player stops playing video only audio

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_code

Is your system fully up-to-date? Run -Syyu on a synced mirror...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-08-31 06:05:48

kansas city shuffle
Member
Registered: 2015-07-20
Posts: 47

Re: MPV player stops playing video only audio

jasonwryan wrote:

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_code

Is your system fully up-to-date? Run -Syyu on a synced mirror...

Yes, updates with code tags and it is fully updated. I believe it was an update yesterday that broke mpv as it was working earlier in the day.

Offline

#4 2015-08-31 06:07:24

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: MPV player stops playing video only audio

mpv 41859.gf1778d1f-1 works fine for me...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2015-08-31 06:11:13

kansas city shuffle
Member
Registered: 2015-07-20
Posts: 47

Re: MPV player stops playing video only audio

jasonwryan wrote:

mpv 41859.gf1778d1f-1 works fine for me...

Are you running this from a VM on VirtualBox? This is how I am running my Arch Linux. And I am running the same mpv version as well.

Last edited by kansas city shuffle (2015-08-31 06:12:06)

Offline

#6 2015-08-31 06:19:44

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: MPV player stops playing video only audio

Nope.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2015-08-31 06:27:40

kansas city shuffle
Member
Registered: 2015-07-20
Posts: 47

Re: MPV player stops playing video only audio

jasonwryan wrote:

Nope.

Thanks for the help then.

Offline

#8 2015-08-31 08:50:22

kansas city shuffle
Member
Registered: 2015-07-20
Posts: 47

Re: MPV player stops playing video only audio

I've tried a fresh clean wipe of the VM and reinstalled everything. Despite all of that the same issue still occurs. Confused as a couple days ago this was working perfectly. VLC works fine.

This VM with the issue is running off OS X.

I have another VM with the same setup on Windows 7 and is also up to date with everything and this problem does not occur there.

Last edited by kansas city shuffle (2015-08-31 08:52:09)

Offline

#9 2015-08-31 12:27:41

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,420
Website

Re: MPV player stops playing video only audio

You might have to choose a different -vo option:

https://github.com/mpv-player/mpv/blob/ … man/vo.rst

Also check the acceleration settings for Virtualbox.


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#10 2015-08-31 20:45:53

kansas city shuffle
Member
Registered: 2015-07-20
Posts: 47

Re: MPV player stops playing video only audio

Alad wrote:

You might have to choose a different -vo option:

https://github.com/mpv-player/mpv/blob/ … man/vo.rst

Also check the acceleration settings for Virtualbox.

Yes, I have tried all of them and none of them work except for 'caca'. But the output looks like ascii characters.

Offline

#11 2015-09-01 00:35:47

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: MPV player stops playing video only audio

The x11 output was removed from mpv. So in an environment where acceleration (xv, opengl, vaapi, vdpau) isn't available - like VirtualBox - mpv doesn't have a suitable output anymore. Why would you want to play video in a VM anyway? If you insist, you can compile mpv with this patch: https://gist.github.com/Gusar321/336fe2a71daee34279ec, it adds back the x11 output.

BTW, 'caca' *is* ascii, so of course it looks like ascii characters smile

Offline

#12 2015-09-01 02:06:38

kansas city shuffle
Member
Registered: 2015-07-20
Posts: 47

Re: MPV player stops playing video only audio

Gusar wrote:

The x11 output was removed from mpv. So in an environment where acceleration (xv, opengl, vaapi, vdpau) isn't available - like VirtualBox - mpv doesn't have a suitable output anymore. Why would you want to play video in a VM anyway? If you insist, you can compile mpv with this patch: https://gist.github.com/Gusar321/336fe2a71daee34279ec, it adds back the x11 output.

BTW, 'caca' *is* ascii, so of course it looks like ascii characters smile

Still kind of new to Arch, how would I compile mpv with that patch?

I understand how to use makepkg -sci from the AUR repositories, is this the same process or do I just do a git clone?

Offline

#13 2015-09-01 09:00:15

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: MPV player stops playing video only audio

Same makepkg -sci, except you get the PKGBUILD using abs. The wiki has an abs article if you need more info.

Offline

#14 2015-09-25 12:09:23

cippaciong
Member
Registered: 2010-06-21
Posts: 104
Website

Re: MPV player stops playing video only audio

Hello, I just wanted to add that the same problem occur outside of a VM if you are the owner of an unsupported graphic card (I've got the infamous  Intel GMA3650).

Gusar, I'll try your patch as soon as I can, thank you. smile

Offline

#15 2015-10-01 15:57:38

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: MPV player stops playing video only audio

Rejoice people, the x11 output is back: https://github.com/mpv-player/mpv/commi … a2c8a63b76

Wait for the next release (they're doing monthly releases now I think) or use mpv-git from AUR.

Offline

#16 2015-10-01 16:38:08

cippaciong
Member
Registered: 2010-06-21
Posts: 104
Website

Re: MPV player stops playing video only audio

That's great! Just tried mpv-git and is working well smile

Offline

Board footer

Powered by FluxBB