Results 1 to 6 of 6

Thread: Enabling h264/AAC for MPlayer and Derivative Players (mpv, SMPlayer, UMPLayer, etc.)

  1. #1

    Post Enabling h264/AAC for MPlayer and Derivative Players (mpv, SMPlayer, UMPLayer, etc.)

    Every time I install openSUSE or upgrade the distribution, I lose the ability to play media which use proprietary codecs, namely the h264 or AAC codecs. I generally use GNOME for my desktop environment, but rather than use Totem (or "Videos" now), I usually choose to use an MPlayer derivative, mostly SMPlayer. I've found that even if Totem can play videos with h264 content, I have to perform a bit more work to give that same ability to SMPlayer.

    Specifically, I have to install packages from the Packman repository to add the capability to play media with these codecs. Unfortunately, at the moment, ffmpeg from Packman doesn't depend on these packages, so I have to remember to install the version from the Packman repository (since the base repositories also have versions of most of these, and sometimes they have a higher version number) for each of them to gain the full benefit.

    Until now, I've had to take guesses as to which packages will yield the codec support for which I'm hunting, so I wanted to make a thread for myself and anyone else who encounters similar issues. I have found that the following set of packages provides support for the aforementioned proprietary codecs:
    • ffmpeg-3.1
    • gstreamer-0_10-plugins-ffmpeg
    • libavcodec52
    • libavcodec56
    • libavcodec57
    • libavdevice56
    • libavdevice57
    • libavfilter1
    • libavfilter5
    • libavfilter6
    • libavformat52
    • libavformat56
    • libavformat57
    • libavresample2
    • libavresample3
    • libavutil50
    • libavutil54
    • libavutil55
    • libpostproc50
    • libpostproc53
    • libpostproc54
    • libswresample1
    • libswresample2
    • libswscale0
    • libswscale3
    • libswscale4

  2. #2
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    3,974

    Default Re: Enabling h264/AAC for MPlayer and Derivative Players (mpv, SMPlayer, UMPLayer, etc.)

    Always use the versions from the Packman repos. Forget the version numbers in Packman compared to those in the openSUSE repos, you want EVERYTHING from the Packman repos. So, in the Yast Software manager, do the Packman repo switch.

    For further guidance, go here:
    https://forums.opensuse.org/entry.ph...ltimedia-Guide
    -Gerry Makaro
    Fraser-Bell Info Tech
    Solving Tech Mysteries since the Olden Days!
    ~~
    If I helped you, consider clicking the Star at the bottom left of my post.

  3. #3
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: Enabling h264/AAC for MPlayer and Derivative Players (mpv, SMPlayer, UMPLayer, etc.)

    you need to do a full vendor change to packman just adding the repo and selecting packages isn't enough see
    https://en.opensuse.org/SDB:Vendor_c..._Vendor_change
    or tell us your repo list
    Code:
    zypper lr -d

  4. #4

    Default Re: Enabling h264/AAC for MPlayer and Derivative Players (mpv, SMPlayer, UMPLayer, etc.)

    Quote Originally Posted by I_A View Post
    you need to do a full vendor change to packman just adding the repo and selecting packages isn't enough see
    https://en.opensuse.org/SDB:Vendor_c..._Vendor_change
    or tell us your repo list
    Code:
    zypper lr -d
    Selecting individual packages from the Packman repository does work. That's the point of this thread. I listed the packages a person needs to select in order to make h264 playback work. I only didn't answer whether a person could install a subset of those packages and have playback still work.

    I created this thread primarily for my own benefit and to help anyone else who may have had this same question, since I couldn't find a definitive list myself.

  5. #5
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: Enabling h264/AAC for MPlayer and Derivative Players (mpv, SMPlayer, UMPLayer, etc.)

    Quote Originally Posted by palswim View Post
    Selecting individual packages from the Packman repository does work. That's the point of this thread. I listed the packages a person needs to select in order to make h264 playback work. I only didn't answer whether a person could install a subset of those packages and have playback still work.

    I created this thread primarily for my own benefit and to help anyone else who may have had this same question, since I couldn't find a definitive list myself.
    packages change and selecting individual packages is not a good idea as a package dependencies might change a full vendor change is the way to be sure all your multimedia is from packman
    if the point of this thread was to tell people what to install it should be removed as misleading and bad practice, you should have put it in soapbox

  6. #6

    Default Re: Enabling h264/AAC for MPlayer and Derivative Players (mpv, SMPlayer, UMPLayer, etc.)

    Looks like I really only need the following two packages (which depend on several other packages):
    Quote Originally Posted by palswim View Post
    • libavformat56
    • libavformat57

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •