MMCHECK - Check Your Multimedia in 10 Steps - Script File, as proposed by RedDwarf

mmcheck has now advanced to version 2.00 as I add more tests and combine some options and regroup like tests together. The application verify functions that normally produces no output if there are no problems are grouped into two tests at the bottom of the list. There are other changes as well. mmcheck is about as large as can be posted online.

Just as before, copy and past the text in the following code block into a text file and save it in your home area as the file mmcheck (~/bin/mmcheck).

#!/bin/bash

#: Title       : mmcheck - MultiMedia Check
#: Date Created: Sun Oct 3 15:42:01 CDT 2010
#: Last Edit   : Sat Nov 6 08:36:10 CDT 2010
#: Author      : J. McDaniel
#: Version     : 2.00
#: Description : Check Your Installed Files for Multimedia
#: Options     : none

# Written for the openSUSE forums on Saturday November 6, 2010

# Copy and paste this text as the file mmcheck into the ~/bin folder.
# Run the terminal command: chmod +x ~/bin/mmcheck, to make the file executable
# Open up a terminal session and type: mmcheck, to start the program

PROG="MultiMedia Application Checker  -  Version 2.00  -  OS:"

function rpm_verify {
echo
echo "If everything verified properly there will be no output. If there are any "
echo "discrepancies they will be displayed. The format of the output is a string "
echo "of 8 characters, a possible 'c' denoting a configuration file, and then "
echo "the file name. Each of the 8 characters denotes the result of a comparison "
echo "of one attribute of the file to the value of that attribute recorded in the "
echo "RPM database. A single "." (period) means the test passed. The following "
echo "characters denote failure of certain tests: " 
echo 
echo "     5 -- MD5 checksum "
echo "     S -- File size "
echo "     L -- Symbolic link "
echo "     T -- File modification time "
echo "     D -- Device "
echo "     U -- User "
echo "     G -- Group "
echo "     M -- Mode (includes permissions and file type) " 
echo "     ? -- Unreadable file "
echo
echo "Applications that are not installed will produce no"
echo "error message here should the program be missing."
}

# Determine program user, save home folder location

USER="$HOME"

# Menu Display System function
# Display up to $3 menu items and <enter> is always Exit 
# Menu should have at least two choices plus exit

function print_menu {

# You can adjust the starting position of the mmcheck menu.  
# Using s_line=0 & s_col=0 would place the menu in the top left corner of your screen"

# Starting Terminal Line Number for menu
s_line=0
# Starting Terminal Column Number for Menu
s_col=0

# Determine SuSE Version
suse=$(cat /etc/SuSE-release)
num=${#suse}
version="${suse:0:$((num - 15))}"

# Display Program Title
tput clear
tput cup $(( s_line )) $(( s_col ))
tput setf 7
tput setb 2
tput bold
echo "$1""$version"

# Determine Kernel Version
kernel=$(uname -r)

# Display Menu, Present User home, kernel version
tput sgr0
tput cup $(( s_line + 2 )) $(( s_col ))
tput setf 7
tput setb 1
tput bold
echo "$2" "USER:$USER" " Kernel:$kernel" 
tput sgr0

# Display All Menu Options 1 through $3
maxnum=$3
counter=0

while  $(( counter )) -lt $(( maxnum + 1 )) ] ; do
  let counter=counter+1
  tput cup $(( s_line + 3 + counter )) $(( s_col ))
  echo "$4"
  shift
done

# Display menu option request and get user input
tput setf 2
tput bold
tput cup $(( s_line + 4 + counter )) $(( s_col ))
read -p "Enter Your Choice [1-"$maxnum"] .... OR .... Just Press <enter> to Quit mmcheck : " CHOICE
tput clear
tput sgr0
tput rc
return $CHOICE
}

#Display One or More Line(s) with different foreground and background colors

function print_color {
  fgrd=$1
  bgrd=$2
  maxnum=$3
  counter=1
  tput bold
  tput setf $(( fgrd ))
  tput setb $(( bgrd ))
  while  $(( counter )) -lt $(( maxnum + 1 )) ] ; do
    echo "$4"
    let counter=counter+1
    shift
  done
  tput sgr0
  echo
}

# Press Enter to Continue Request
function press_enter {
  echo
  read -p "Press <enter> to continue..." 
}

# Libdvdcss file repository source warning
function libdvd_warn {
  echo
  echo "If you have installed libdvdcss from openSUSE, you do not need libdvdcss"
  echo "from VideoLAN. So having no files from VideoLAN is OK, but if you do, it"
  echo "should only be the package libdvdcss.  In the future we suggest that you" 
  echo "switch to using only openSUSE and to remove the VideoLAN Repository.    "
  echo "Only openSUSE 11.3 is supported at: http://opensuse-guide.org/repo/11.3/"
}

#
# Main Program Loop starts here ...
#

while true ; do

# Setup Menu string Fields displayed for your menu

MENU="Multimedia Test Selection - M E N U "
TOTL="15" 
TST1="1 . Check for any Missing Dependencies for ALL Installed Packages ...       "
TST2="2 . Display All openSUSE Repositories as Entered in your Computer ...       "
TST3="3 . Check for any Packages Installed from the VideoLAN Repository ...       "
TST4="4 . Show the libdvdcss Package is Installed to View DVD Movies ...          "
TST5="5 . Show if xine Packages are Installed & from Packman ...                  "
TST6="6 . Show if Mplayer Packages are Installed & from Packman ...               "
TST7="7 . Show if gstreamer Plugins/Codecs are Installed & from Packman ...       "
TST8="8 . Show if ffmpeg, lame & libmad0 Packages are Installed & from Packman ..."
TST9="9 . Show if Quicktime Package is Installed & from Packman ...               "
TSTA="10. Show if vlc Packages are Installed & from Packman ...                   "
TSTB="11. Show if Totem Player Packages are Installed & from openSUSE ...         "
TSTC="12. Show if Flash Packages are Installed & from openSUSE ...                "
TSTD="13. Show if Java Packages are Installed & from openSUSE ...                 "
TSTE="14. Verify the Basic Installed Multimedia Packages ...                      "
TSTF="15. Verify the MPlayer, gstreamer, xine, VLC and w32codec-all Packages ...  "


# Call Menu and get user input selection

print_menu "$PROG" "$MENU" "$TOTL" "$TST1" "$TST2" "$TST3" "$TST4" "$TST5" "$TST6" "$TST7" "$TST8" "$TST9" "$TSTA" "$TSTB" "$TSTC" "$TSTD" "$TSTE" "$TSTF"
CHOICE="$?"

# Execute User Command Here

case "$CHOICE" in

  "1") 
  l1="Before Checking Your Repositories, would you like "
  l2="to perform a Zypper Refresh right now? (Yes or No)"
  print_color 7 1 2 "$l1" "$l2"
  read -p "Enter your choice [y/N] " CHOICE
  if  "$CHOICE" == "y" ] ||  "$CHOICE" == "Y" ] ; then
    sudo zypper refresh
  fi
  echo
  print_color 7 4 1 "$TST1"
  print_color 7 1 1 "Command: LC_ALL=C zypper ve"
  LC_ALL=C zypper ve
  press_enter ;;

  "2")
  print_color 7 4 1 "$TST2"
  print_color 7 1 1 "Command: zypper repos "
  zypper repos
  echo
  l1="If you have more than the four repositories listed above, you could cause yourself "
  l2="some trouble.  In general, repositories must given a priority when you have        "
  l3="more than four.  If you do not understand how this works, please ask for help.     "
  l4="Listed below are the recommended repositories you should keep enabled.             "
  print_color 7 1 4 "$l1" "$l2" "$l3" "$l4"
  l1=" * Main Repository - http://download.opensuse.org/distribution/11.?/repo/oss/      "
  l2=" * Main Repository - http://download.opensuse.org/distribution/11.?/repo/non-oss/  "
  l3=" * Packman Repository  - http://packman.jacobs-university.de/suse/11.?/            "
  l4=" * Main Update Repository  - http://download.opensuse.org/update/11.?/             "
  print_color 7 4 4 "$l1" "$l2" "$l3" "$l4"
  press_enter ;;

  "3") 
  print_color 7 4 1 "$TST3"
  print_color 7 1 1 "Command: rpm -qa --queryformat '%{NAME} -> %{VENDOR}
' | grep -i VideoLAN"
  rpm -qa --queryformat '%{NAME} -> %{VENDOR}
' | grep -i VideoLAN
  libdvd_warn
  press_enter ;;

  "4")  
  print_color 7 4 1 "$TST4"
  print_color 7 1 1 "Command: rpm --query --all --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' '*libdvdcss*'"
  rpm --query --all --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' '*libdvdcss*'
  libdvd_warn
  press_enter ;;

  "5")  
  print_color 7 4 1 "$TST5"
  print_color 7 1 1 "Command: rpm --query --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' libxine1 libxine1-codecs"
  rpm --query --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' libxine1 libxine1-codecs
  echo
  echo "You should expect to have two libxine packages installed and all from Packman."
  echo "----------------> libxine1 <--------------------- from the Packman Repository."
  echo "----------------> libxine1-codecs <-------------- from the Packman Repository."
  press_enter ;;
 
  "6")  
  print_color 7 4 1 "$TST6"
  print_color 7 1 1 "Command: rpm --query --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' MPlayer mplayerplug-in"
  rpm --query --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' MPlayer mplayerplug-in
  echo
  echo "You should expect to have two MPLayer packages installed and all from Packman."
  echo "----------------> MPlayer <---------------------- from the Packman Repository."
  echo "----------------> mplayerplug-in <--------------- from the Packman Repository."
  press_enter ;;

  "7")  
  print_color 7 4 1 "$TST7"
  print_color 7 1 1 "Command: --query --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' 'gstreamer*'"
  rpm --query --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' gstreamer-0_10-ffmpeg gstreamer-0_10-fluendo-mp3 gstreamer-0_10-fluendo-mpegdemux gstreamer-0_10-fluendo-mpegmux gstreamer-0_10-plugins-bad gstreamer-0_10-plugins-base gstreamer-0_10-plugins-good gstreamer-0_10-plugins-good-extra gstreamer-0_10-plugins-ugly
  echo
  echo "You should expect to have all 9 gstreamer packages installed and all from Packman."
  press_enter ;;

  "8")  
  print_color 7 4 1 "$TST8"
  print_color 7 1 1 "Command: rpm --query --all --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' ffmpeg lame libmad0"
  rpm --query --all --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' ffmpeg lame libmad0
  echo
  echo "You should expect to show three Packages Installed here from Packman."
  echo "called ---------> libmad0 <------------- from the Packman Repository."
  echo "called ---------> lame <---------------- from the Packman Repository."
  echo "called ---------> ffmpeg <-------------- from the Packman Repository."
  press_enter ;;

  "9")  
  print_color 7 4 1 "$TST9"
  print_color 7 1 1 "Command: rpm --query --all --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' '*quicktime*'"
  rpm --query --all --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' '*quicktime*'
  echo
  echo "You should expect to have only one Quicktime Package Installed" 
  echo "called ----> libquicktime0 <---- from the Packman Repository."
  press_enter ;;

  "10")  
  print_color 7 4 1 "$TSTA"
  print_color 7 1 1 "Command: rpm --query --all --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' vlc vlc-mozillaplugin libvlc5 libvlccore4"
  rpm --query --all --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' vlc vlc-mozillaplugin libvlc5 libvlccore4
  echo
  echo "You should expect to show four Packages Installed here from Packman."
  echo "called ---------> vlc <---------------- from the Packman Repository."
  echo "called ---------> vlc-mozillaplugin <---from the Packman Repository."
  echo "called ---------> libvlccore4 <-------- from the Packman Repository."
  echo "called ---------> libvlc5 <------------ from the Packman Repository."
  press_enter ;;

  "11")  
  print_color 7 4 1 "$TSTB"
  print_color 7 1 1 "Command: rpm --query --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' '*totem*'"
  rpm --query --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' totem totem-browser-plugin totem-plugin-upnp totem-plugins nautilus-totem
  echo
  echo "Totem is normally associated with the Gnome Package, but may help in KDE as well."
  echo
  echo "You should expect to have about five Totem Packages Installed total which will be:"
  echo "----------------> totem <--------------------------- from the openSUSE Repository."
  echo "----------------> totem-browser-plugin <------------ from the openSUSE Repository."
  echo "----------------> totem-plugin-upnp <--------------- from the openSUSE Repository."
  echo "----------------> totem-plugins <------------------- from the openSUSE Repository."
  echo "----------------> nautilus-totem <------------------ from the openSUSE Repository."
  press_enter ;;

  "12")  
  print_color 7 4 1 "$TSTC"
  print_color 7 1 1 "Command: rpm --query --all --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' '*flash*'"
  rpm --query --all --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' '*flash*'
  echo
  echo "You should expect to have only two Flash Packages Installed which will be:"
  echo "----------------> pullin-flash-player <----- from the openSUSE Repository."
  echo "----------------> flash-player <------------ from the openSUSE Repository."
  press_enter ;;

  "13")  
  print_color 7 4 1 "$TSTD"
  print_color 7 1 1 "Command: rpm --query --all --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' '*java-*'"
  rpm --query --all --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' '*java-*'
  echo
  echo "You should expect to have only Sun Java Packages installed.  If your files " 
  echo "include the name --> openjdk <--, it is suggested that they be uninstalled."
  press_enter ;;

  "14") 
  print_color 7 4 1 "$TSTE"
  print_color 7 1 1 "Command: rpm --verify --query --all 'libav*' 'libpostproc*' 'libswscale*'"
  rpm --verify --query --all 'libav*' 'libpostproc*' 'libswscale*'
  rpm_verify
  press_enter ;;

  "15") 
  print_color 7 4 1 "$TSTF"
  print_color 7 1 1 "Command:  rpm --verify --query --all MPlayer '*vlc*' '*gst*' '*xine*' w32codec-all"
  rpm --verify --query --all MPlayer '*vlc*' '*gst*' 'xine*' w32codec-all
  rpm_verify
  echo
  echo "w32codec-all is only required on 32 bit systems "
  echo "and only provides some very rare audio formats."
  press_enter ;;

  "0")  
  tput clear
  l1=" To avoid package problems, the most important thing to do is to: **NEVER** "
  l2=" ignore a dependency, even if YaST/zypper/updater gives you such an option! "
  l3=" Change vendor is OK,  but ignoring dependencies is never a very good idea. "
  print_color 7 4 3 "$l1" "$l2" "$l3"
  press_enter
  exit 0 ;;

  *) ;;

esac

done 

exit 0

# End of Bash File


Next, you need to mark the mmcheck script as executable. Open a terminal session and run this command:

chmod +x ~/bin/mmcheck

Finally, to use mmcheck, open another terminal session and type the command:

mmcheck

If you know of a check that should be made to ensure some multimedia operation, let me know and it can be added.

Thank You,

jdmcdaniel3 wrote:
> mmcheck has now advanced to version 2.00

in some near future version you might consider which versions of what
software is required for the script to run correctly…as i just
found out it won’t run on my old system (of course, i didn’t really
expect it to run flawlessly, but trying was proof again of how fast
things move (now) in Linux)…

you might consider a step to check which version of openSUSE is
running, zypper (mine choked on switches called that do not exist,
etc) and etc…and maybe flash a user warning that the script won’t be
reliable on the system encountered…

or, i guess you could anticipate each new openSUSE version release to
require tuning…so, you might need to have a version of the script
current for each of the three supported versions…or, one script
with internal checks to assign the correct commands for each version
when they are encountered…

just a thought.


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

Hello DenverD, thanks so much for your feedback on mmcheck. It would be helpful to know the mmcheck version that failed (which was 2.00 this time) the openSUSE version which was tested and which command/test that failed. I have tested it on openSUSE 11.2 and 11.3, but all 64 bit as I have no 32 bit systems running. So any feedback would be very helpful.

I also seem to be running up against the 15000 character limit for forum messages due to the size mmcheck has become. Adding too much more to the script will prevent it from being posted. I do think that I will try to support currently supported versions of openSUSE, which takes us down to openSUSE 11.1 I think, but I have been more concerned with performing valid tests that really determine if your multimedia will work or not.

Thank You,

jdmcdaniel3 wrote:
> It would be helpful to know the mmcheck version that failed and which command

i used 32 bit openSUSE 10.3 but, while i didn’t check each function i
did note failures where zypper switches that didn’t exist in 10.3 were
called…

> I also seem to be running up against the 15000 character limit for
> forum messages due to the size mmcheck has become.

there are numerous places you can drop a file (free) for others to
pick up (free), like at http://pastebin.com/ where you drop a file and
then just put the URL into a forum post…


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

jdmcdaniel3 wrote:
> It would be helpful to know the mmcheck version that failed and which command

i used 32 bit openSUSE 10.3 but, while i didn’t check each function i
did note failures where zypper switches that didn’t exist in 10.3 were
called…

> I also seem to be running up against the 15000 character limit for
> forum messages due to the size mmcheck has become.

there are numerous places you can drop a file (free) for others to
pick up (free), like at Pastebin.com - #1 paste tool since 2002! where you drop a file and
then just put the URL into a forum post…


DenverD
CAVEAT: C A V E A T [posted via NNTP w/openSUSE 10.3]
First off, I would NEVER consider anything that I might say to be the last word on the subject. However, I don’t think I will try to cover openSUSE 10.3, even though I have a special place in my heart for SuSE 10 as it was the first version I ever used. Still, if one is concerned about playing MultiMedia, surely you would want to upgrade to openSUSE 11.2 or 11.3, anyway that is my thoughts. More often that not, folks still using SuSE 10 are using it as a Server of some sort I would guess, but again I could be very wrong about that.

The issue of posting the files for others to download sounds very good. As always, I am worried about the file be corrupted in some way and would want a very safe place to post it for others to use. I saw that Please_Try_Again had posted his findgrub on the net somewhere where it could be downloaded whole and set executable. I would love to be able to do that somewhere the Mods here considered safe for openSUSE users to use. I have just never got into having someplace safe on the net that users could use to download files from, just never did it.

Thank You,

sorry, i must not have been clear: i didn’t expect or want (or ask)
you to service 10.x, instead i was alerting you that with the speed of
changes going on today you might need (i guess there is a need) to
cover all supported openSUSE versions rather than just the one you run
on your machine…


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

Thankyou !

Its a nifty check, … I’m currently pondering some of the recent updates. When checking the gstreamer packages on my laptop (since I am a continent away from my nominal PCs at home, and hence I can not check those, I can only check on my laptop), I note I get:

package gstreamer-0_10-fluendo-mpegdemux is not installed
package gstreamer-0_10-fluendo-mpegmux is not installed
.....
package gstreamer-0_10-plugins-good-extra is not installed

… and I am not aware of any adverse multimedia effects, which leads me to the question what do those ‘missing’ packages provide? I think I do not require the fluendo mpeg packages because I mostly do not use the gstreamer sound engine nor applications (such as video editors) that use gstreamer. I use the xine sound engine and I have picked up other packman packages which provide an mpeg codec capability.

I also pondered what I am missing by not having gstreamer-0_10-plugins-good-extra. I note that package provides something like:

libgst1394.so
libgstaasink.so
libgstdv.so
libgstgdkpixbuf.so
libgstmonoscope.so
libgstshout2.so
libgstsmpte.so
libgstspeex.so
libgstvideo4linux2.so
libgstvideobox.so
gstreamer-0_10-plugins-good-extra
gstreamer-0_10-plugins-good-extra(x86-32)

For xine (presumeably) I already have speex, video4linux (v4l), libshout, libdc1394, libraw1394, libdv4 etc … so I assume those packages provide gstreamer a similar functionality that I obtain from xine with various other packages.
… interesting !

Further to this, I am pondering the note about mplayerplug-in. There was a time when I always used to install this application. Currently with openSUSE-11.3 I no longer install mplayerplug-in, and I have not noticed any adverse effects.

mplayerplug-in is depreciated from what I recall, and I suspect that application is no longer needed as of openSUSE-11.3, and possibly not needed as of openSUSE-11.2.

I’m also pondering step-10. Here is what I saw on my laptop:

10. Show if vlc Packages are Installed & from Packman ...                                                                    
                                                                                                                             
Command: rpm --query --all --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' vlc vlc-mozillaplugin libvlc5 libvlccore4                                                                                                                 
                                                                                                                             
vlc-1.1.4.1-2.pm.4.1-x86_64 -> http://packman.links2linux.de                                                                 
libvlccore4-1.1.4.1-2.pm.4.1-x86_64 -> http://packman.links2linux.de                                                         
libvlc5-1.1.4.1-2.pm.4.1-x86_64 -> http://packman.links2linux.de                                                             
                                                                                                                             
You should expect to show four Packages Installed here from Packman.                                                         
called ---------> vlc <---------------- from the Packman Repository.                                                         
called ---------> vlc-mozillaplugin <---from the Packman Repository.                                                         
called ---------> libvlccore4 <-------- from the Packman Repository.                                                         
called ---------> libvlc5 <------------ from the Packman Repository.

… so I am asking myself, why is vlc-mozillaplugin needed ? I don’t have mplayerplug-in and I do not notice any adverse effects on my openSUSE-11.3 with firefox playing streaming media. Does having vlc-mozillaplugin add functionality to any additional sites that one can not nominally get ?

For firefox, I tend to try to keep my plugins to the minimum, in order to ensure maximum stability. Now I am NOT saying vlc-mozillaplugin causes any instability and indeed it may improve firefox functionality. … I’m just not yet clear in my mind as to what extra functionality it provides.

… again … interesting.

I’m now pondering step-13, that I ran against my laptop while I am a continent away from home … I obtain this:


13. Show if Java Packages are Installed & from openSUSE ...                                                                  
                                                                                                                             
Command: rpm --query --all --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' '*java-*'                    
                                                                                                                             
java-ca-certificates-1-5.3-noarch -> openSUSE                                                                                
java-1_6_0-openjdk-plugin-1.6.0.0_b18-1.1.5-x86_64 -> openSUSE                                                               
java-1_6_0-openjdk-1.6.0.0_b18-1.1.5-x86_64 -> openSUSE                                                                      
                                                                                                                             
You should expect to have only Sun Java Packages installed.  If your files                                                   
include the name --> openjdk <--, it is suggested that they be uninstalled

So truely I do have the openjdk packages ! …

Out of curiousity, I am interested to learn why are the Sun Java packages prefered over the openjdk packages? I’m not saying the Sun are not superior. I am saying I don’t know and I would like to learn.

Thanks again for your various scripts !!

Hello oldcpu. I want you to know that I am very appreciative of you taking time to test and provide feedback on the latest mmcheck script. Here are a few things about the programs that are being checked. The original script was based on a 10 step procedure by Reddwarf in which I took in its entirety for the first script file. The reason I took it was after performing the steps on two PC, all multimedia started working properly and I am not talking about just playing mp3 files. So, I took it to my heart and produced the first script. After now testing it on some eight different computers here and there I have arrived at the present version. I have added and combined tests as I see their importance.

What I have determined is that different sound hardware works better with different software. The most striking thing was the use or enabling of Pulseaudio, which did not help on most PC’s using X-Fi cards (and which often became worse), made no difference on some Realtek chipset and which was the only way to achieve full multimedia performance on some Intel sound chipsets.

Then, depending on if you had pulse loaded, different players seemed to matter. Mplayer seemed to work best when I did not have pulse loaded while VLC seemed to work better with pulse loaded. Further, I found on a few Realtek audio machines that only have Totem loaded seemed to provide full multimedia support. So, what the heck does that all mean? Part of the problem is just what gets loaded for your hardware setup, which disk did you load from, what desktop did you use and finally what did you add manually and in what order?

If someone that is all knowing and all seeing can stand up and say what you need when and with what hardware, we could follow that guide. Or, since it does not take up all that much room, just to load the suggested applications as looked for by mmcheck. Another thing to note here, is that the suggested apps being looked for cause all sorts of added programs to be loaded and in mmcheck we are only looking at the tip of an iceberg of actual software being installed.

On your Java request I and several others have ran into Java not working properly at certain sites and by replacing everything with sun Java versions seemed to remove said problem. If the open source version works fine for you, then don’t replace it. Per my text it was only suggested you replace the openjdk versions and not a command.

I have addressed the why of the other packages, but you know that nothing is written in stone here and I do respond to reason in almost ever case, but I am not too concerned about loading something that might not always be required. I want to add that right now, the number one test I perform on Firefox is to visit the Apple iTunes Website and play the movie trailers there. If you can’t do that, you have not yet got full multimedia operation. Here is their site:

iTunes Movie Trailers

I encourage anyone who feels their multimedia is fully functional, to get this to work. I also had some interesting finds on this site. That is, dual boot computers where Windows was unable to play the same videos without pauses or in the full screen mode. Several computers, were flawless in openSUSE and unusable in Windows. Windows XP was worse than Windows 7 for what it was worth.

Thank You,

That is a ‘killer test’. I have only obtained trailers from that site by adding a plugin to ‘fool’ the apple site into streaming, but not identifying the openSUSE browser as a Linux OS on a PC, but using the plugin to cause the Apple site to think they are connected to an old Windoze OS. Plus I find after one to three or so videos, it is not uncommon for firefox to freeze. Thats on a KDE-4.3.5 openSUSE-11.2 PC with no mplayerplug-in rpm installed.

That is a ‘killer test’. I have only obtained trailers from that site by adding a plugin to ‘fool’ the apple site into streaming, but not identifying the openSUSE browser as a Linux OS on a PC, but using the plugin to cause the Apple site to think they are connected to an old Windoze OS. Plus I find after one to three or so videos, it is not uncommon for firefox to freeze. Thats on a KDE-4.3.5 openSUSE-11.2 PC with no mplayerplug-in rpm installed.
So, if you install everything that mmcheck is looking for and with the possible exception that you might need to enable or disable Pulseaudio (Do not uninstall Pulseaudio unless you know you do not need it and check out my S.T.A.R.T. script for details on Pulse), you will be able to play iTunes Movie trailers and you will not need that User Agent program. I too loaded it before and it may keep you from loading perhaps Totem or something, but loading everything I look for it mmcheck seems to then NOT require that other program. Is making iTunes movie trailers work in openSUSE 11.2 and 11.3 on eight different computers, both desktop and Laptops a true test of this requirement. Humm, I don’t know but it is the best I can do right now. I have used every computer I have access to that is running openSUSE and I am fresh out of PC’s for more testing and so I need volunteers with Before (running mmcheck) and After (running mmcheck) in which users followed the suggestions made by mmcheck to load those options it is looking for.

Thank You,

Thank you verx much for this Thread!!!

Know i am able to watch all the things i tought i have to pay for the decoder or MPEG 4 AAC stuff!

The tool helped me out! I dont know much about this kind of stuff but it worked without any problem!!!

THANKS!

Thank you verx much for this Thread!!!

Know i am able to watch all the things i tought i have to pay for the decoder or MPEG 4 AAC stuff!

The tool helped me out! I dont know much about this kind of stuff but it worked without any problem!!!

THANKS!
You are very welcome there ben_ismail19 and also welcome to the openSUSE forums. I see that you are a relative new user to these parts and so I normally add a little more about the normal forum operation here:

Forum Message Counts:

As you start or answer any message thread here in the openSUSE forums.

Puzzled Penguin 0-49 (new users start with this level)
Student Penguin 50-99
Explorer Penguin 100-249
Busy Penguin 250-499
Parent Penguin 500-999
Wise Penguin 1000-1999
Omniscient Penguin 2000

FYI here are the reputation levels:

As you reward another user for the help they have provided you using
the reputation icon is in the lower left of any message that you read
and looks like a star.

REPUTATION LEVELS:

User is infamous around these parts -99999
User can only hope to improve -50
User has a little shameless behavior in the past -10
User is an unknown quantity at this point 0-9 (new users start with this level)
User is on a distinguished road 10-19
User will become famous soon enough 20-149
User has a spectacular aura about 150-249
User is a jewel in the rough 250-349
User is just really nice 350-449
User is a glorious beacon of light 450-549
User is a name known to all 550-649
User is a splendid one to behold 650-999
User has much to be proud of 1000-1499
User has a brilliant future 1500-1999
User has a reputation beyond repute 2000

Thank You,

Wow. Thank you for this script :smiley: I’m going to try it in a few moments. I’m actually a fresh penguin user myself, for just about 2 years now. Can’t go back to Windows after OpenSuSE.

However, the only real tripe I’ve had with SuSE is with multi-media. I know AlbertoP on #suse also has the same issue in Gnome (OpenSuSE 11.3, vanilla Gnome with updates). When I pause a video, and press play a while later, the video has crunched ‘slow down’ periods, where the video halts, while the audio continues for several seconds, and suddenly speeds up. Sometimes the sound itself halts and then the video, back and forth until it properly syncs back.

I’m quite curious whether this will help me clear up my problems. I’ll let you know :smiley:

****. I was really hoping that would get rid of the aforementioned issue.
At least now I can watch flicks with Mpeg-4 AAC audio… :smiley: Wewt!

Thank you for the script nonetheless. I’m beginning to suspect this might be an alsa/pulseaudio issue (not sure why, gut feeling).

I also have another script to work with basic Audio issues called START. Check it out this thread here:

S.T.A.R.T. - SuSE Terminal Audio Reporting Tool

It can enable/disable Pulse for you, among other things.

Thank You,

I have updated mmcheck to version 1.20 and the latest version looks for 13 more media files, as suggested by the Restricted Format guide here and adds one more test option.

Multi-media and Restricted Format Installation Guide

I have added even more color to the present version to help make the text in each test more readable. The newest version is too large to be posted into a forum message here and so I am now using a new openSUSE forum feature called SUSE Paste. Open Up the following Link into a new tab and pick RAW (in the top right Corner) and do a Firefox File / Save As mmcheck in your /home/username/bin folder (~/bin/mmcheck).

mmcheck Version 1.20

Once saved, use the following terminal command to make it executable:

chmod +x ~/bin/mmcheck

To use mmcheck, just open up a terminal session and type:

mmcheck

Please let me know if you have any issues using the new format to obtain the mmcheck script file.

Thank You,

*(Update, the latest version of mmcheck is 2.10, so ignore my last message as far as version is concerned. It would seem I have become dyslexic in my old age. *)

I have updated mmcheck to version 2.10 and the latest version looks for 13 more media files, as suggested by the Restricted Format guide here and adds one more test option.

Multi-media and Restricted Format Installation Guide

I have added even more color to the present version to help make the text in each test more readable. The newest version is too large to be posted into a forum message here and so I am now using a new openSUSE forum feature called SUSE Paste. Open Up the following Link into a new tab and pick RAW (in the top right Corner) and do a Firefox File / Save As mmcheck in your /home/username/bin folder (~/bin/mmcheck).

mmcheck Version 2.10

Once saved, use the following terminal command to make it executable:

chmod +x ~/bin/mmcheck

To use mmcheck, just open up a terminal session and type:

mmcheck

Please let me know if you have any issues using the new format to obtain the mmcheck script file.

Thank You,