Smplayer / Mplayer video broken over past week. (libavcodec57)

I’ve got the pacman repos enabled. Everything worked fine last Saturday.
Some update this past week has made mplayer not display video.
I use the smplayer from end. Audio plays video window never opens up.
Launching mplayer from the CLI to play a .mkv file I see that it can’t find the right codec while audio plays.
We had a number of updates this past week and one of those could be the culprit.
libavcodec57 seems to be the culprit that is the only one that is sourced from openSUSE and not packman.
Wait for packman to catch up?
Trying to revert looks like it will create a mess according to yast.
Here is the mplayer CLI output.

Playing [BakedFish] Long Riders! - 04 [720p][AAC].mp4.libavformat version 57.41.100 (external)
Mismatching header version 57.56.100
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f5878ffd4e0]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  23.976 fps  2760.9 kbps (337.0 kbyte/s)                                                                                                                                                                                         
Clip info:                                                                                                                                                                                                                                                       
 major_brand: isom                                                                                                                                                                                                                                               
 minor_version: 1                                                                                                                                                                                                                                                
 compatible_brands: isom                                                                                                                                                                                                                                         
 creation_time: 2016-11-04 15:09:42                                                                                                                                                                                                                              
Load subtitles in ./                                                                                                                                                                                                                                             
==========================================================================                                                                                                                                                                                       
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family                                                                                                                                                                                                 
libavcodec version 57.48.101 (external)                                                                                                                                                                                                                          
Mismatching header version 57.64.100                                                                                                                                                                                                                             
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.
==========================================================================
==========================================================================
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, 189.4 kbit/12.33% (ratio: 23671->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...

what’s your repo list

zypper lr -d

as you are on TW and use zypper dup for updates there are 2 things to consider
#1 the packman repo needs to have a higher priority then the OSS so packages are pulled from it
#2 if packman is falling behind oss zypper dup will pull newer packages from OSS
that is why when updating on TW you should use

zypper dup --no-allow-vendor-change

that should keep multimedia packages on packman, you should do a new vendor change to packman that should fix things

Very good.
Seems while I was out packman caught up and Tumbleweed released a new snapshot. (I’m seeing a new kernel too. )
The solution seem to be to raise the priority of Packman to 98 and leave OSS at 99 and add the no vendor change to my zypper -v dup if I understand you right.

yes, using zypper dup --no-allow-vendor-change will keep packman packages even if they’re older then the ones on oss (which can happen and will break multimedia) older packages will work until packman catches up

OK I did this

zypper -v dup --from "Packman repo name"

. Twice. Once for each Packman repo. Packages were installed.
When I did the

zypper -v dup --no-allow-vendor-change

(after a reboot)
I had about 11 packages further downgraded one was a bind package (hope it’s not a security issue for a desktop user) That did the trick for me.
Hope it solves the issue for other who might find this post. Thanks very much for helping me.

Why do you have 2 packman repos? You only need one

On Sun 06 Nov 2016 10:16:01 PM CST, gogalthorp wrote:

Why do you have 2 packman repos? You only need one

Hi
There are four separate ones you can have or all…
Essentials, Extra, Games and Multimedia or all four via Packman…


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.34-33-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Multimedia and Essentials You really need both for multimedia.

Just packman gets all sub repos

[QUOTE=gogalthorp;2798977]Just packman gets all sub repos/QUOTE

Amazing what you learn by reading these posts. I am trying to understand the significance of the numbering precedence and what the different packages do, what the vendor changes do, etc. Thanks for clarifying things because I get the same problems if I try to redo a hard drive even with the same repos, Pithos doesn’t always work. Thanks everyone!!!

[quote="“louparker,post:10,topic:121884”]

Amazing what you learn by reading these posts. I am trying to understand the significance of the numbering precedence and what the different packages do, what the vendor changes do, etc. Thanks for clarifying things because I get the same problems if I try to redo a hard drive even with the same repos, Pithos doesn’t always work. Thanks everyone!!![/QUOTE]
Hi
Pithos working fine here…but I use fluendo codecs and others. Always interested to hear if you do have a Pithos issue since I help maintain.