You are not logged in.
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
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
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
Likely same problem as https://bbs.archlinux.org/viewtopic.php?id=229756
Offline
Not a solution, but you could finally come join us in the present and use mpv
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
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.
Last edited by crazySocket (2017-09-18 20:55:37)
Offline
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
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
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
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
I can't either get work mplayer or vlc here... I'm installing at the moment mpv to see if it works.
Offline
Same problem here. Using VLC for now.
Offline
installed mpv and i get video again
whats up with mplayer???
Offline
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
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
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
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 ).
Offline
Again, no video, only black screen after update - nvidia, mplayer (no matter what is choosed - only mpv works).
Offline
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
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