[SOLVED] 14.2 - all media players are not working like they should.
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
14.2 - all media players are not working like they should.
As Slackware is my secondary Linux, and I have/had some other space for a different install of Linux too. I discovered something called Slint which is a Slackware derivative. I too think it is a little bit of Salix too because it uses their forum. Nevertheless, it is within Slint and Slackware I encounter this issue. So I am attributing it to Slackware because it is the engine that Slint runs on and Slackware is too is doing the same thing.
Every movie file I run in either Slint or Slackware will not run properly. In VLC it will stick and the audio will keep playing, but the video part is freeze-framed. In MPlayer it just gets stuck and when I try to kill MPlayer. It gets killed, BUT the window does not, only its process (PID) goes away.
It is because I can play every single one of them in Void Linux without error, and not Slackware or Slint. I get the exact same results in both Distros. Therefore, I contribute the problem to Slackware, and not Slint. Due to the same reasons as stated prior.
I confirm that the same MPlayer version is shipped in Slint and Slackware, actually Slint ships the Slackware package unmodified (1).
However, VLC is shipped in neither Slackware nor Slint. What version are you using and where did you get it?
Also, a link to a video with which this issue occurs is necessary to investigate further and try to reproduce it.
Last question, did you try other video players?
(1) Packages in Slint differing or added to Slackware are listed here.
well perhaps you can remove the VLC player in Slackware, it is a commonly used by me so it is like an automatic thought when talking about movie players. VLC is an add-on via slackbuids, that is not currently in my Slackware install. pls disregard the comment on VLC. thank you for your cooperation.
Now that I am in Slackware:
Mplayer
Dragon Player (if that is even a movie player)
Enqueue in EXMplayer
EXMplayer
Xine
all freeze up and do not work
the only one that does work within Slackware is the Kplayer.
My favorite Movie players are as follows, VLC and Mplayer, Kplayer I do not like the interphase as well as the other ones. I do not even like that little extra window that follows Mplayer around in Slackware.
either way on what packages are installed on whos, (Mplayer) the final point is still neither one works in either Distro but Mplayer works in Void Linux and I am sure other distros as well. That then leaves it at this question now.
Why?
I am sorry, without a link to a video freely available, I don't know what to do to help. Maybe others will have an idea?
I'd think it'd have to be something pertaining to Slackware that bleeds into your distro due to it is a child/offshoot of Slackware. Because Mplayer works on other distros and not these. One could install every distro that takes Slackware as a base to see if they get the same results playing any movie they have, which would suffice for test purposes.
the why that is would have to be left up to someone with more experience with I/O and how in interacts between Mplayer and Slackware, Mplayer being the backend to all of the other Movie players that are not working, then they also could take Kplayer that uses mplayer for a backend as well. Then investigate what the difference is between Kplayer itself why it works with Mplayer as a backend and all the others that do not work with Mplayer, then take a look at Mplayer itself as a stand alone and ponder why is it not working all by itself?
it is a very perplexing situation, to say the least. I am just bringing it to the Slackware community to make them aware of it.
I think Didier is asking for an example video because, for most of us, most videos play fine in default MPlayer included with Slackware. But depending on the format and codecs required by your video, MPlayer may need to be recompiled with support for some proprietary codecs or plugins not included with Slackware to make it work. If you can give an example of a video that causes this problem, someone might be able to help you solve it.
Last edited by montagdude; 01-03-2017 at 09:18 AM.
My first guess is it is related to your video output mode in mplayer (and vlc). I would suggest trying different vos (run mplayer -vo help to see the list of outputs on your system) and see if any make a difference.
This could be related to your video card/driver, so details on that would be helpful.
vlc and codecs I can understand. That is why my mentioning VLC is a misprint as stated in my next post to @Didier Spaier
provide a movie sample, that'd be every movie in my collection that I have tried, some have been ran through Handbrake and some not. I stepped out of Slackware and back into Void, I suppose I could quit my script I have running again and pick it back up in Slack to get video card info and what drivers Slack is using for it. and such .
but it is pretty much a standard mp4 movie, I'll download a video off of you tube and run it and see what I get, I'll be back ....
got a reboot into Slack now.
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928
Rep:
About every two or three VLC releases (I install from Alienbob restricted) there are some problems.
Some video types are played with artifacts from start;
jump ahead take a while until video is played whitout artifacts;
like you reported, video freezes but audio is played.
When this happens, I uninstall the problematic (for me) version and install the one that was
working well. Right now that happened and I'm using vlc-2.1.4-x86_64-1alien.
Hope this helps.
BOOT_IMAGE=/boot/vmlinuz-huge-4.4.38 root=/dev/sda1 ro
/etc/modprobe.d/
/etc/modprobe.d/README
cat: '/etc/modprobe.d/*kms*': No such file or directory
ls: cannot access '/etc/X11/xorg.conf': No such file or directory
direct rendering: Yes
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
Vendor: X.Org (0x1002)
OpenGL vendor string: X.Org
[ 29.399] (II) LoadModule: "glx"
[ 29.407] (II) LoadModule: "ati"
[ 29.408] (II) LoadModule: "radeon"
[ 29.411] (II) LoadModule: "modesetting"
[ 29.412] (II) LoadModule: "fbdev"
[ 29.413] (II) LoadModule: "vesa"
[ 29.425] (II) LoadModule: "fb"
[ 29.427] (II) LoadModule: "dri2"
[ 29.427] (II) LoadModule: "exa"
[ 29.460] (II) LoadModule: "ramdac"
[ 29.771] (II) LoadModule: "evdev"
[ 29.842] (II) LoadModule: "synaptics"
bash-4.4#
I don't understand why it isn't displaying your selected vo output (like it is with the audio output, listing it as pulse).
First test I'd try is using the xv output, as that seems to be one of the most basic outputs that works on pretty much everything.
Code:
mplayer -vo xv /location/to/video-file.mp4
And your glxinfo output provides no meaningful information. Try this command for some more info.
Code:
glxinfo | egrep -i 'opengl|client|direct|server'
My guess is you're having problems with vdpau output, so if you change it to something else, I imagine the freezing will go away. If that's the case, then we can work on troubleshooting your vdpau.
I don't understand why it isn't displaying your selected vo output (like it is with the audio output, listing it as pulse).
First test I'd try is using the xv output, as that seems to be one of the most basic outputs that works on pretty much everything.
Code:
mplayer -vo xv /location/to/video-file.mp4
And your glxinfo output provides no meaningful information. Try this command for some more info.
Code:
glxinfo | egrep -i 'opengl|client|direct|server'
My guess is you're having problems with vdpau output, so if you change it to something else, I imagine the freezing will go away. If that's the case, then we can work on troubleshooting your vdpau.
Quote:
userx@slacko/run/media/userx/WD3TB/Movies/Despicable Me 2 (2013) [1080p]:>> mplayer -vo xv "Despicable.Me.2.2013.1080p.BluRay.x264.YIFY.mp4"
MPlayer 1.2.1-5.3.0 (C) 2000-2016 MPlayer Team
Playing Despicable.Me.2.2013.1080p.BluRay.x264.YIFY.mp4.
libavformat version 56.40.101 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x56507a4bcaa0]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang eng
VIDEO: [H264] 1920x1040 24bpp 23.976 fps 2017.0 kbps (246.2 kbyte/s)
Clip info:
major_brand: isom
minor_version: 1
compatible_brands: isomavc1
creation_time: 2013-10-18 12:35:54
Load subtitles in ./
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 56.60.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 93.6 kbit/3.05% (ratio: 11705->384000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 1920x1040 => 1920x1040 Planar YV12
Quote:
userx@slacko~:>> glxinfo | egrep -i 'opengl|client|direct|server'
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD CAICOS (DRM 2.43.0 / 4.4.38, LLVM 3.8.1)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 13.0.2
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
GL_ARB_direct_state_access, GL_ARB_draw_buffers,
GL_ARB_draw_indirect, GL_ARB_draw_instanced,
GL_ARB_multi_draw_indirect, GL_ARB_occlusion_query2,
OpenGL version string: 3.0 Mesa 13.0.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 13.0.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
I'm going to set Mplayer conf to this and run a movie off of the right click and see what happens.
Code:
ao=pulse
vo=xv
Well that locked it up whereas the command line was running even though I did not even try FF using the mouse wheel.
No PID for Mplayer and it is still stuck open...
Just seen something called gmplayer in the image I posted --
and, NO I do not like gmplayer or a gui type attached to mplayer - I usually just right click the movie file I want to watch and select mplayer or (VLC) depending on my mo00od
Code:
userx@slacko~/Downloads/slackbuilds:>> sudo installpkg vlc-2.2.4-x86_64-1alien.txz
Verifying package vlc-2.2.4-x86_64-1alien.txz.
Installing package vlc-2.2.4-x86_64-1alien.txz:
PACKAGE DESCRIPTION:
# vlc (multimedia player for various audio and video formats)
#
# VLC media player is a highly portable multimedia player for various
# audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...)
# as well as DVDs, VCDs, and various streaming protocols.
# It can also be used as a server to stream in unicast or multicast in
# IPv4 or IPv6 on a high-bandwidth network.
#
# vlc home: http://www.videolan.org/vlc/
#
Executing install script for vlc-2.2.4-x86_64-1alien.txz.
Generating VLC plugins cache data...
Package vlc-2.2.4-x86_64-1alien.txz installed.
That is locking up too in Slackware haaahahahahahahahahahaaaaa
Hopefully, I got this working now, with a fresh install from source. I am seeing a slight sticking. It lasts a milliesec and is sporadic. I've only noticed 3 times so far within a Aprox. 3 to 4 minut playback.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.