You are not logged in.

#1 2014-05-01 13:48:11

ooo
Member
Registered: 2013-04-10
Posts: 1,637

[SOLVED] no webm video with mpv

For some reason I get no video playing vp8 encoded file with mpv. All other video formats play fine but with webm files I only seem to get audio playback and no video.
I reinstalled my system recently and webm files played fine before that, so I might be just missing some library that I don't know of. libvpx is installed and up to date though.

here's the mpv output

$ mpv Digital_Show_and_Tell-720p.webm 
Playing: Digital_Show_and_Tell-720p.webm
Detected file format: Matroska
[stream] Video     --vid=1 (vp8)
[stream] Audio (+) --aid=1 (*) (vorbis)
Video: no video
Selected audio codec: Vorbis [lavc:vorbis]
AO: [pulse] 48000Hz stereo 2ch float

the video I'm trying to view can be downloaded here https://www.xiph.org/video/vid2.shtml
It also plays fine embedded in chromium.

any suggestions welcome smile

Last edited by ooo (2014-05-01 17:10:44)

Offline

#2 2014-05-01 14:44:19

ondoho
Member
Registered: 2013-04-30
Posts: 692
Website

Re: [SOLVED] no webm video with mpv

libquvi-0.9.4-2  libquvi-scripts-0.9.20131130-1
lua-bitop-1.0.2-2  lua-expat-1.3.0-1  lua-socket-3.0rc1-3
portaudio-19_20140130-1  mpv-0.3.8-1

this is what gets pulled in when i install mpv.

this is what i get when playing the file:

mpv Digi*
Playing: Digital_Show_and_Tell-360p.webm
[mkv] SeekHead position beyond end of file - incomplete file?
Detected file format: Matroska
[stream] Video (+) --vid=1 (vp8)
[stream] Audio (+) --aid=1 (*) (vorbis)
[vo/vdpau] Error when calling vdp_device_create_x11: 1
[vo/opengl/x11] X11 error: BadAlloc (insufficient resources for operation)
[vo/opengl] Could not create GL3 context. Retrying with legacy context.
Selected video codec: On2 VP8 [lavc:vp8]
Selected audio codec: Vorbis [lavc:vorbis]
AO: [alsa] 48000Hz stereo 2ch floatp
VO: [opengl] 640x360 => 640x360 420p
(Paused) AV: 00:00:10 / 00:23:52 (0%) A-V:  0.000

(haven't downloaded it all the way).

Offline

#3 2014-05-01 15:08:07

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] no webm video with mpv

Works perfectly here, mpv output:

$ mpv Digital_Show_and_Tell-360p.webm 
Playing: Digital_Show_and_Tell-360p.webm
Detected file format: Matroska
[stream] Video (+) --vid=1 (vp8)
[stream] Audio (+) --aid=1 (*) (vorbis)
Selected video codec: On2 VP8 [lavc:vp8]
Selected audio codec: Vorbis [lavc:vorbis]
AO: [pulse] 48000Hz stereo 2ch float
VO: [opengl-old] 640x360 => 640x360 420p

Can we assume you're using the stock packages from the repos for mpv and its dependencies?

Offline

#4 2014-05-01 17:10:25

ooo
Member
Registered: 2013-04-10
Posts: 1,637

Re: [SOLVED] no webm video with mpv

@tomk,yep all from arch repos.

Anyway, I got this sorted although I still have no idea what caused it.

I messed around with some --vd settings but nothing seemed to make a difference. Finally decided to try removing my .mpv/config (or rather moving it elsewhere), even though the same config had worked before, and surprisingly the video started working right after that.
So I moved my old .mpv/config back to start testing which of my option could have caused this. Before modifying the config in any way, I decided to test if the video still worked, and indeed it did.

i.e. copying my ~/.mpv/config to ~/ and back to ~/.mpv/ solved this issue.

I'm baffled, since my config settings worked all the time, and there wasn't even anything that should affect video codecs for example.
Odd, but something you might want to try if you ever have strange issues with mpv.

thanks ondoho and tomk for your help. Marking this SOLVED

Offline

Board footer

Powered by FluxBB