SMplayer - hard to isolate playback problem

Since yesterday I have quite some trouble with SMplayer - it does not play all the files it used to, but I am uncertain whether this is a codec problem or not.

SMplayer will play most files as it used to, however, a large number of movies either freezes the interface (sometimes) or just stop playback right away. The thing is: MPlayer plays those files fine. The affected filetype is mpeg, the containerformat does not seem to matter. Strange enough, some mpegs can be played within SMplayer while others can not. Other formats (.flv, .ogg etc.) work fine always (so it seems).

Since MPlayer has no trouble while SMplayer does, I figured some special setting might have caused this behaviour, so I moved ~/.config/smplayer to reset them to defaults, but that does not help. Then I looked into the MPlayer log and found this:

...]

==========================================================================
Forced video codec: ffmpeg12vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg12vdpau] vfm: ffmpeg (FFmpeg MPEG-1/2 (VDPAU))
==========================================================================
ID_VIDEO_CODEC=ffmpeg12vdpau
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
ID_AUDIO_BITRATE=256000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
==========================================================================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
ID_AUDIO_CODEC=mpg123
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[VD_FFMPEG] Trying pixfmt=1.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[VD_FFMPEG] Trying pixfmt=2.
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.3333
VO: [vdpau] 544x576 => 768x576 MPEG2 VDPAU acceleration 
[VD_FFMPEG] XVMC-accelerated MPEG-2.

ID_AUDIO_TRACK=0


Exiting... (Quit)
ID_EXIT=QUIT

…which is weird since I have set SMplayer to use ‘xv’ always, not vdpau. Anyway, then I set ‘xv’ to ‘vdpau’ and voilà: the file works again - only when using vdpau always I can not watch the majority of my movies (same behaviour, playback just stops), although I used to be able to use vdpau always a while ago (I think it fell back on xv in case vdpau could not be used).

Xine-based players and VLC work fine.

openSUSE 11.4 / 32bit, the latest versions of SMplayer and MPlayer are installed from Packman.

Can anyone confirm this behaviour or give me a hint? My goal would be to set SMplayer to vdpau without ignoring all non vdpauable files, yet I could live with an ‘xv’ setting.

Just a short question: is it okay to “bump” threads here?

:slight_smile:

Bump away
We miss stuff

I do not have this problem, but all by 11.4’s are _64, should that matter.

Thank you caf, knowing that it’s a problem on my system helps a bit.

Could someone please post me a ~/.config/smplayer/smplayer.ini? I am still not sure whether my settings cause this.

Here you are
http://dl.dropbox.com/u/10573557/SUSE%20Misc/smplayer.ini

Thank you - will check that later and give feedback.

I am getting a bit desperate here… your smplayer.ini does not change the behaviour, on a console all I get is…

kalle@hoppers:~/datenzwei/Videos/Peanuts> smplayer Peanuts\ DVB\ 06\ -\ It\ Was\ A\ Short\ Summer\,\ Charlie\ Brown.mpg 
Das ist SMPlayer Version 0.6.9+SVN-r0UNKNOWN, ausgeführt auf Linux

The SMPlayer-log says: smplayer-log - Pastebin.com

Yet another MPlayer-log: /usr/bin/mplayer -noquiet -nofs -nomouseinput -sub-fuzziness 1 -identify -slave - Pastebin.com

I just don’t understand what’s going wrong here… :frowning:

I saw this random comment in the Packman ML

latest Mplayer(1.0rc4_r33574) can’t work with smplayer and umplayer backends
I gone back to MPlayer-1.0rc4_r33321 - it works good

Could you link to that? Google doesn’t help me here.

Anyway, thank you, that gives me hope that it will be fixed some time soon - until then: where do I get that working MPlayer-version?

[packman] [Regression]: latest Mplayer(1.0rc4_r33574) can’t work with smplayer and umplayer](http://lists.links2linux.de/pipermail/packman/2011-June/010158.html)

I have an older mplayer file you could try, but it may not install because of being older:
http://dl.dropbox.com/u/10573557/MPlayer-1.0rc4_r33030-1.pm.1.4.i586.rpm

Thank you - unfortunately this versions shows the same symptoms here, so it must be a different bug.

sigh

Thing is I’m not seeing the problem.
Is there any way you can make a problem video available (or part of it?)

Hang on, I will upload something - just have to find something that won’t violate copyrights or the rules of this forum.

Okay, here it is: →https://spideroak.com/browse/share/hoppers/kalle7474 (open the “Spidershares”-folder and download the .m4v)

I have written that but… note that this video can be played with SMPlayer when the output-driver is set to ‘vdpau’, only then I can not play files that are encoded differently. I often watch long playlists with clips being encoded with many different codecs, which make me have to set the output-driver to ‘xv’ or ‘vdpau’ over and over again.

Works here
What should happen? ( I have to go away form the computer on and off now, so I’ll be back as and when )

This very clip will play about two milliseconds of the audiotrack, then playback just stops entirely. This message appears repeatedly in the MPLayer-logs:

[h264_vdpau @ 0x8932180]decoding to PIX_FMT_NONE is not supported.
[h264_vdpau @ 0x8932180]MPV_common_init() failed
[h264_vdpau @ 0x8932180]decode_slice_header error
[VD_FFMPEG] Trying pixfmt=0.
[PP] Using external postprocessing filter, max q = 6.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.

Check in
/etc/mplayer

compare your .conf file with this one
http://dl.dropbox.com/u/10573557/mplayer.conf

Can you both do an apples to apples check to see if you have the same smplayer and mplayer versions ? ie output of:


rpm -qa '*layer*'

I have a bunch of extra apps on my openSUSE-11.3 :


oldcpu@core-i7:~/temp> rpm -qa '*layer*'
RealPlayer-11.0.2.2315-20101117.i586
dragonplayer-4.4.4-1.4.x86_64
gmplayer-1.0rc4_r33574-1.pm.1.1.x86_64
pullin-flash-player-11.3.1-2.1.1.x86_64
smplayer-0.6.9+r3599-1.pm.3.3.x86_64
flash-player-10.3.181.22-0.2.1.i586
mplayerplug-in-3.55+cvs20100124-0.pm.3.6.x86_64
MPlayer-1.0rc4_r33574-1.pm.1.1.x86_64

The video plays ok for me with both xv and x11(slow) selected as the video option on smplayer (on a 64-bit openSUSE-11.4 KDE-4.4.4 with nVidia GTX 260 with nVidia proprietary 275.09.07 video driver).

In /home/oldcpu/.mplayer/gui.conf I have as a setting


vo_driver = "vdpau,xv"

and in /etc/mplayer/mplayer.conf I have the same:


vo=vdpau,xv

In /home/oldcpu/.config/smplayer.ini I have as a setting:


mplayer_bin=mplayer
driver\vo=xv
driver\audio_output=alsa

I do not know how much of the above, if any, is relevant.

As suggested

rpm -qa '*layer*'
smplayer-0.6.9+r3599-1.pm.3.1.x86_64
get_iplayer-2.79-2.pm.2.1.noarch
gmplayer-1.0rc4_r33574-1.pm.1.2.x86_64
MPlayer-1.0rc4_r33574-1.pm.1.2.x86_64

Here’s mine:

kalle@hoppers:~> rpm -qa '*layer*'
smplayer-lang-0.6.9+r3599-1.pm.3.1.noarch
smplayer-themes-0.1.20-1.pm.1.1.noarch
flash-player-10.3.181.26-44.1.i586
dragonplayer-4.6.4-161.1.i586
pullin-flash-player-11.4.1-0.3.1.i586
MPlayer-1.0rc4_r33574-1.pm.1.2.i586
smplayer-theme-leo-8.5-1.pm.1.1.noarch
flash-player-kde4-10.3.181.26-44.1.i586
smplayer-0.6.9+r3599-1.pm.3.1.i586
gmplayer-1.0rc4_r33574-1.pm.1.2.i586

Thank you both for the support - I will check the configs right away, let’s see…

The mplayer.conf is just the same as caf has.

~/.mplayer/gui.conf only contained ‘vo_driver = “xv”’, yet adding “vdpau” does not help.

And the smplayer.ini contains the three lines oldcpu posted. Hm.

Something just pops into my mind: I remember a discussion not too long ago about the package ‘ffmpeg’ being replaced by libavcodec or something, so let’s compare that too:

kalle@hoppers:~> zypper se -si ffmpeg libavcodec                                                                                                                                      
Daten des Repositorys laden ...                                                                                                                                                       
Installierte Pakete lesen ...                                                                                                                                                         
                                                                                                                                                                                      
S | Name                  | Typ   | Version                            | Arch | Repository                                                                                            
--+-----------------------+-------+------------------------------------+------+-----------                                                                                            
i | ffmpeg                | Paket | 0.6.3.99.git20110613.0239-0.pm.1.1 | i586 | Packman                                                                                               
i | ffmpegthumbnailer     | Paket | 2.0.6-0.pm.2.3                     | i586 | Packman                                                                                               
i | gstreamer-0_10-ffmpeg | Paket | 0.10.11-999.pm.1000.8              | i586 | Packman                                                                                               
i | libavcodec52          | Paket | 0.6.201106111625git-0.pm.2.1       | i586 | Packman                                                                                               
i | libavcodec53          | Paket | 0.6.3.99.git20110613.0239-0.pm.1.1 | i586 | Packman                                                                                               
i | libffmpegthumbnailer4 | Paket | 2.0.6-0.pm.2.3                     | i586 | Packman