LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-22-2017, 03:01 AM   #1
TYTA
Member
 
Registered: Dec 2017
Posts: 112

Rep: Reputation: Disabled
Trouble playing Videos in MPV, MPlayer files in Suse.


Hi all,

I have been running Suse on my laptop and it has been great except for playing video files.

Quote:
uname -a
Linux linux-7xs9 4.4.103-18.41-default #1 SMP Wed Dec 13 14:06:33 UTC 2017 (f66c68c) x86_64 x86_64 x86_64 GNU/Linux

I have both mvp a mplayer installed but neither of them play any video files for me.

Quote:
~> mp
mpartition mplayer mplex mpris-proxy mpt-status mpv

I have used video samples from this website:

http://www.sample-videos.com/

tried all 4 1mb files and couldn't play any of them.


If I try mplayer in bash I get the following:


Quote:
~/Downloads> mplayer SampleVideo_1280x720_1mb.mp4
MPlayer 1.2.r38008-Packman-4.8 (C) 2000-2017 MPlayer Team
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 SampleVideo_1280x720_1mb.mp4.
libavformat version 57.71.100 (external)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f4d028e3b00]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 (unknown), -vid 0
[lavf] stream 1: audio (unknown), -aid 0, -alang und
VIDEO: [H264] 1280x720 24bpp 25.000 fps 1206.0 kbps (147.2 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 57.89.100 (external)
Cannot find codec 'h264' in libavcodec...
VDecoder init failed
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Cannot find codec 'h264' in libavcodec...
VDecoder init failed
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Cannot find codec 'h264_crystalhd' in libavcodec...
VDecoder init failed
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Cannot find codec 'h264_vda' in libavcodec...
VDecoder init failed
Requested video codec family [coreavcwindows] (vfm=dshow) not available.
Enable it at compilation.
Cannot find codec matching selected -vo and video format 0x34363248.
==========================================================================
Clip info:
major_brand: isom
minor_version: 512
compatible_brands: isomiso2avc1mp41
creation_time: 1970-01-01T00:00:00.000000Z
encoder: Lavf53.24.2
Load subtitles in ./
==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Cannot find codec 'aac' in libavcodec...
ADecoder init failed
ADecoder init failed
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 48000 Hz, 2 ch, s16le, 384.8 kbit/25.05% (ratio: 48103->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================

Same file in mpv gives me these errors:


Quote:
~/Downloads> mpv SampleVideo_1280x720_1mb.mp4
Playing: SampleVideo_1280x720_1mb.mp4
(+) Video --vid=1 (*) (h264 1280x720 25.000fps)
(+) Audio --aid=1 --alang=und (*) (aac 6ch 48000Hz)
Failed to initialize a video decoder for codec 'h264'.
Video: no video
Failed to initialize an audio decoder for codec 'aac'.
Audio: no audio
No video or audio streams selected.


Exiting... (Errors when loading file)


I am guessing I am missing some codec's. Trying to play other formats from the above website gives me errors and none of them play.



Could someone here kind enough explain what the issue(s) are and how to get my video players working :-)?


Many thanks,


Alex
 
Old 12-23-2017, 02:36 PM   #2
_roman_
Member
 
Registered: Dec 2017
Location: _Austro_Bavaria_
Distribution: gentoo / linux mint
Posts: 433

Rep: Reputation: 29
Well I remember why I ruled out SUSE.

Spoken in newbie language, very unprecise: Suse does not support any multimedia codecs.

http://opensuse-guide.org/codecs.php

Quote:
By default only free, open, non-patent encumbered formats such as Ogg Theora, Ogg Vorbis and Flac are supported for legal reasons (US software patents and Digital Millennium Copyright Act (DMCA)).
Quote:
13. Multimedia Codecs
This chapter describes two different methods for installing the packages needed to playback most multimedia formats - including MP3, DVDs etc., with Dragon (video) and Amarok (audio). You can use manual 1-click installation or use the command line - whichever method you prefer.
When this url does not work. Please search with google for a guide on how to set it up properly.

a bit off topic: I usually use vlc which works.


Quote:
I have both mvp a mplayer installed but neither of them play any video files for me.
small typo mvp => mpv
 
Old 12-23-2017, 04:36 PM   #3
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627

Rep: Reputation: Disabled
Load the packman repo and all the codecs you need are there.
 
2 members found this post helpful.
Old 12-23-2017, 05:25 PM   #4
TYTA
Member
 
Registered: Dec 2017
Posts: 112

Original Poster
Rep: Reputation: Disabled
Everything works - thank you very much :-)!



Quote:
Originally Posted by _roman_ View Post
Well I remember why I ruled out SUSE.

Spoken in newbie language, very unprecise: Suse does not support any multimedia codecs.

http://opensuse-guide.org/codecs.php





When this url does not work. Please search with google for a guide on how to set it up properly.

a bit off topic: I usually use vlc which works.




small typo mvp => mpv
 
Old 12-23-2017, 05:26 PM   #5
TYTA
Member
 
Registered: Dec 2017
Posts: 112

Original Poster
Rep: Reputation: Disabled
Done! Thank you very much!


Quote:
Originally Posted by petelq View Post
Load the packman repo and all the codecs you need are there.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble playing mpeg files with MPlayer-0.90 koodoo Linux - Newbie 1 10-01-2004 07:15 AM
Trouble playing video files under Suse 8.2 redman13 Linux - Software 5 10-12-2003 10:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration