mario0alberto1 / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
0 stars 0 forks source link

problems with GUI - svn version #577

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
with new versions of MPlayer and gnome-mplayer+gtmk (all svn repo) have i 
problems when playing music files - mp3/flac specifically.

Gnome-mplayer starts, starts to play music, but icons forward, backward are 
unresponsive and i can not stop playing or give pause. instead of showing the 
length of the song is just reads "loading..." (but mplayer plays file). The log 
i see no error, nothing. (compiled with support GTK3).

Original issue reported on code.google.com by m...@centrum.cz on 16 Nov 2011 at 3:27

GoogleCodeExporter commented 8 years ago
run gnome-mplayer -v from a terminal and you should see some output and then 
post it here when playing a problem file.

Original comment by kdeko...@gmail.com on 16 Nov 2011 at 3:28

GoogleCodeExporter commented 8 years ago
gmtk-svn 65-1
gnome-mplayer-svn 2185-1
gtk 3.2.2

problems on gtk2, gtk3 version

gmtk compiled with:
./configure --prefix=/usr --sysconfdir=/etc --with-pulseaudio 
--enable-gsettings --disable-gconf

gnome-mplayer compiled with:
./configure --prefix=/usr --sysconfdir=/etc --enable-gtk3 --with-libnotify 
--with-pulseaudio --with-dbus --with-gio

and post_install:
    usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
    gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
    update-desktop-database -q
    update-mime-database usr/share/mime > /dev/null

in attachment you can see what it looks like gnome-mplayer when it plays 
(mplayer.png)

Original comment by m...@centrum.cz on 16 Nov 2011 at 4:32

Attachments:

GoogleCodeExporter commented 8 years ago
Ok, first of all all those configure commands are probably not needed. 
Configure should detect them properly.

Read this post on how to compile
http://kdekorte.blogspot.com/2011/10/105b1-of-gmtk-gnome-mplayer-and-gecko.html

Second I have attached a screen shot of the file playing properly here. It 
appears you did not compile with libcurl and libmusicbrainz so you will not get 
the cover art.

Third, does mplayer play the mp3 file? I'm guessing that there is something 
wrong with your installed mplayer

For me mplayer will play it fine

mplayer Downloads/Mussorgsky\ -\ Pictures\ at\ an\ Exhibition\ _Promenade_.mp3 
MPlayer SVN-r34343-4.6.1 (C) 2000-2011 MPlayer Team
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.

Playing Downloads/Mussorgsky - Pictures at an Exhibition _Promenade_.mp3.
Audio only file format detected.
Clip info:
 Title: Mussorgsky - Pictures at an Ex
 Artist: 
 Album: Classical Greats
 Year: 
 Comment: 
 Genre: Unknown
Load subtitles in Downloads/
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 44100 Hz, 2 ch, s16le, 320.0 kbit/22.68% (ratio: 40000->176400)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
==========================================================================
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   6.6 (06.6) of 104.0 (01:44.0)  0.5% 

Exiting... (Quit)

I have attached my log of this file as well...

gnome-mplayer Downloads/Mussorgsky\ -\ Pictures\ at\ an\ Exhibition\ 
_Promenade_.mp3 
GNOME MPlayer v1.0.5b1
gmtk v1.0.5b1
Running with GIO support
Using audio device: Internal Audio Analog Stereo (PulseAudio)
opening Downloads/Mussorgsky - Pictures at an Exhibition _Promenade_.mp3
is block 0
is character 0
is reg 1
is dir 0
playlist 0
embedded in window id 0x0
opening playlist
playlist detection = 0
adding 
file:///home/kdekorte/Downloads/Mussorgsky%20-%20Pictures%20at%20an%20Exhibition
%20_Promenade_.mp3 to playlist (cancel = 0)
getting file metadata for /home/kdekorte/Downloads/Mussorgsky - Pictures at an 
Exhibition _Promenade_.mp3
mplayer -vo null -ao null -nomsgcolor -nomsgmodule -frames 0 -noidx -identify 
-nocache -noidle -dvd-device /dev/sr0 /home/kdekorte/Downloads/Mussorgsky - 
Pictures at an Exhibition _Promenade_.mp3 
The volume on 'Internal Audio Analog Stereo (PulseAudio)' is 0.469391
Using match: type='signal',interface='com.gnome.mplayer'
Using match: type='signal',interface='org.gnome.SettingsDaemon'
Using match: type='signal',interface='org.gnome.SettingsDaemon.MediaKeys'
Proxy connections and Command connected
playing - 
file:///home/kdekorte/Downloads/Mussorgsky%20-%20Pictures%20at%20an%20Exhibition
%20_Promenade_.mp3
is playlist 0
Looking for cover art at /home/kdekorte/Downloads/cover.jpg
Looking for cover art at /home/kdekorte/Downloads/Folder.jpg
setting up mplayer
mplayer -vo gl_nosw -vf-pre yadif,softskip,scale -vf-add pp=ac/tn:a -autoq 2 
-vf-add screenshot -ao pulse::1 -channels 2 -af-add 
export=/tmp/mplayer-af_exportyyuhjw:512 -quiet -slave -noidle 
-noconsolecontrols -nostop-xscreensaver -identify -msglevel all=5 -osdlevel 1 
-delay 0.000000 -subdelay 0.000000 -subpos 0 -sub-fuzziness 0 -wid 0x4c00023 
-brightness 0 -contrast 0 -hue 0 -saturation 0 -alang English,eng,en -slang 
English,eng,en -nomsgcolor -nomsgmodule -nokeepaspect -ass -embeddedfonts 
-ass-font-scale 1.20 -ass-color ffffff00 /home/kdekorte/Downloads/Mussorgsky - 
Pictures at an Exhibition _Promenade_.mp3 
MPlayer SVN-r34343-4.6.1 (C) 2000-2011 MPlayer Team
ERROR: mplayer: could not connect to socket
ERROR: mplayer: No such file or directory

ERROR: Failed to open LIRC support. You will not be able to use your remote 
control.
Playing /home/kdekorte/Downloads/Mussorgsky - Pictures at an Exhibition 
_Promenade_.mp3.
ID_AUDIO_ID=0
Audio only file format detected.
Clip info:
 Title: Mussorgsky - Pictures at an Ex
ID_CLIP_INFO_NAME0=Title
ID_CLIP_INFO_VALUE0=Mussorgsky - Pictures at an Ex
 Artist: 
ID_CLIP_INFO_NAME1=Artist
ID_CLIP_INFO_VALUE1=
 Album: Classical Greats
ID_CLIP_INFO_NAME2=Album
ID_CLIP_INFO_VALUE2=Classical Greats
 Year: 
ID_CLIP_INFO_NAME3=Year
ID_CLIP_INFO_VALUE3=
 Comment: 
ID_CLIP_INFO_NAME4=Comment
ID_CLIP_INFO_VALUE4=
 Genre: Unknown
ID_CLIP_INFO_NAME5=Genre
ID_CLIP_INFO_VALUE5=Unknown
ID_CLIP_INFO_N=6
Load subtitles in /home/kdekorte/Downloads/
ID_FILENAME=/home/kdekorte/Downloads/Mussorgsky - Pictures at an Exhibition 
_Promenade_.mp3
ID_DEMUXER=audio
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=320072
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=0
ID_START_TIME=0.00
ID_LENGTH=104.00
ID_SEEKABLE=1
ID_CHAPTERS=0
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 44100 Hz, 2 ch, s16le, 320.0 kbit/22.68% (ratio: 40000->176400)
ID_AUDIO_BITRATE=320000
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
==========================================================================
[export] Exporting to file: /tmp/mplayer-af_exportyyuhjw
[export] Memory mapped to file: /tmp/mplayer-af_exportyyuhjw (0x7f78ef3d7000)
[export] Exporting to file: /tmp/mplayer-af_exportyyuhjw
[export] Memory mapped to file: /tmp/mplayer-af_exportyyuhjw (0x7f78ef3d7000)
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
[export] Exporting to file: /tmp/mplayer-af_exportyyuhjw
[export] Memory mapped to file: /tmp/mplayer-af_exportyyuhjw (0x7f78ef3d7000)
[export] Exporting to file: /tmp/mplayer-af_exportyyuhjw
[export] Memory mapped to file: /tmp/mplayer-af_exportyyuhjw (0x7f78ef3d7000)
ID_AUDIO_CODEC=mpg123
Video: no video
in media state change with state = 1
Starting playback...

Original comment by kdeko...@gmail.com on 16 Nov 2011 at 7:11

Attachments:

GoogleCodeExporter commented 8 years ago
I try to compile according to your line.

With mplayer2 gnome-mplayer works perfectly without any problems.

Original comment by m...@centrum.cz on 17 Nov 2011 at 2:34

GoogleCodeExporter commented 8 years ago
Appears to be fixed, so closing

Original comment by kdeko...@gmail.com on 24 Oct 2012 at 12:22

GoogleCodeExporter commented 8 years ago
hi, i've a mplayer compiled by me using the svn version and gnome-mplayer 1.0.8 
from the debian repo
and i still have this problem with mp3 and ogg

i can sikp forward and back, with the arrow, but no pause and the time playing 
doesn't work as said in the first post

i'll attach the output of the command:

Original comment by f.pie...@gmail.com on 12 Feb 2014 at 6:51

Attachments:

GoogleCodeExporter commented 8 years ago
if you run mplayer from the command line, can you use the arrow keys to skip 
around the file? Also maybe try setting the locale on the command line

LANG=en_US.utf8 gnome-mplayer

If that works, we might have a parsing error somewhere. As it seems the 
messages in mplayer are localized which may be the reason why you are having 
issues.

Original comment by kdeko...@gmail.com on 12 Feb 2014 at 8:20

GoogleCodeExporter commented 8 years ago
ok, i've tried recompile mplayer with en language, and now gnome-mplayer work 
...

so.. there's a problem parsing string with different language, can i help in 
any ways to add this multi-language support?

Original comment by f.pie...@gmail.com on 13 Feb 2014 at 9:28

GoogleCodeExporter commented 8 years ago
I think there are two places in the gmtk (gmtk_media_player.c) in thread_reader 
that are affected by localized versions of mplayer.

The first place is around line 3364
if (strstr(mplayer_output->str, "Cache fill") != 0) {

The second place is around line 3409
if (strstr(mplayer_output->str, "Video: no video") != NULL) {

Which I think is the line that affected you.. I don't see mplayer issuing any 
other command that says that playback has started, but there is no video 
present. Probably the best place to start would be a patch to mplayer that 
displays a message in that is not translated and is not shown unless it is in 
slave mode. Once that patch is added to mplayer, then we could add a test for 
it in gmtk.

Original comment by kdeko...@gmail.com on 17 Feb 2014 at 3:33