New issue 28 by zouchuangfei: Can not run demos/qmediaplayer/qmediaplayer
http://code.google.com/p/quarkplayer/issues/detail?id=28
What steps will reproduce the problem?
when I run demos/qmediaplayer/qmediaplayer,everything is ok, but after
I choose a music file, I get the following errors:
objectDescriptionIndexes
objectDescriptionProperties
objectDescriptionIndexes
objectDescriptionProperties
setAspectRatio Aspect ratio: 0
subtitleAdded
subtitleChanged New current subtitle: "None"
startConnectionChange
startConnectionChange Node: Phonon::MPlayer::AudioOutput
startConnectionChange Node: Phonon::MPlayer::MediaObject
connectNodes Phonon::MPlayer::MediaObject Phonon::MPlayer::AudioOutput
endConnectionChange
endConnectionChange Node: Phonon::MPlayer::AudioOutput
endConnectionChange Node: Phonon::MPlayer::MediaObject
startConnectionChange
startConnectionChange Node: Phonon::MPlayer::MediaObject
startConnectionChange Node: Phonon::MPlayer::VideoWidget
connectNodes Phonon::MPlayer::MediaObject Phonon::MPlayer::VideoWidget
endConnectionChange
endConnectionChange Node: Phonon::MPlayer::MediaObject
endConnectionChange Node: Phonon::MPlayer::VideoWidget
setSource Source: "/u02/QT/02/Sexy_Sexy_Lover.mp3"
loadMedia "/u02/QT/02/Sexy_Sexy_Lover.mp3"
MPlayerConfig Config
file: "/root/.config/phonon-mplayer/phonon-mplayer.conf"
MPLAYER start Process started: "mplayer" "quarkplayerfakename"
MPLAYER MPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
MPLAYER parse MPlayer version: "1.0rc2"
MPLAYER CPU: AMD Athlon(tm) II X2 245 Processor (Family: 16, Model: 6,
Stepping: 2)
MPLAYER CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
MPLAYER Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
SSE2
MPLAYER Playing quarkplayerfakename.
MPLAYER File not found: 'quarkplayerfakename'
MPLAYER Failed to open quarkplayerfakename.
MPLAYER Exiting... (End of file)
MPLAYER parseLine End of file detected
MPLAYER finished Bytes still available: 0
MPLAYER finished Process ended: exitCode: 0 exitStatus: 0
MPLAYER finished MPlayer process exited normally
play
subtitleAdded
subtitleChanged New current subtitle: "None"
MPLAYER readMediaSettings
static QStringList Phonon::MPlayer::MPlayerLoader::readMediaSettings()
Could not use MPlayer volume command line: your MPlayer version is too old
static QStringList Phonon::MPlayer::MPlayerLoader::readMediaSettings()
Could not disable MPlayer key bindings (shortcuts): your MPlayer version is
too old
MPLAYER
MPLAYER
MPLAYER
MPLAYER start Process started: "mplayer" "-noquiet -slave -identify
-msglevel demux=6 -framedrop -nokeepaspect -zoom -colorkey 0x020202
-monitorpixelaspect 1 -contrast 0 -brightness 0 -hue 0 -saturation 0
-prefer-ipv4 -ass -embeddedfonts -nomouseinput -sub-fuzziness 1 -input
-include ~/.mplayer/config -wid 52428832 /u02/QT/02/Sexy_Sexy_Lover.mp3"
MPLAYER MPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
MPLAYER CPU: AMD Athlon(tm) II X2 245 Processor (Family: 16, Model: 6,
Stepping: 2)
MPLAYER CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
MPLAYER Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
SSE2
MPLAYER Option input: Unknown suboption -include
MPLAYER Error parsing option on the command line: -input
MPLAYER finished Bytes still available: 0
MPLAYER finished Process ended: exitCode: 1 exitStatus: 0
MPLAYER finished Error: MPlayer crashed
stateChangedInternal ErrorState
startConnectionChange
startConnectionChange Node: Phonon::MPlayer::AudioOutput
startConnectionChange Node: Phonon::MPlayer::MediaObject
disconnectNodes Source: Phonon::MPlayer::MediaObject sink:
Phonon::MPlayer::AudioOutput
endConnectionChange
endConnectionChange Node: Phonon::MPlayer::AudioOutput
endConnectionChange Node: Phonon::MPlayer::MediaObject
startConnectionChange
startConnectionChange Node: Phonon::MPlayer::MediaObject
startConnectionChange Node: Phonon::MPlayer::VideoWidget
disconnectNodes Source: Phonon::MPlayer::MediaObject sink:
Phonon::MPlayer::VideoWidget
endConnectionChange
endConnectionChange Node: Phonon::MPlayer::MediaObject
endConnectionChange Node: Phonon::MPlayer::VideoWidget
The messages may be a little too long, but I think the errors may be in
these lines:
MPLAYER Playing quarkplayerfakename.
MPLAYER File not found: 'quarkplayerfakename'
MPLAYER Failed to open quarkplayerfakename.
...
MPLAYER Option input: Unknown suboption -include
MPLAYER Error parsing option on the command line: -input
...
I have try my best to solve these problems, but I still have no idea.
Look forward to any suggestions or help. Forgive for my poor english, Thank
you.
What version of the product are you using? On what operating system?
QT:QT-4.6.3
phonon_backend:phonon-mplayer
mplayer:1.0rc2-4.1.2
operating system:Red Hat Enterprise Linux Server release 5.1
kernel:2.6.18-53.el5xen
Comment #1 on issue 28 by tkrotoff: Can not run
demos/qmediaplayer/qmediaplayer
http://code.google.com/p/quarkplayer/issues/detail?id=28
The following MPlayer line:
"Error parsing option on the command line: -input"
explains the issue.
MPlayer -input option only appeared in recent MPlayer releases. Yours is
from 2007 referring to RHEL 5.1 release date.
I advice to update your MPlayer version. Anyway -input option should be
disabled in your case and this is fixed now, see: r1322
http://gitorious.org/phonon/phonon-mplayer/commit/19c0ac52ecce19d157f1dae130f4cb32af4bf37b
How can I update my MPlayer version? Just download another later version?
whether should I download from this
website:http://www.mplayerhq.hu/MPlayer/releases/
By the way, I have downloaded the MPlayer releases: MPlayer-1.0rc3.tar.gz
from above site, after compliling and running the demo, I get other new
errors like this:
MPLAYER MPlayer 1.0rc3-4.1.2 (C) 2000-2009 MPlayer Team
MPLAYER parse MPlayer version: "1.0rc3"
Error: unknown MPlayer version
Error: couldn't parse MPlayer revision: "1.0rc3"
In the last, I have a doubt:
MPLAYER Playing quarkplayerfakename.
MPLAYER File not found: 'quarkplayerfakename'
MPLAYER Failed to open quarkplayerfakename.
it doesn't mean there have a problem?
Hi,
How to update MPlayer? good question, the best is to find updated rpm
designed for your specific distribution. If you cannot find some try to
find a generic MPlayer binary release. Otherwise you will have to compile
MPlayer like you did.
Keep in mind RHEL 5.1 is pretty old (2007) in the Linux world + the
distribution is not designed for multimedia nor a classic desktop usage. It
is more of a stable distribution to install on a server from what I've
understood.
The following lines are OK:
"Playing quarkplayerfakename.
File not found: 'quarkplayerfakename'"
The very first time MPlayer is being run a fake filename
(quarkplayerfakename) is given in order to determine MPlayer version number.
The specific version 1.0rc3 is not recognized because I forgot to add it to
the list of MPlayer releases, see r1324 for the fix.
Anyway, even if 1.0rc3 release was not detected by phonon-mplayer, the file
should still play (do it?). Could you please provide the entire log (as an
attached file).
Comment #4 on issue 28 by tkrotoff: Can not run
demos/qmediaplayer/qmediaplayer
http://code.google.com/p/quarkplayer/issues/detail?id=28
(No comment was entered for this change.)