PDA

View Full Version : HowTo: Install the very latest MPlayer under Jaunty Jackalope


Pages : 1 [2]

andrew.46
September 25th, 2009, 04:32 PM
Hi Andrew,

It's fixed under the last release. Thanks for the help :)

Excellent news! I am just about to svn up and check it out...

Andrew

andrew.46
September 26th, 2009, 02:39 AM
Hi mc4man,

I have karmic now, but am resisting the temptation to modify till it hit's rc, though couldn't help putting new ffmpeg, mplayer and vlc 1.02 packages in place.

There seems to be a bit of a problem with gcc 4.4.1 and compiling the svn MPlayer with pretty regular crashes on playback of most mkv files. Looks like a stand-off between the gcc devs and MPlayer at the moment. I experienced this crash on Karmic + MPlayer and it could be reproduced over and over on several mkv files.

Andrew

Nepherte
September 26th, 2009, 06:14 AM
Just apply this patch:
--- mplayer/configure.old 2009-04-16 12:02:10.000000000 +0200
+++ mplayer/configure 2009-05-22 15:23:38.000000000 +0200
@@ -6410,6 +6410,7 @@
def_liba52='#undef CONFIG_LIBA52'
def_liba52_internal="#undef CONFIG_LIBA52_INTERNAL"
if test "$_liba52_internal" = yes ; then
+ test "$cc_vendor" = gnu && test "$cc_version" = 4.4.1 && CFLAGS=$(echo $CFLAGS|sed "s/ *-O4 */ -O2 /")
_liba52=yes
def_liba52_internal="#define CONFIG_LIBA52_INTERNAL 1"
_res_comment="internal"

andrew.46
September 26th, 2009, 08:11 AM
Hi Nepherte,

Just apply this patch...

I remember seeing that one proposed a while back (http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2009-May/061538.html) but I gather it was not applied. Seems a pity as it gets around an awkward issue but I gather the MPlayer developers are going to wait for gcc to be fixed instead .... Meanwhile anybody who compiles MPlayer on Karmic, and is not aware of this hack, will have problems.

Andrew

Nepherte
September 26th, 2009, 11:12 AM
MPlayer had the same issue with gcc 4.4.0 and they indeed decided it was up to gcc to fix the problem. If I remember correctly, they indeed included some sort of patch in 4.4.1. But apparantly, it isn't working. Highly inconvenient.

gardara
October 5th, 2009, 01:53 PM
How about the CoreAVC codec, any reason why it isn't in the manual?

http://code.google.com/p/coreavc-for-linux/

andrew.46
October 5th, 2009, 04:59 PM
Hi gardara,

How about the CoreAVC codec, any reason why it isn't in the manual?

I guess this guide aims to present the basics of compiling and installing the subversion MPlayer under Jaunty. With this under your belt it is more than possible to explore things like CoreAVC, but I only cover that I have personal experience with I'm afraid.

Andrew

mc4man
October 5th, 2009, 07:46 PM
How about the CoreAVC codec
you may wish to look here (http://ubuntuforums.org/showthread.php?t=1034075)

stanjr
October 7th, 2009, 05:28 PM
I have made a bash script for everyone. I hope it is helpful in getting done what this thread is for. PLEASE comment and approve upon where necessary! here (http://pastebin.com/f20cc46cb) is a link to the pastebin site that I have posted it. Here it is in "code" form:
###########
# #
# GENERAL #
# #
###########

sudo apt-get update # TYPE Y FOR ANY QUESTIONS
sudo apt-get upgrade # TYPE Y FOR ANY QUESTIONS
sudo apt-get autoremove # TYPE Y FOR ANY QUESTIONS

################################################## ##############################
# THE NEXT TWO MKDIR CODE LINES BELOW SHOULD BE UNCOMMENTED IF FIRST TIME RUN. #
# CHANGE WHERE YOU WANT STUFF TO GO WHERE YOU WANT IT, STILL COMMENT BACK OUT #
# ON SUBSEQUENT RUNS. (CHANGE THE /Programs/build and /Programs/current #
# TO WHAT YOU WISH THEM TO BE, BUT STILL COMMENT OUT THE MKDIR LINES #
# AFTER FIRST RUN). ALL LINES SUBSEQUENT TO THE EXPORT LINES SHOULD ALL BE #
# COMMENTED OUT TOO....BUT ONLY BEFORE INITIAL RUN. #
################################################## ##############################

#mkdir $HOME/Programs/build
#mkdir $HOME/Programs/current

export BUILD=$HOME/Programs/build
export CURRENT=$HOME/Programs/current

cd $BUILD

#git clone git://git.sv.gnu.org/automake.git
#mv automake automake_GIT-PULLsvn co http://www.tortall.net/svn/yasm/trunk/yasm yasm_SVN-UPDATE
#git clone --depth=1 git://opencore-amr.git.sourceforge.net/gitroot/opencore-amr/opencore-amr
#mv opencore-amr opencore-amr_GIT-PULL
#git clone git://git.videolan.org/x264.git
#mv x264 x264_GIT-PULL
#svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg_SVN-UPDATE
#svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer_SVN-UPDATE
#wget http://www.live555.com/liveMedia/public/live555-latest.tar.gz
#tar xvf live555-latest.tar.gz
#mv live live_LIVE555-CODECS
#wget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20071007.tar.bz2
#tar xjvf all-20071007.tar.bz2
#mv all-20071007 all-20071007_MPLAYER-CODECS
#svn co http://www.tortall.net/svn/yasm/trunk/yasm yasm_SVN-UPDATE
#git clone git://git.sv.gnu.org/automake.git
#mv automake automake_GIT-PULL
#rm -R *.bz2 *.gz


################################################## ###
# #
# DEV FILES NEEDED #
# #
# (The files are per what was "needed" #
# from the VERY helpful resource at #
# http://ubuntuforums.org/showthread.php?t=1081070) #
# ...last updated as far as I know on 9/15/09 #
# This can be proabably commented out after #
# inital run... #
# #
################################################## ###

#sudo apt-get install build-essential checkinstall gpac libgpac-dev git-core debhelper em8300-headers gawk gettext html2text intltool-debian ladspa-sdk libaa1-dev libasound2-dev libatk1.0-dev libaudio-dev libaudio2 libaudiofile-dev libavahi-client-dev libavahi-common-dev libcaca-dev libcairo2-dev libcdparanoia-dev libcelt0 libdbus-1-dev libdbus-glib-1-dev libdirectfb-dev libdirectfb-extra libdts-dev libdv4-dev libenca-dev libenca0 libesd0-dev libexpat1-dev libfaac-dev libfaac0 libffado0 libfontconfig1-dev libfreebob0 libfreetype6-dev libfribidi-dev libggi-target-x libggi2 libggi2-dev libggimisc2 libggimisc2-dev libgif-dev libgii1 libgii1-dev libgii1-target-x libgl1-mesa-dev libglib2.0-dev libglu1-mesa-dev libgtk2.0-dev libice-dev libjack-dev libjack0 libjpeg62-dev liblzo-dev liblzo1 liblzo2-2 liblzo2-dev libmad0-dev libmail-sendmail-perl libmp3lame-dev libmp3lame0 libmpcdec-dev libmpcdec3 libncurses5-dev libogg-dev libopenal-dev libopenal1 libpango1.0-dev libpixman-1-dev libpng12-dev libpopt-dev libpthread-stubs0 libpthread-stubs0-dev libpulse-dev libpulse-mainloop-glib0 libsdl1.2-dev libslang2-dev libsm-dev libsmbclient-dev libspeex-dev libsvga1 libsvga1-dev libsys-hostname-long-perl libsysfs-dev libtheora-dev libtwolame-dev libtwolame0 libvorbis-dev libx11-dev libxau-dev libschroedinger-dev libstdc++5 libxcb-render-util0-dev libxcb-render0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxml++2.6-2 libxrandr-dev libxrender-dev libxt-dev libxv-dev libxvidcore4-dev libxvmc-dev libxxf86dga-dev libxxf86vm-dev mesa-common-dev po-debconf sharutils x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-video-dev x11proto-xext-dev x11proto-xf86dga-dev x11proto-xf86vidmode-dev x11proto-xinerama-dev xtrans-dev zlib1g-dev liboil0.3-dev libcddb2-dev

################################################## ########################################
# #
# If starting from scratch, you only need to install Live555 and the "codecs" once. #
# So, comment the lines below if you have already done this and don't want to do it #
# again. AKA, if this is the first time you have run this script, leave the code as is, #
# NOT THE ACTUAL COMMENT LINES!!! I am not going to give a lesson on what is "code" #
# and what is a "comment." Make sure to recomment out the code lines after having done #
# this part once, and are going to run it again for upkeeping purposes or something, #
# else you are wasting your time. Nothing bad can happen, but you are #
# WASTING YOUR TIME. If you want your "build" directory different than what I've used, #
# then make it so. You should be able to figure that out for yourself. #
# #
# I'LL PUT NOTES ABOVE COMMENT-OUTTABLE CODE IF THIS IS A SECOND-OR-MORE-RUN-THANG. #
# #
# I add sudo ldconfigs pretty much at the end of everything, that usually helps solve #
# a lot of problems that pop up, at least it did for me, and it can't hurt to just #
# put it in, just in case... #
# #
# I am not fully ***-holic. #
# #
################################################## ########################################

################################################## ################################
# #
# INSTALL THE CODECS #
# #
# (I don't know when something newer than this will be made, but at the time of #
# this writing (10/9/09), this is the latest). THIS CAN PROBABLY BE COMMENTED #
# OUT AFTER INITIAL RUN, but I just leave it for whatever reason. (When will a #
# git or svn be created for this?) #
# #
################################################## ################################

#sudo mkdir -pv /usr/lib/codecs
#sudo cp -v $BUILD/all-20071007_MPLAYER-CODECS/* /usr/lib/codecs
#sudo ldconfig

################################################## ################################
# #
# INSTALL THE LIVE555 CODECS #
# #
# (I don't know when something newer than this will be made, but at the time of #
# this writing (10/9/09), this is the latest). THIS CAN PROBABLY BE COMMENTED #
# OUT AFTER INITIAL RUN, but I just leave it for whatever reason. (When will a #
# git or svn be creater for this?) #
# #
################################################## ################################

#cd $BUILD/live_LIVE555-CODECS
#./genMakefiles linux
#make --jobs=6
#sudo cp -r $BUILD/live_LIVE555-CODECS /usr/lib
#sudo ldconfig

################################################## #####################
# #
# INSTALL THE SOURCE FONT #
# #
# (The font can be whatever you like, I actually like Liberation Sans #
# which was already on my system, peruse your fonts and see what #
# suits your fancy as a font, then pick it, putting in the path #
# and name path as needed.) THIS CAN PROBABLY BE COMMENTED OUT AFTER #
# INITIAL RUN, but I leave it for whatever reason. #
# #
################################################## #####################

#mkdir -v $HOME/.mplayer
#ln -sv /usr/share/fonts/truetype/ttf-liberation/LiberationSan-Bold/ttf $HOME/.mplayer/subfont.ttf
#sudo ldconfig

################################################## ###############
# #
# COMPILE AUTOMAKE #
# #
# (I like to be up on the cuttin' edge #
# of my automake) #
# (doesn't create a .deb file in $CURRENT) #
# (Could someone tell me how to get this done, per how #
# it's done in the x264 and mplayer steps below?) #
# #
################################################## ###############

cd $BUILD/automake_GIT-PULL
git pull
./bootstrap
./configure CFLAGS=-O3
make --jobs=6
sudo make install
sudo ldconfig
make distclean

################################################## ###############
# #
# COMPILE YASM #
# #
# (I like to be up on the cuttin' edge of #
# my yasm) #
# (doesn't create a .deb file in $CURRENT) #
# (Could someone tell me how to get this done, per how #
# it's done in the x264 and mplayer steps below?) #
# #
################################################## ###############

cd $BUILD/yasm_SVN-UPDATE
svn update
./autogen.sh
./configure CFLAGS=-O3
make --jobs=6
sudo make install
sudo ldconfig
make distclean

###########################
# #
# COMPILE LIBOPENCORE-AMR #
# #
###########################

cd $BUILD/opencore-amr_GIT-PULL
git pull
autoreconf -vfi
./configure CFLAGS=-O3
make --jobs=6
sudo checkinstall --fstrans=no --install=yes --pakdir=$CURRENT --maintainer=$USER --pkgname="libopencore-amr" --pkgversion="`date +%Y%m%d`" --backup=no --deldoc=yes --deldesc=yes --delspec=yes --gzman --default
sudo ldconfig
make distclean

################
# #
# COMPILE X264 #
# #
################

cd $BUILD/x264_GIT-PULL
git pull
./configure --prefix=/usr --enable-shared --extra-cflags=-O3
make --jobs=6
sudo checkinstall --fstrans=no --install=yes --pakdir=$CURRENT --maintainer=$USER --pkgname=x264 --pkgversion="1:0.svn`date +%Y%m%d`-0.0ubuntu1" --backup=no --deldoc=yes --deldesc=yes --delspec=yes --gzman --default
sudo ldconfig
make distclean

################################################## #############
# #
# COMPILE FFMPEG #
# #
# This is probably not necessary, but I compile it for my #
# own reasons to that it is up-to-date with the x264 that #
# I just finished compiling... #
# #
# The enables given here were the only ones I could get #
# to work on my system. Check out your ./configure --help #
# to find out all you can try to enable. #
# (doesn't create .deb file in $CURRENT) #
# (Could someone tell me how to get this done, per how #
# it's done in the x264 and mplayer steps below?) #
# #
################################################## #############

cd $BUILD/ffmpeg_SVN-UPDATE
svn update
./configure --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-x11grab --enable-gray --enable-runtime-cpudetect --enable-bzlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --extra-cflags=-O3
make --jobs=6
sudo make install
sudo ldconfig
make distclean

###################
# #
# COMPILE MPLAYER #
# #
###################

cd $BUILD/mplayer_SVN-UPDATE
svn update
./configure --codecsdir=/usr/lib/codecs --confdir=/etc/mplayer --enable-gui --extra-cflags=-O3
make --jobs=6
sudo checkinstall -D --install=yes --fstrans=no --pakdir=$CURRENT --pkgname=mplayer --pkgversion="3:1.0~svn-`grep "#define VERSION" version.h | cut -d"-" -f2`" --backup=no --deldoc=yes --deldesc=yes --delspec=yes --default --provides="mplayer,mencoder"
sudo ldconfig
make distclean

helpdeskdan
October 10th, 2009, 02:21 PM
Has anybody had any lucky compiling gecko-mediaplayer from svn? Is there a howto somewhere? I believe there is a patch to fix apple trailers which I wish to try.

helpdeskdan
October 11th, 2009, 04:52 PM
Never mind! It worked out of the box!

sudo apt-get install gnome-mplayer
./configure
make
checkinstall

Can watch the Apple trailers again:
http://www.apple.com/trailers/

kwokyinc
October 12th, 2009, 10:20 AM
Hi Andrew.46 ,

I followed your guide and installed the latest smplayer from the developer's repository. Mplayer (SVN-r29770-4.3.3) works okay stand alone. But smplayer (0.6.8 (SVN r3213)) won't play any file and gave an error of "MPlayer was compiled without fontconfig support". Any idea what went wrong?

Edits: I unchecked the "freetype support" under the "subtitle" tab and smplayer now works ok.

piousp
October 14th, 2009, 05:02 PM
Are you gonna 'upgrade' this guide for karmic? Or the guide will work with karmic? Thanks in advance

andrew.46
October 14th, 2009, 07:28 PM
Hi piousp,

Are you gonna 'upgrade' this guide for karmic? Or the guide will work with karmic?

For quite some time it was my intention to no longer create these MPlayer guides following Jaunty Jackalope in particular since the repository MPlayer has improved dramatically under Karmic. However I have produced a slightly altered guide for the svn MPlayer under Karmic and there is a version on these forums at the moment that is for testing purposes:

Can a few people test a Karmic installation guide for the svn MPlayer?
http://ubuntuforums.org/showthread.php?t=1280543

It would be great if you could test it :). A few differences in the aim of this guide...

Andrew

piousp
October 18th, 2009, 02:45 PM
Hi piousp,



For quite some time it was my intention to no longer create these MPlayer guides following Jaunty Jackalope in particular since the repository MPlayer has improved dramatically under Karmic. However I have produced a slightly altered guide for the svn MPlayer under Karmic and there is a version on these forums at the moment that is for testing purposes:

Can a few people test a Karmic installation guide for the svn MPlayer?
http://ubuntuforums.org/showthread.php?t=1280543

It would be great if you could test it :). A few differences in the aim of this guide...

Andrew


Nice nice nice!!! :KS
I'll try your guide on Karmic beta tomorrow!
Thanks for all your efforts!

gardara
October 30th, 2009, 10:59 AM
Hi piousp,



For quite some time it was my intention to no longer create these MPlayer guides following Jaunty Jackalope in particular since the repository MPlayer has improved dramatically under Karmic. However I have produced a slightly altered guide for the svn MPlayer under Karmic and there is a version on these forums at the moment that is for testing purposes:

Can a few people test a Karmic installation guide for the svn MPlayer?
http://ubuntuforums.org/showthread.php?t=1280543

It would be great if you could test it :). A few differences in the aim of this guide...

Andrew

Awesome! I'll check it out!

andrew.46
October 30th, 2009, 04:58 PM
Hi gardara,

Awesome! I'll check it out!

That thread has been closed, as have all the Karmic testing threads. But I have submitted the guide to 'Tutorials & Tips' where hopefully it will pop up shortly after moderation.

Andrew

piousp
October 31st, 2009, 12:30 AM
Hi gardara,



That thread has been closed, as have all the Karmic testing threads. But I have submitted the guide to 'Tutorials & Tips' where hopefully it will pop up shortly after moderation.

Andrew

Hey Andrew, can you give me the new thread for your guide in karmic?
At long last, i'm gonna test VDPAU!
Thanks again!

andrew.46
October 31st, 2009, 12:38 AM
Hi piousp,

Hey Andrew, can you give me the new thread for your guide in karmic?
At long last, i'm gonna test VDPAU!

Still waiting for the guide to appear. These guides have to be submitted for moderation and this all depends on how busy the moderators are, but hopefully soon :).

I have actually removed the vdpau info from the guide as I am not qualified to write about vdpau in any authoritative fashion. But it should be a simple matter of adding the required NVidia drivers +/- vdpau package and then MPlayer should automagically pick up the files and allow -vo vdpau.

Andrew

piousp
November 1st, 2009, 09:55 PM
Hi piousp,



Still waiting for the guide to appear. These guides have to be submitted for moderation and this all depends on how busy the moderators are, but hopefully soon :).

I have actually removed the vdpau info from the guide as I am not qualified to write about vdpau in any authoritative fashion. But it should be a simple matter of adding the required NVidia drivers +/- vdpau package and then MPlayer should automagically pick up the files and allow -vo vdpau.

Andrew

Hi Andrew,
can you post the link to the new guide right here please?
Kudos to you

andrew.46
November 2nd, 2009, 02:24 AM
Hi piousp,

can you post the link to the new guide right here please?

Howto: Utilise the svn MPlayer to Improve Karmic Koala's 'mplayer-nogui' Package
http://ubuntuforums.org/showthread.php?t=1305181

BTW I have added in the repository vdpau -dev package after some pressure :).

Andrew

piousp
November 2nd, 2009, 10:10 AM
Hi piousp,



Howto: Utilise the svn MPlayer to Improve Karmic Koala's 'mplayer-nogui' Package
http://ubuntuforums.org/showthread.php?t=1305181

BTW I have added in the repository vdpau -dev package after some pressure :).

Andrew

Hi Andrew,
you have my thanks for all your efforts! :KS

andrew.46
November 10th, 2009, 11:15 PM
Hi,

For the benefit of any Jaunty users starting out on this guide I have just now included the release version of the libopencore-amr libraries.

All the best,

Andrew

motorhead_1
March 8th, 2010, 11:28 AM
can anybody halp with this MSS2 problem?
I've installed these codecs following this (http://www.ubuntugeek.com/install-mplayer-and-multimedia-codecs-libdvdcss2w32codecsw64codecs-in-ubuntu-904-jaunty.html) but it seems that I still cannot play those MSS2 ....

https://launchpad.net/~rvm/+archive/mplayer (https://launchpad.net/%7Ervm/+archive/mplayer)

andrew.46
March 8th, 2010, 05:53 PM
Hi motorhead_1,

I have replied in some detail on the other thread (http://ubuntuforums.org/showthread.php?t=1414115) but the missing piece of the puzzle is: are you running 64 bit or 32 bit? To play this file you need access to the w32codecs from Medibuntu...

All the best,

Andrew

motorhead_1
March 8th, 2010, 06:55 PM
Hello Andrew,
I'm running 32 bit, so technically how do I work it out? I've the medibuntu repositories and in the last lines you can see this https://launchpad.net/~rvm/+archive/mplayer (https://launchpad.net/%7Ervm/+archive/mplayer)
however I'm not quite sure of what I'm doing

# deb cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://it.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://it.archive.ubuntu.com/ubuntu/ karmic universe
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic universe
deb http://it.archive.ubuntu.com/ubuntu/ karmic-updates universe
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://it.archive.ubuntu.com/ubuntu/ karmic multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://it.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ karmic-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://it.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu karmic partner
deb-src http://archive.canonical.com/ubuntu karmic partner

deb http://security.ubuntu.com/ubuntu karmic-security main restricted
deb-src http://security.ubuntu.com/ubuntu karmic-security main restricted
deb http://security.ubuntu.com/ubuntu karmic-security universe
deb-src http://security.ubuntu.com/ubuntu karmic-security universe
deb http://security.ubuntu.com/ubuntu karmic-security multiverse
deb-src http://security.ubuntu.com/ubuntu karmic-security multiverse
deb http://packages.medibuntu.org/ karmic free non-free
deb-src http://packages.medibuntu.org/ karmic free non-free

# Per risolvere il problema di Chrome
deb http://ppa.launchpad.net/setack/stuff/ubuntu karmic main

#Virtualbox
deb http://download.virtualbox.org/virtualbox/debian karmic non-free
deb http://www.mendeley.com/repositories/xUbuntu_9.04 /

#MPlayer packages for Ubuntu.
deb http://ppa.launchpad.net/rvm/mplayer/ubuntu karmic main
deb-src http://ppa.launchpad.net/rvm/mplayer/ubuntu karmic main

andrew.46
March 8th, 2010, 07:19 PM
Hi Motorhead,

Looks like you have it all mostly in place :). If I were you I would add in rvm's SMPlayer PPA (https://launchpad.net/~rvm/+archive/smplayer):

$ sudo add-apt-repository ppa:rvm/smplayer

and then run:

$ sudo apt-get update && sudo apt-get upgrade
$ sudo apt-get install smplayer mplayer w32codecs

and I would be very surprised if you could not play your problem file... BTW I have given directions for Karmic with the PPA although you have inadvertently posted your question in a thread devoted to Jaunty :).

All the best,

Andrew

motorhead_1
March 8th, 2010, 07:49 PM
ooops my mistake for Jaunty posting, I'm of course running Karmic. thanks! I guess something went wrong anyhow:

daitarn@daitarn-laptop:~$ sudo add-apt-repository ppa:rvm/smplayer
[sudo] password for daitarn:
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv E23A3C5344AE497C2FEE7B0BA7E13D78E4A4F4F4
gpg: requesting key E4A4F4F4 from hkp server keyserver.ubuntu.com
gpg: key E4A4F4F4: public key "Launchpad PPA named smplayer for rvm" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
daitarn@daitarn-laptop:~$ sudo apt-get update && sudo apt-get upgrade
Hit http://it.archive.ubuntu.com karmic Release.gpg
Hit http://packages.medibuntu.org karmic Release.gpg
Ign http://packages.medibuntu.org karmic/free Translation-en_US
Get:1 http://dl.google.com stable Release.gpg [189B]
Ign http://dl.google.com stable/main Translation-en_US
Get:2 http://ppa.launchpad.net karmic Release.gpg [307B]
Ign http://ppa.launchpad.net karmic/main Translation-en_US
Get:3 http://archive.canonical.com karmic Release.gpg [189B]
Ign http://archive.canonical.com karmic/partner Translation-en_US
Ign http://packages.medibuntu.org karmic/non-free Translation-en_US
Hit http://packages.medibuntu.org jaunty Release.gpg
Ign http://packages.medibuntu.org jaunty/free Translation-en_US
Ign http://packages.medibuntu.org jaunty/non-free Translation-en_US
Hit http://security.ubuntu.com karmic-security Release.gpg
Hit http://packages.medibuntu.org karmic Release
Ign http://security.ubuntu.com karmic-security/main Translation-en_US
Ign http://www.mendeley.com Release.gpg
Ign http://it.archive.ubuntu.com karmic/main Translation-en_US
Get:4 http://dl.google.com stable Release [2,540B]
Get:5 http://ppa.launchpad.net karmic Release.gpg [307B]
Ign http://ppa.launchpad.net karmic/main Translation-en_US
Get:6 http://ppa.launchpad.net karmic Release.gpg [307B]
Ign http://ppa.launchpad.net karmic/main Translation-en_US
Hit http://ppa.launchpad.net karmic Release.gpg
Ign http://ppa.launchpad.net karmic/main Translation-en_US
Hit http://packages.medibuntu.org jaunty Release
Get:7 http://archive.canonical.com karmic Release [9,347B]
Ign http://security.ubuntu.com karmic-security/restricted Translation-en_US
Ign http://security.ubuntu.com karmic-security/universe Translation-en_US
Ign http://security.ubuntu.com karmic-security/multiverse Translation-en_US
Hit http://security.ubuntu.com karmic-security Release
Get:8 http://ppa.launchpad.net karmic Release [66.0kB]
Ign http://it.archive.ubuntu.com karmic/restricted Translation-en_US
Get:9 http://ppa.launchpad.net karmic Release [66.0kB]
Get:10 http://ppa.launchpad.net karmic Release [66.0kB]
Ign http://www.mendeley.com Translation-en_US
Hit http://download.virtualbox.org karmic Release.gpg
Ign http://download.virtualbox.org karmic/non-free Translation-en_US
Hit http://packages.medibuntu.org karmic/free Packages
Ign http://ppa.launchpad.net karmic Release
Ign http://ppa.launchpad.net karmic Release
Get:11 http://dl.google.com stable/main Packages [914B]
Ign http://it.archive.ubuntu.com karmic/universe Translation-en_US
Hit http://packages.medibuntu.org karmic/non-free Packages
Hit http://packages.medibuntu.org karmic/free Sources
Hit http://packages.medibuntu.org karmic/non-free Sources
Hit http://packages.medibuntu.org jaunty/free Packages
Hit http://security.ubuntu.com karmic-security/main Packages
Ign http://it.archive.ubuntu.com karmic/multiverse Translation-en_US
Get:12 http://archive.canonical.com karmic/partner Packages [4,184B]
Ign http://www.mendeley.com Release
Hit http://packages.medibuntu.org jaunty/non-free Packages
Hit http://download.virtualbox.org karmic Release
Hit http://security.ubuntu.com karmic-security/restricted Packages
Hit http://ppa.launchpad.net karmic Release
Hit http://security.ubuntu.com karmic-security/main Sources
Hit http://security.ubuntu.com karmic-security/restricted Sources
Hit http://security.ubuntu.com karmic-security/universe Packages
Get:13 http://it.archive.ubuntu.com karmic-updates Release.gpg [189B]
Get:14 http://archive.canonical.com karmic/partner Sources [1,725B]
Hit http://ppa.launchpad.net karmic/main Packages
Hit http://ppa.launchpad.net karmic/main Packages
Hit http://ppa.launchpad.net karmic/main Sources
Hit http://security.ubuntu.com karmic-security/universe Sources
Hit http://security.ubuntu.com karmic-security/multiverse Packages
Hit http://security.ubuntu.com karmic-security/multiverse Sources
Ign http://it.archive.ubuntu.com karmic-updates/main Translation-en_US
Ign http://www.mendeley.com Packages
Get:15 http://ppa.launchpad.net karmic/main Packages [1,017B]
Ign http://it.archive.ubuntu.com karmic-updates/restricted Translation-en_US
Hit http://ppa.launchpad.net karmic/main Packages
Hit http://download.virtualbox.org karmic/non-free Packages
Ign http://it.archive.ubuntu.com karmic-updates/universe Translation-en_US
Ign http://www.mendeley.com Packages
Ign http://it.archive.ubuntu.com karmic-updates/multiverse Translation-en_US
Hit http://it.archive.ubuntu.com karmic Release
Hit http://www.mendeley.com Packages
Get:16 http://it.archive.ubuntu.com karmic-updates Release [44.1kB]
Hit http://it.archive.ubuntu.com karmic/main Packages
Hit http://it.archive.ubuntu.com karmic/restricted Packages
Hit http://it.archive.ubuntu.com karmic/main Sources
Hit http://it.archive.ubuntu.com karmic/restricted Sources
Hit http://it.archive.ubuntu.com karmic/universe Packages
Hit http://it.archive.ubuntu.com karmic/universe Sources
Hit http://it.archive.ubuntu.com karmic/multiverse Packages
Hit http://it.archive.ubuntu.com karmic/multiverse Sources
Get:17 http://it.archive.ubuntu.com karmic-updates/main Packages [186kB]
Get:18 http://it.archive.ubuntu.com karmic-updates/restricted Packages [14B]
Get:19 http://it.archive.ubuntu.com karmic-updates/main Sources [54.7kB]
Get:20 http://it.archive.ubuntu.com karmic-updates/restricted Sources [14B]
Get:21 http://it.archive.ubuntu.com karmic-updates/universe Packages [109kB]
Get:22 http://it.archive.ubuntu.com karmic-updates/universe Sources [26.9kB]
Get:23 http://it.archive.ubuntu.com karmic-updates/multiverse Packages [7,369B]
Get:24 http://it.archive.ubuntu.com karmic-updates/multiverse Sources [4,025B]
Fetched 519kB in 4s (120kB/s)
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net karmic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C28F899060FD0E97
W: GPG error: http://ppa.launchpad.net karmic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 015A66E603E02400
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
mplayer
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
daitarn@daitarn-laptop:~$ sudo apt-get install smplayer mplayer w32codecs
Reading package lists... Done
Building dependency tree
Reading state information... Done
w32codecs is already the newest version.
The following extra packages will be installed:
libggi-target-x libggi2 libgii1 libgii1-target-x libopencore-amrnb0
libopencore-amrwb0 smplayer-themes
Suggested packages:
libggi-target-emu libggi-target-monotext libggimisc2 mplayer-doc
The following packages will be REMOVED:
mplayer-nogui
The following NEW packages will be installed:
libggi-target-x libggi2 libgii1 libgii1-target-x libopencore-amrnb0
libopencore-amrwb0 smplayer smplayer-themes
The following packages will be upgraded:
mplayer
1 upgraded, 8 newly installed, 1 to remove and 0 not upgraded.
Need to get 10.0MB of archives.
After this operation, 18.0MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
mplayer
Install these packages without verification [y/N]? y
Get:1 http://it.archive.ubuntu.com karmic/universe libgii1 1:1.0.2-4 [289kB]
Get:2 http://ppa.launchpad.net karmic/main mplayer 2:1.0~rc3+svn20090904-0karmic5 [5,149kB]
Get:3 http://it.archive.ubuntu.com karmic/universe libggi2 1:2.2.2-3ubuntu1 [361kB]
Get:4 http://it.archive.ubuntu.com karmic/universe libopencore-amrnb0 0.1.2-1 [90.1kB]
Get:5 http://it.archive.ubuntu.com karmic/universe libopencore-amrwb0 0.1.2-1 [46.9kB]
Get:6 http://it.archive.ubuntu.com karmic/universe libgii1-target-x 1:1.0.2-4 [86.1kB]
Get:7 http://it.archive.ubuntu.com karmic/universe libggi-target-x 1:2.2.2-3ubuntu1 [163kB]
Get:8 http://ppa.launchpad.net karmic/main smplayer 0.6.9-1~karmic1 [1,627kB]
Get:9 http://ppa.launchpad.net karmic/main smplayer-themes 0.1.20-1~karmic1 [2,238kB]
Fetched 10.0MB in 21s (463kB/s)
Selecting previously deselected package libgii1.
(Reading database ... 232305 files and directories currently installed.)
Unpacking libgii1 (from .../libgii1_1%3a1.0.2-4_i386.deb) ...
Selecting previously deselected package libggi2.
Unpacking libggi2 (from .../libggi2_1%3a2.2.2-3ubuntu1_i386.deb) ...
Selecting previously deselected package libopencore-amrnb0.
Unpacking libopencore-amrnb0 (from .../libopencore-amrnb0_0.1.2-1_i386.deb) ...
Selecting previously deselected package libopencore-amrwb0.
Unpacking libopencore-amrwb0 (from .../libopencore-amrwb0_0.1.2-1_i386.deb) ...
Processing triggers for man-db ...
dpkg: mplayer-nogui: dependency problems, but removing anyway as you requested:
mplayer depends on mplayer-nogui; however:
Package mplayer-nogui is to be removed.
(Reading database ... 232575 files and directories currently installed.)
Removing mplayer-nogui ...
Processing triggers for man-db ...
(Reading database ... 232557 files and directories currently installed.)
Preparing to replace mplayer 2:1.0~rc3+svn20090426-1ubuntu10.1 (using .../mplayer_2%3a1.0~rc3+svn20090904-0karmic5_i386.deb) ...
Unpacking replacement mplayer ...
Selecting previously deselected package smplayer.
Unpacking smplayer (from .../smplayer_0.6.9-1~karmic1_i386.deb) ...
Selecting previously deselected package libgii1-target-x.
Unpacking libgii1-target-x (from .../libgii1-target-x_1%3a1.0.2-4_i386.deb) ...
Selecting previously deselected package libggi-target-x.
Unpacking libggi-target-x (from .../libggi-target-x_1%3a2.2.2-3ubuntu1_i386.deb) ...
Selecting previously deselected package smplayer-themes.
Unpacking smplayer-themes (from .../smplayer-themes_0.1.20-1~karmic1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for hicolor-icon-theme ...
Setting up libgii1 (1:1.0.2-4) ...

Setting up libggi2 (1:2.2.2-3ubuntu1) ...

Setting up libopencore-amrnb0 (0.1.2-1) ...

Setting up libopencore-amrwb0 (0.1.2-1) ...

Setting up mplayer (2:1.0~rc3+svn20090904-0karmic5) ...
Installing new version of config file /etc/mplayer/mplayer.conf ...
Installing new version of config file /etc/mplayer/menu.conf ...
Installing new version of config file /etc/mplayer/input.conf ...

Setting up smplayer (0.6.9-1~karmic1) ...

Setting up libgii1-target-x (1:1.0.2-4) ...
Setting up libggi-target-x (1:2.2.2-3ubuntu1) ...
Setting up smplayer-themes (0.1.20-1~karmic1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
daitarn@daitarn-laptop:~$
http://img695.imageshack.us/img695/225/screenshotiwa.th.png (http://img695.imageshack.us/i/screenshotiwa.png/)

andrew.46
March 8th, 2010, 08:16 PM
Hi motorhead_1,

Almost there :). I would suggest that you use SMPlayer to view your video and if the -vo error persists change the Video Out device in the SMPlayer preferences:

Options --> Preferences --> General --> Video --> Output Driver

to something like x11 for example. You could also run this file from the commandline as follows:

$ cd Desktop
$ mplayer -v scalping.wmv

and post the full terminal output here and this should give a clear idea of what is going on in terms of codecs used and video and audio out devices...

Andrew

motorhead_1
March 8th, 2010, 08:27 PM
I've run your commands and at the end the video started perfectly in MPlayer. strange, isn't ? don't know why I can't run it by right click and open with MPlayer...

daitarn@daitarn-laptop:~$ cd Desktop
daitarn@daitarn-laptop:~/Desktop$ mplayer -v scalping.wmv
MPlayer SVN-r29643-Ubuntu-RVM (C) 2000-2009 MPlayer Team
CPU vendor name: GenuineIntel max cpuid level: 2
CPU: Intel(R) Pentium(R) M processor 1.73GHz (Family: 6, Model: 13, Stepping: 8)
extended cpuid-level: 8
extended cache-info: 134242368
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Tests of OS support for SSE passed.
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 0
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/daitarn/.mplayer/codecs.conf'
Reading /home/daitarn/.mplayer/codecs.conf: Can't open '/home/daitarn/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --enable-runtime-cpudetection --target=i586-linux --prefix=/usr --confdir=/etc/mplayer --mandir=/usr/share/man --win32codecsdir=/usr/lib/win32 --disable-libdvdcss-internal --enable-xvmc --enable-menu --cc=gcc-4.3 --enable-gui --enable-mencoder
CommandLine: '-v' 'scalping.wmv'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/daitarn/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/daitarn/.mplayer/input.conf'
Can't open input config file /home/daitarn/.mplayer/input.conf: No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 90 binds
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
get_path('scalping.wmv.conf') -> '/home/daitarn/.mplayer/scalping.wmv.conf'

Playing scalping.wmv.
get_path('sub/') -> '/home/daitarn/.mplayer/sub/'
[file] File size is 10051693 bytes
STREAM: [file] scalping.wmv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: ASF format
Checking for YUV4MPEG2
ASF file format detected.
stream type: guid_video_stream
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 879 bytes, stream: 0 bytes ID: 1
unk1: 0 unk2: 12A4AC
FILEPOS=0x8F0
==> Found video stream: 1
[asfheader] Video stream found, -vid 1
======= VIDEO Format ======
biSize 868
biWidth 1476
biHeight 900
biPlanes 1
biBitCount 24
biCompression 844321613='MSS2'
biSizeImage 0
Unknown extra header dump: [0] [0] [3] [3c] [0] [0] [0] [2] [0] [0] [0] [1] [0] [0] [5] [c4] [0] [0] [3] [84] [0] [0] [5] [c4] [0] [0] [3] [84] [41] [70] [0] [0] [0] [3] [d0] [90] [0] [0] [0] [0] [40] [40] [0] [0] [40] [40] [0] [1] [0] [0] [0] [9] [0] [0] [0] [0] [0] [0] [1] [0] [0] [0] [0] [0] [0] [40] [0] [0] [80] [0] [0] [c0] [0] [0] [ff] [0] [40] [0] [0] [40] [40] [0] [40] [80] [0] [40] [c0] [0] [40] [ff] [0] [80] [0] [0] [80] [40] [0] [80] [80] [0] [80] [c0] [0] [80] [ff] [0] [c0] [0] [0] [c0] [40] [0] [c0] [80] [0] [c0] [c0] [0] [c0] [ff] [0] [ff] [0] [0] [ff] [40] [0] [ff] [80] [0] [ff] [c0] [0] [ff] [ff] [40] [0] [0] [40] [0] [40] [40] [0] [80] [40] [0] [c0] [40] [0] [ff] [40] [40] [0] [40] [40] [40] [40] [40] [80] [40] [40] [c0] [40] [40] [ff] [40] [80] [0] [40] [80] [40] [40] [80] [80] [40] [80] [c0] [40] [80] [ff] [40] [c0] [0] [40] [c0] [40] [40] [c0] [80] [40] [c0] [c0] [40] [c0] [ff] [40] [ff] [0] [40] [ff] [40] [40] [ff] [80] [40] [ff] [c0] [40] [ff] [ff] [80] [0] [0] [80] [0] [40] [80] [0] [80] [80] [0] [c0] [80] [0] [ff] [80] [40] [0] [80] [40] [40] [80] [40] [80] [80] [40] [c0] [80] [40] [ff] [80] [80] [0] [80] [80] [40] [80] [80] [80] [80] [80] [c0] [80] [80] [ff] [80] [c0] [0] [80] [c0] [40] [80] [c0] [80] [80] [c0] [c0] [80] [c0] [ff] [80] [ff] [0] [80] [ff] [40] [80] [ff] [80] [80] [ff] [c0] [80] [ff] [ff] [c0] [0] [0] [c0] [0] [40] [c0] [0] [80] [c0] [0] [c0] [c0] [0] [ff] [c0] [40] [0] [c0] [40] [40] [c0] [40] [80] [c0] [40] [c0] [c0] [40] [ff] [c0] [80] [0] [c0] [80] [40] [c0] [80] [80] [c0] [80] [c0] [c0] [80] [ff] [c0] [c0] [0] [c0] [c0] [40] [c0] [c0] [80] [c0] [c0] [c0] [c0] [c0] [ff] [c0] [ff] [0] [c0] [ff] [40] [c0] [ff] [80] [c0] [ff] [c0] [c0] [ff] [ff] [ff] [0] [0] [ff] [0] [40] [ff] [0] [80] [ff] [0] [c0] [ff] [0] [ff] [ff] [40] [0] [ff] [40] [40] [ff] [40] [80] [ff] [40] [c0] [ff] [40] [ff] [ff] [80] [0] [ff] [80] [40] [ff] [80] [80] [ff] [80] [c0] [ff] [80] [ff] [ff] [c0] [0] [ff] [c0] [40] [ff] [c0] [80] [ff] [c0] [c0] [ff] [c0] [ff] [ff] [ff] [0] [ff] [ff] [40] [ff] [ff] [80] [ff] [ff] [c0] [ff] [ff] [ff] [0] [20] [0] [0] [20] [40] [0] [20] [80] [0] [60] [0] [0] [60] [40] [0] [60] [80] [20] [0] [0] [20] [0] [40] [20] [0] [80] [20] [20] [0] [20] [20] [40] [20] [20] [80] [20] [40] [0] [20] [40] [40] [20] [40] [80] [20] [60] [0] [20] [60] [40] [20] [60] [80] [20] [80] [40] [20] [80] [80] [40] [20] [0] [40] [20] [40] [40] [20] [80] [40] [60] [0] [40] [60] [40] [40] [60] [80] [40] [60] [c0] [40] [a0] [40] [40] [a0] [80] [40] [a0] [c0] [60] [0] [0] [60] [0] [40] [60] [20] [0] [60] [20] [40] [60] [20] [80] [60] [40] [0] [60] [40] [40] [60] [40] [80] [60] [40] [c0] [60] [60] [0] [60] [60] [40] [60] [60] [80] [60] [60] [c0] [60] [80] [0] [60] [80] [40] [60] [80] [80] [60] [80] [c0] [60] [a0] [40] [60] [a0] [80] [60] [a0] [c0] [60] [c0] [80] [60] [c0] [c0] [80] [20] [0] [80] [20] [40] [80] [20] [80] [80] [60] [0] [80] [60] [40] [80] [60] [80] [80] [60] [c0] [80] [a0] [40] [80] [a0] [80] [80] [a0] [c0] [80] [a0] [ff] [80] [e0] [80] [80] [e0] [c0] [80] [e0] [ff] [a0] [40] [40] [a0] [40] [80] [a0] [60] [40] [a0] [60] [80] [a0] [60] [c0] [a0] [80] [40] [a0] [80] [80] [a0] [80] [c0] [a0] [80] [ff] [a0] [a0] [40] [a0] [a0] [80] [a0] [a0] [c0] [a0] [a0] [ff] [a0] [c0] [40] [a0] [c0] [80] [a0] [c0] [c0] [a0] [c0] [ff] [a0] [e0] [80] [a0] [e0] [c0] [a0] [e0] [ff] [a0] [ff] [c0] [a0] [ff] [ff] [c0] [60] [40] [c0] [60] [80] [c0] [60] [c0] [c0] [a0] [40] [c0] [a0] [80] [c0] [a0] [c0] [c0] [a0] [ff] [c0] [e0] [80] [c0] [e0] [c0] [c0] [e0] [ff] [e0] [80] [80] [e0] [80] [c0] [e0] [a0] [80] [e0] [a0] [c0] [e0] [a0] [ff] [e0] [c0] [80] [e0] [c0] [c0] [e0] [c0] [ff] [e0] [e0] [80] [e0] [e0] [c0] [e0] [e0] [ff] [e0] [ff] [80] [e0] [ff] [c0] [e0] [ff] [ff] [ff] [a0] [80] [ff] [a0] [c0] [ff] [a0] [ff] [ff] [e0] [80] [ff] [e0] [c0] [ff] [e0] [ff] [20] [20] [20] [60] [60] [60] [a0] [a0] [a0] [e0] [e0] [e0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
===========================
ASF: packets: 6953 flags: 2 max_packet_size: 1444 min_packet_size: 1444 max_bitrate: 260068 preroll: 3000
============ ASF Stream group == START ===
stream count=[0x1][1]
stream id=[0x1][1]
max bitrate=[0x3f7e4][260068]
============ ASF Stream group == END ===
Found movie at 0xCB1 - 0x993FF5
ASF: 0 audio and 1 video streams found
Auto-selected ASF video ID = 1
VIDEO: [MSS2] 1476x900 24bpp 1000.000 fps 250.0 kbps (30.5 kbyte/s)
[V] filefmt:6 fourcc:0x3253534D size:1476x900 fps:1000.000 ftime:=0.0010
get_path('sub/') -> '/home/daitarn/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x800 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
[VO_XV] Using Xv Adapter #0 (Intel(R) Textured Video)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 2048x2048
================================================== ========================
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
Decoder supports the following formats: RGB8 RGB555 RGB565 RGB24 RGB32
VDec: vo config request - 1476 x 900 (preferred colorspace: Packed YUY2)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDec: using BGRA as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (1476x900->1476x900,flags=0,'MPlayer',0x42475220)
[swscaler @ 0xa507ce0]BICUBIC scaler, from rgb32 to yuv420p using MMX2
REQ: flags=0x437 req=0x0
VO: [xv] 1476x900 => 1476x900 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel@goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x434d5658 (XVMC) planar
using Xvideo port 80 for hw scaling
INFO: Win32/DMO video codec init OK.
Selected video codec: [wmsdmod] vfm: dmo (Windows Media Screen Codec 2)
================================================== ========================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...

avg. framerate: 15 fps
*** [scale] Allocating mp_image_t, 1476x900x32bpp BGR packed, 5313600 bytes
*** [vo] Allocating mp_image_t, 1488x900x12bpp YUV planar, 2008800 bytes
Unicode font: 5025 glyphs.
Unicode font: 5025 glyphs.
Uninit video: dmo44% 51% 0.0% 0 0
vo: uninit ...

Exiting... (Quit)
daitarn@daitarn-laptop:~/Desktop$

andrew.46
March 8th, 2010, 09:13 PM
Hi motorhead,

I've run your commands and at the end the video started perfectly in MPlayer. strange, isn't ? don't know why I can't run it by right click and open with MPlayer...

Great news :). Have you opened the file with SMPlayer and then adjusted the Video Out device in the preferences? This should hopefully complete the circle and give you access to a modern MPlayer and a great gui for it as well...

Andrew

motorhead_1
March 9th, 2010, 09:52 AM
Hi!
I'm actually stuck in compiling SMPlayer. from the .txt file:

1) How to make a deb package
----------------------------
Be sure you have installed the following packages: libqt4-dev, zlib1g-dev,
fakeroot, build-essential, devscripts, debhelper and g++. Done

Now run ./create_deb.sh
daitarn@daitarn-laptop:~$ /home/daitarn/smplayer-0.6.9/create_deb.sh
cp: cannot stat `debian-rvm/changelog-orig': No such file or directory
/home/daitarn/smplayer-0.6.9/create_deb.sh: 6: ./get_svn_revision.sh: not found
rm: cannot remove `build-stamp': No such file or directory
rm: cannot remove `src/smplayer': No such file or directory
/usr/bin/fakeroot: line 176: debian/rules: No such file or directory
/usr/bin/fakeroot: line 176: debian/rules: No such file or directory
dh_clean: cannot read debian/control: No such file or directory

rm: cannot remove `debian-rvm/changelog': No such file or directory


what's wrong? I'm quite a newbie in these kind of things :redface:


2) How to make a rpm package
----------------------------
Run rpmbuild -tb smplayer-0.6.x.tar.bz2
You'll find the rpm pachage under /usr/src/packages/RPMS/i586/

Take a look at this document to know how to create a rpm from the SVN sources:
http://smplayer.berlios.de/forums/viewtopic.php?id=188


3) Generic compilation
----------------------
You need at least Qt 4.3 to compile smplayer. It won't work with an older
version.

Be sure you have installed the Qt 4 development package. Its name maybe
qt4-devel, libqt4-dev or similar.

Uncompress the source code, open a console and enter in the
smplayer-0.6.x directory.

Type "make".

If everything is ok now you can install it with "make install".
That will install smplayer in /usr/local.

If "make" fails, it's probably because the Qt 3 qmake has been used instead of
the Qt 4 one. It seems that some distros have renamed that tool to qmake-qt4.
Others may have installed in another directory.
Look at the contents of the qt4-devel package (or whatever its name is) and
find out where it is.

Now type something like this (just examples):
make QMAKE=qmake-qt4
or
make QMAKE=/usr/share/qt4/bin/qmake


4) Changing installation path
-----------------------------
By default smplayer will be installed in /usr/local. You can change it by
using PREFIX and DESTDIR.

Examples:
make PREFIX=/usr
make PREFIX=/usr install

That would install smplayer under /usr.

DESTDIR will be useful for package maintainers.

make PREFIX=/usr
make PREFIX=/usr DESTDIR=/tmp/ install

That would compile smplayer for /usr but in fact it will be installed in
/tmp/usr/

mc4man
March 9th, 2010, 10:28 AM
If you added the ppa then just install smplayer as suggested - sudo apt-get install smplayer

Rvm's 'create_deb.sh's' are actually very interesting little scripts and do work well, though I'm not sure of any advantage for the smplayer one.
(used to use the mplayer one, with a few changes to the rules file worked quite well, though haven't used in many months

If you wish to use or try this method for smplayer then you are at the wrong terminal prompt.

Simply download the smplayer source (smplayer-0.6.9.tar.bz) extract it and then in a terminal cd to the extracted source (smplayer-0.6.9

Then run the command and all should be well

Ex.of prompt
doug@doug-laptop:~/Downloads/smplayer-0.6.9$ ./create_deb.sh

motorhead_1
March 9th, 2010, 11:09 AM
I've followed the first and easiest way sudo apt-get install smplayer and I'm now watching the video with SMPlayer :D

andrew.46
March 9th, 2010, 04:59 PM
Hi motorhead,

I've followed the first and easiest way sudo apt-get install smplayer and I'm now watching the video with SMPlayer :D

I am glad that you have had the patience to pursue this matter, the result should be very worthwhile :).

Andrew

motorhead_1
March 9th, 2010, 06:18 PM
thanks again! :D

lykeion
March 16th, 2010, 08:22 PM
Hi
I still use Jaunty and have been following this guide successfully a couple of times earlier.
Thanks Andrew for this great guide :-)

But when I tried it today (using latest mplayer from svn, rev 30913) I got a error compiling mplayer,
and since I'm no compilation guru I turn to this thread for some help on why I can't compile.

Here's some info
OS: Ubuntu 9.04 Jaunty
Graphics driver: nvidia-glx-195.36-15
...
(I can provide more info if needed)

Attached is a text file of last 100 or so lines of the compile output
(where it starts to complain about undefined references for libavcodec.a (I think), and finally ends with an exit 1)

Thankful for any help...

PS I've tried to disable x264 and also disable mencoder altogether but to no success.

andrew.46
March 16th, 2010, 10:00 PM
Hi lykeon,

I still use Jaunty and have been following this guide successfully a couple of times earlier.
Thanks Andrew for this great guide :-)

It is my pleasure :). I will admit that I have been working with MPlayer and Ubuntu for a little too long now and I seem to have little else to contribute in this field but it is nice to have made a contribution...

But when I tried it today (using latest mplayer from svn, rev 30913) I got a error compiling mplayer

I get the same error and have for a day or so I suspect the best bet is to wait another day or so. If the situation is not rectified perhaps a trip to #mplayer might be worthwhile but usually the fault is rectified quickly...

All the best,

Andrew

andrew.46
March 17th, 2010, 07:16 AM
Hi lykeion,

Compilation succeeds again:


andrew@skamandros~/source/mplayer$ mplayer | head -n 1
MPlayer SVN-r30916-4.3.3 (C) 2000-2010 MPlayer Team


Andrew

Nisal
March 17th, 2010, 07:52 AM
thanks usefull in4 :)

lykeion
March 18th, 2010, 12:00 PM
Hi lykeion,

Compilation succeeds again

...

Andrew

Yes, now it works for me too :-)

Thanks Andrew for the quick response.

motorhead_1
April 6th, 2010, 07:08 AM
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net (http://ppa.launchpad.net/) karmic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C28F899060FD0E97
W: GPG error: http://ppa.launchpad.net (http://ppa.launchpad.net/) karmic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 015A66E603E02400

Doeas anyone know what are the keys to be added for those repositories?

LONDES
June 1st, 2010, 06:36 AM
How do I fix this?
~/mplayer$ sudo checkinstall -D --install=yes --fstrans=no --pakdir "$HOME/Desktop" --pkgname mplayer --backup=no --deldoc=yes --deldesc=yes --delspec=yes --default --pkgversion "3:1.0~svn-`grep "#define VERSION" version.h | cut -d"-" -f2`"

-snipped-
========================= Installation results ===========================
cc -MD -MP -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -D_REENTRANT -I/usr/include/directfb -I/usr/include/ -D_REENTRANT -I/usr/include/freetype2 -c -o libmpcodecs/vf_geq.o libmpcodecs/vf_geq.c
libmpcodecs/vf_geq.c: In function 'vf_open':
libmpcodecs/vf_geq.c:175: warning: initialization from incompatible pointer type
libmpcodecs/vf_geq.c:176: warning: initialization from incompatible pointer type
libmpcodecs/vf_geq.c:177: warning: initialization from incompatible pointer type
libmpcodecs/vf_geq.c:178: warning: initialization from incompatible pointer type
libmpcodecs/vf_geq.c:181: warning: passing argument 1 of 'ff_parse_expr' from incompatible pointer type
libmpcodecs/vf_geq.c:181: warning: passing argument 2 of 'ff_parse_expr' from incompatible pointer type
libmpcodecs/vf_geq.c:181: warning: passing argument 5 of 'ff_parse_expr' from incompatible pointer type
libmpcodecs/vf_geq.c:181: warning: passing argument 6 of 'ff_parse_expr' from incompatible pointer type
libmpcodecs/vf_geq.c:181: warning: passing argument 8 of 'ff_parse_expr' makes integer from pointer without a cast
libmpcodecs/vf_geq.c:181: error: too few arguments to function 'ff_parse_expr'
make: *** [libmpcodecs/vf_geq.o] Error 1

**** Installation failed. Aborting package creation.

cry8wolf9
November 9th, 2010, 09:22 PM
im having a problem installing the libopencore-amr i keep getting this


(Reading database ... 250987 files and directories currently installed.)
Unpacking libopencore-amr (from .../libopencore-amr_0.1.2-1_i386.deb) ...
dpkg: error processing /home/kyle/opencore-amr-0.1.2/libopencore-amr_0.1.2-1_i386.deb (--install):
trying to overwrite '/usr/lib/libopencore-amrwb.so.0.0.2', which is also in package libopencore-amrwb0 0.1.2-1
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/home/kyle/opencore-amr-0.1.2/libopencore-amr_0.1.2-1_i386.deb
/var/tmp/tmp.2I9AJ7bNPI/dpkginstall.log (END)

mc4man
November 9th, 2010, 10:40 PM
installing the libopencore-amr i keep getting this
libopencore-amr is already installed (note this how-to is for jaunty

either remove what's installed (search libopencore in synaptic), or don't bother with w/ compiling, installing the opencore libs

In that case just search libopencore and install the -dev package.

If you're using lucid you may find this more appropriate - (it's based on maverick but should still be okay for lucid

http://ubuntuforums.org/showthread.php?t=1542240

Start w/ the build-deps again, if somethings not found then it may just be a slight name change, so note it, remove from command and run the build-deps again.

cry8wolf9
November 9th, 2010, 11:26 PM
i am actually using Maverick Meerkat now i dont see libopencore-amr unless libopencore-amrnb-dev or libopencore-amrwb-dev is the same thing?

mc4man
November 10th, 2010, 12:32 AM
i am actually using Maverick Meerkat
Well then just follow the other how-to in above link, should work out fine. Pick up at the 2nd code box( installing build-deps)
If you look closely at the command you'll see this in it
libopencore-amrnb-dev libopencore-amrwb-dev