You are not logged in.

#1 2017-09-17 13:46:30

crazySocket
Member
Registered: 2015-04-23
Posts: 19

[solved] upgrade: mplayer black screen, vlc and smplayer work

It seems today's upgrade screwed my mplayer. Plays audio but instead of video displays black screen. No matter what I try mplayer on.

I downloaded a video from youtube to test it in mplayer, smplayer and vlc (I don't use neither smplayer nor vlc; installed for test). The video is mkv and has tracks

|+ Segment tracks
| + A track
|  + Track number: 1 (track ID for mkvmerge & mkvextract: 0)
|  + Track UID: 1
|  + Lacing flag: 0
|  + Language: und
|  + Codec ID: V_MPEG4/ISO/AVC
|  + Track type: video
|  + Default duration: 41.667ms (24.000 frames/fields per second for a video track)
|  + Video track
|   + Pixel width: 1920
|   + Pixel height: 1080
|   + Display width: 1920
|   + Display height: 1080
|  + CodecPrivate, length 45 (h.264 profile: High @L4.0)
| + A track
|  + Track number: 2 (track ID for mkvmerge & mkvextract: 1)
|  + Track UID: 2
|  + Lacing flag: 0
|  + Language: eng
|  + Codec ID: A_OPUS
|  + Codec delay: 6.500ms (6500000ns)
|  + Seek pre-roll: 80.000ms (80000000ns)
|  + Track type: audio
|  + Audio track
|   + Channels: 2
|   + Sampling frequency: 48000
|  + CodecPrivate, length 19

mplayer prints

MPlayer SVN-r37916 (C) 2000-2017 MPlayer Team
225 audio & 460 video codecs
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing youtube/Overwatch Animated Short _ Alive-U130wnpi-C0.mkv.
libavformat version 57.71.100 (external)
Mismatching header version 57.56.101
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (opus), -aid 0, -alang eng
VIDEO:  [H264]  1920x1080  0bpp  24.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 57.89.100 (external)
Mismatching header version 57.64.101
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Clip info:
 COMPATIBLE_BRANDS: iso6avc1mp41
 MAJOR_BRAND: dash
 MINOR_VERSION: 0
 ENCODER: Lavf57.25.100
Load subtitles in youtube/
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 0.0 kbit/0.00% (ratio: 0->384000)
Selected audio codec: [ffopus] afm: ffmpeg (FFmpeg opus)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12

I have the newest version. All packages are up to date (of the post). What should I do in order to fix the mplayer?

PS1

$ pacman -Qs mplayer
local/mplayer 37916-2
    Media player for Linux
$ pacman -Qs ffmpeg
local/ffmpeg 1:3.3.4-1
    Complete solution to record, convert and stream audio and video

PS2
downgrading is not an option since running version 37916-1 I get error

mplayer: error while loading shared libraries: libbluray.so.1: cannot open shared object file: No such file or directory

Last edited by crazySocket (2018-01-20 22:40:33)

Offline

#2 2017-09-17 14:14:11

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 623

Re: [solved] upgrade: mplayer black screen, vlc and smplayer work

Same here - i updated yesterday. Tested on 2 separate machines. Smplayer works only using mpv engine (sound is laggy). Smplayer does not show screen/video, only sound when using mplayer engine.

I tested using mkv files.

Last edited by firekage (2017-09-17 14:48:05)

Offline

#3 2017-09-17 14:40:10

Murray_B
Member
From: Germany
Registered: 2008-07-29
Posts: 134

Re: [solved] upgrade: mplayer black screen, vlc and smplayer work

Same problem here, but the problem exist for several days, I only had no time to look at it. I am not sure, maybe it is an ffmpg problem? VLC works. I have the problem with all mp4 files with h.264.

Offline

#4 2017-09-18 00:42:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,387

Re: [solved] upgrade: mplayer black screen, vlc and smplayer work

Offline

#5 2017-09-18 20:33:11

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: [solved] upgrade: mplayer black screen, vlc and smplayer work

Not a solution, but you could finally come join us in the present and use mpv smile


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#6 2017-09-18 20:55:12

crazySocket
Member
Registered: 2015-04-23
Posts: 19

Re: [solved] upgrade: mplayer black screen, vlc and smplayer work

mpv works. How many mplayer's offspring are out there?! jesus. I thought there is like one codecs library shared by all players.

Do I have to master all of them to find the problem with mplayer or is there any easier way? Do maintainer have some tests for the software they package?

I am so lost I don't even know where to start. sad

Last edited by crazySocket (2017-09-18 20:55:37)

Offline

#7 2017-09-18 23:54:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,387

Re: [solved] upgrade: mplayer black screen, vlc and smplayer work

FWIW mplayer works here, you simply have to pass another -vo option other than VDPAU, which is why I feel inclined to be the above mentioned VDPAU bug.

Offline

#8 2017-09-19 13:35:47

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 623

Re: [solved] upgrade: mplayer black screen, vlc and smplayer work

V1del wrote:

FWIW mplayer works here, you simply have to pass another -vo option other than VDPAU, which is why I feel inclined to be the above mentioned VDPAU bug.

I dont use vdpau and still, cant use mplayer engine using smplayer.

Offline

#9 2017-09-19 16:10:04

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,387

Re: [solved] upgrade: mplayer black screen, vlc and smplayer work

VDPAU is the default video out option if you are on an nvidia (or maybe HW accel outputs in general are broken?), unless you changed that you are using VDPAU.

Offline

#10 2017-09-19 16:27:44

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 623

Re: [solved] upgrade: mplayer black screen, vlc and smplayer work

V1del wrote:

VDPAU is the default video out option if you are on an nvidia (or maybe HW accel outputs in general are broken?), unless you changed that you are using VDPAU.


Under smplayer i had chosen opengl and mplayer engine - the same, no video. I don't think that is it because of vdpau,

Offline

#11 2017-09-19 22:26:03

malevolent
Member
From: Barcelona
Registered: 2011-09-20
Posts: 15
Website

Re: [solved] upgrade: mplayer black screen, vlc and smplayer work

I can't either get work mplayer or vlc here... I'm installing at the moment mpv to see if it works.

Offline

#12 2017-09-21 13:24:45

w201
Member
Registered: 2012-10-04
Posts: 289

Re: [solved] upgrade: mplayer black screen, vlc and smplayer work

Same problem here. Using VLC for now.

Offline

#13 2017-09-22 03:51:32

jesc516
Member
From: LI,NY
Registered: 2015-01-26
Posts: 72

Re: [solved] upgrade: mplayer black screen, vlc and smplayer work

installed mpv and i get video again

whats up with mplayer???

Offline

#14 2017-09-22 07:15:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,387

Re: [solved] upgrade: mplayer black screen, vlc and smplayer work

This works for me, can any of you confirm:

mplayer -vo gl $file

in general terminal output and/or graphics card details would be much more beneficial to finding a solution than an endless "me too" stream of posts. Compare the outputs of an mpv and a mplayer run, is anything different?

Offline

#15 2017-09-22 07:37:32

seth
Member
Registered: 2012-09-03
Posts: 54,484

Re: [solved] upgrade: mplayer black screen, vlc and smplayer work

I've trouble with mplayer/vdpau and certain x264 videos (at least) - either failding video decoding or mplayer crashes (immediately)
About half of all x264 videos still seem to play fine.

No problem with mplayer/xv or mpv/vdpau itr.

"Unfortunately":

0xb05237bd in ?? () from /usr/lib/vdpau/libvdpau_nvidia.so.1
(gdb) bt
#0  0xb05237bd in ?? () from /usr/lib/vdpau/libvdpau_nvidia.so.1
#1  0xb0523a3c in ?? () from /usr/lib/vdpau/libvdpau_nvidia.so.1
#2  0xb0535238 in ?? () from /usr/lib/vdpau/libvdpau_nvidia.so.1
#3  0xb05363b6 in ?? () from /usr/lib/vdpau/libvdpau_nvidia.so.1
#4  0xb05449d7 in ?? () from /usr/lib/vdpau/libvdpau_nvidia.so.1
#5  0xb052213d in ?? () from /usr/lib/vdpau/libvdpau_nvidia.so.1
#6  0xb0506a55 in ?? () from /usr/lib/vdpau/libvdpau_nvidia.so.1
#7  0x004c6fa5 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

This affects nvidia *before* 384.59 which caused far severe issues on vdpau (regardless of the player) and certain MPEG2 videos (streams?)
I've not been able to spot a patter on the affected videos but assume something in the container header.
Re-wrapping an affected mp4 into an mkv container makes an affected video (that caused the above stack trace) playable.

Offline

#16 2017-09-23 16:59:52

crazySocket
Member
Registered: 2015-04-23
Posts: 19

Re: [solved] upgrade: mplayer black screen, vlc and smplayer work

I have just tried mplayer with

-vo gl

option. It works. However, I did not experiment with many formats.

I understand vdpau is default. Whatever it is.

I would like to reach some meaningful conclusion. Is vdpau part of nvidia driver? Are they anyhow connected? Does only mplayer uses vdpau? Why other players are not affected (or maybe they are as some did mention).

I am not sure if suggestion to add

-vo gl

into ~/.mplayer/config is enough to considered issue solved. Can someone enlighten me?

Offline

#17 2017-09-23 17:17:24

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

Re: [solved] upgrade: mplayer black screen, vlc and smplayer work

mplayer needs "-vo vdpau" for hardware decoding. With "-vo gl", you get software decoding.

VDPAU is not exclusively for Nvidia, but if you're using the Nvidia driver that's where you get it - from the nvidia-utils package. It seems that VDPAU display is broken in the latest Nvidia driver, there are reports all over the place about it.

As a potential solution, move from mplayer to mpv. mpv works differently, here you use "--hwdec=vdpau" if you want hardware decoding. That's it, no other options necessary. There is a "--vo=vdpau", but it will not work currently because the driver is broken and you don't need it anyway (because mpv is simply so awesome smile).

Offline

#18 2017-10-21 12:49:37

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 623

Re: [solved] upgrade: mplayer black screen, vlc and smplayer work

Again, no video, only black screen after update - nvidia, mplayer (no matter what is choosed - only mpv works).

Offline

#19 2017-10-21 13:11:26

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,387

Re: [solved] upgrade: mplayer black screen, vlc and smplayer work

Again this is entirely useless without at least some terminal output. The issue that lead to this problem originally is solved with the newer nvidia driver and I can playback using VDPAU just fine. At this point from what I see you are the only one still having issues. What does your hardware configuration look like, how did you configure mplayer?

Offline

#20 2017-10-21 16:26:17

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 623

Re: [solved] upgrade: mplayer black screen, vlc and smplayer work

V1del wrote:

Again this is entirely useless without at least some terminal output. The issue that lead to this problem originally is solved with the newer nvidia driver and I can playback using VDPAU just fine. At this point from what I see you are the only one still having issues. What does your hardware configuration look like, how did you configure mplayer?

Standard options, nothing configured. Nvidia GF430GT with 387.12-2 nvidia driver from repo.

Could you post your smplayer settings? With mpv my audio (hdmi from nvidia) is desynced with video.

Last edited by firekage (2017-10-21 16:26:35)

Offline

Board footer

Powered by FluxBB