frank90psi / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
GNU General Public License v2.0
0 stars 0 forks source link

many mplayer instances #320

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Sometimes it start a more than one mplayer in background and all of them
try to showing a video in window.

Original issue reported on code.google.com by dimitrov...@gmail.com on 15 Nov 2009 at 8:13

GoogleCodeExporter commented 8 years ago
please post log "gnome-mplayer -v"

Original comment by kdeko...@gmail.com on 15 Nov 2009 at 2:03

GoogleCodeExporter commented 8 years ago
e01@ma3x:~$ gnome-mplayer -v
GNOME MPlayer v0.9.9
vo = gl ao = alsa
Running in single instance mode
Running with GIO support
Running with panscan enabled (mplayer svn r29565 or higher required)
Master Playback is 1
Master Range is 0 to 31 
Master Current Volume 31, multiplier = 3.225806
Scaled Volume is 100.000001
Using volume of 100.00
Using softvol, since remember_softvol is enabled volume will be set to 100% of 
100%
/home/e01/.themes/Aurora Leopard BSM/gtk-2.0/gtkrc:468: error: unexpected 
keyword
`bg', expected string constant
Using match: type='signal',interface='com.gnome.mplayer'
Using match: type='signal',interface='org.gnome.SettingsDaemon'
Proxy connections and Command connected
adding
file:///mnt/store1/media/movies/Star%20Trek%20-%20Enterprise/Star%20Trek%20-%20E
nterprise%20(season2)/Enterprise%20-%202x04%20-%20Dead%20Stop%20(DVD).avi
to playlist (cancel = 0)
getting file metadata for /mnt/store1/media/movies/Star Trek - Enterprise/Star 
Trek -
Enterprise (season2)/Enterprise - 2x04 - Dead Stop (DVD).avi
parse playlist = 1

(gnome-mplayer:10908): Gtk-CRITICAL **: gtk_list_store_get_path: assertion
`iter->stamp == GTK_LIST_STORE (tree_model)->stamp' failed
opening playlist
playlist detection = 0
adding
file:///mnt/store1/media/movies/Star%20Trek%20-%20Enterprise/Star%20Trek%20-%20E
nterprise%20(season2)/Enterprise%20-%202x01%20-%20Shockwave%20(PT.2)%20(DVD).avi
to playlist (cancel = 0)
getting file metadata for /mnt/store1/media/movies/Star Trek - Enterprise/Star 
Trek -
Enterprise (season2)/Enterprise - 2x01 - Shockwave (PT.2) (DVD).avi

(gnome-mplayer:10908): Gtk-CRITICAL **: gtk_list_store_get_path: assertion
`iter->stamp == GTK_LIST_STORE (tree_model)->stamp' failed
playing -
file:///mnt/store1/media/movies/Star%20Trek%20-%20Enterprise/Star%20Trek%20-%20E
nterprise%20(season2)/Enterprise%20-%202x01%20-%20Shockwave%20(PT.2)%20(DVD).avi
is playlist 0
current size = 0 x 0 
Changing window size to 576 x 320 visible = 1
mplayer -profile gnome-mplayer -afm hwac3, -quiet -slave -identify -softvol 
-volume
100 -mixer-channel Master -framedrop -noconsolecontrols -noidle -osdlevel 0
-nomouseinput -cache 20432 -wid 0x500005a -fs -ss 0 -ass -noembeddedfonts
-ass-force-style FontName=Aquabase-spanish-support
Medium,Italic=0,Bold=0,Outline=0,Shadow=0 -ass-font-scale 1.95 -ass-color 
ffffff00
-subcp CP1251 -channels 2 -vf-add scale=0:0,expand=:::::16/9,harddup -ass
-ass-line-spacing -10 -ass-force-style MarginV=2 -subfont-blur 4 -vf-add 
screenshot
-dvd-device /dev/dvd /mnt/store1/media/movies/Star Trek - Enterprise/Star Trek -
Enterprise (season2)/Enterprise - 2x01 - Shockwave (PT.2) (DVD).avi 
Spawn succeeded for filename /mnt/store1/media/movies/Star Trek - 
Enterprise/Star
Trek - Enterprise (season2)/Enterprise - 2x01 - Shockwave (PT.2) (DVD).avi
current size = 248 x 321 
MPlayer r29390-4.3.3 (C) 2000-2009 MPlayer Team

Playing /mnt/store1/media/movies/Star Trek - Enterprise/Star Trek - Enterprise
(season2)/Enterprise - 2x01 - Shockwave (PT.2) (DVD).avi.
Cache fill: 11.47% (2400256 bytes)   
AVI file format detected.
ID_VIDEO_ID=0
[aviheader] Video stream found, -vid 0
ID_AUDIO_ID=1
[aviheader] Audio stream found, -aid 1
VIDEO:  [XVID]  576x320  16bpp  25.000 fps  1051.7 kbps (128.4 kbyte/s)
Clip info:
 Software: VirtualDubMod 1.5.10.1 (build 2366/release)
ID_CLIP_INFO_NAME0=Software
ID_CLIP_INFO_VALUE0=VirtualDubMod 1.5.10.1 (build 2366/release)
ID_CLIP_INFO_N=1
dvdsublang...enterprise 2x01 shockwave pt 2 dvd bulgarian bul bg
dvdsublang...enterprise 2x01 shockwave pt 2 dvd bulgarian bul bg
dvdsublang...enterprise 2x01 shockwave pt 2 dvd bulgarian bul bg
dvdsublang...enterprise 2x01 shockwave pt 2 dvd bulgarian bul bg
dvdsublang...enterprise 2x01 shockwave pt 2 dvd bulgarian bul bg
dvdsublang...enterprise 2x01 shockwave pt 2 dvd bulgarian bul bg
dvdsublang...enterprise 2x01 shockwave pt 2 dvd bulgarian bul bg
dvdsublang...enterprise 2x01 shockwave pt 2 dvd bulgarian bul bg
dvdsublang...enterprise 2x01 shockwave pt 2 dvd bulgarian bul bg
ID_FILE_SUB_ID=0
ID_FILE_SUB_FILENAME=/mnt/store1/media/movies/Star Trek - Enterprise/Star Trek -
Enterprise (season2)/Enterprise - 2x01 - Shockwave (PT.2) (DVD).srt
SUB: Added subtitle file (1): /mnt/store1/media/movies/Star Trek - 
Enterprise/Star
Trek - Enterprise (season2)/Enterprise - 2x01 - Shockwave (PT.2) (DVD).srt
ID_FILENAME=/mnt/store1/media/movies/Star Trek - Enterprise/Star Trek - 
Enterprise
(season2)/Enterprise - 2x01 - Shockwave (PT.2) (DVD).avi
ID_DEMUXER=avi
ID_VIDEO_FORMAT=XVID
ID_VIDEO_BITRATE=1051712
ID_VIDEO_WIDTH=576
ID_VIDEO_HEIGHT=320
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=126288
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=2465.16
ID_SEEKABLE=1
ID_CHAPTERS=0
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
ERROR: Couldn't open video filter 'ass'.
Opening video filter: [scale]
ERROR: ASS: cannot add video filter
Opening video filter: [screenshot]
Opening video filter: [harddup]
Opening video filter: [expand aspect=16/9]
Expand: -1 x -1, -1 ; -1, osd: 0, aspect: 1.777778, round: 1
Opening video filter: [scale w=0 h=0]
[ass] Init
[ass] Updating font cache.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
ID_VIDEO_CODEC=ffodivx
==========================================================================
Trying to force audio codec driver family hwac3...
Trying to force audio codec driver family ...
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=mp3
[Mixer] No hardware mixing, inserting volume filter.
Starting playback...
VDec: vo config request - 576 x 320 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.80:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.8000
[swscaler @ 0x8a15c40]using unscaled yuv420p -> rgb32 special converter
VO: [gl] 576x324 => 576x324 BGRA  [fs]
Resizing to 576 x 324
setting subtitle source to file
current size = 248 x 321 
ERROR: X11 error: BadMatch (invalid parameter attributes)
ERROR: [ass] PlayResX undefined, setting 223.
ANS_switch_audio is invalid -1
ANS_switch_audio is invalid -1
[ass] Glyph 0x412 not found, selecting one more font for (Sans, 80, 0)

Original comment by dimitrov...@gmail.com on 23 Jan 2010 at 10:10

GoogleCodeExporter commented 8 years ago
and ps out :)

e01@ma3x:~$ ps x|grep mplayer
10908 pts/6    Sl+    0:00 gnome-mplayer -v
10932 pts/6    SL+    0:01 mplayer -profile gnome-mplayer -afm hwac3, -quiet 
-slave
-identify -softvol -volume 100 -mixer-channel Master -framedrop 
-noconsolecontrols
-noidle -osdlevel 0 -nomouseinput -cache 20432 -wid 0x500005a -fs -ss 0 -ass
-noembeddedfonts -ass-force-style FontName=Aquabase-spanish-support
Medium,Italic=0,Bold=0,Outline=0,Shadow=0 -ass-font-scale 1.95 -ass-color 
ffffff00
-subcp CP1251 -channels 2 -vf-add scale=0:0,expand=:::::16/9,harddup -ass
-ass-line-spacing -10 -ass-force-style MarginV=2 -subfont-blur 4 -vf-add 
screenshot
-dvd-device /dev/dvd /mnt/store1/media/movies/Star Trek - Enterprise/Star Trek -
Enterprise (season2)/Enterprise - 2x01 - Shockwave (PT.2) (DVD).avi
10933 pts/6    S+     0:00 mplayer -profile gnome-mplayer -afm hwac3, -quiet 
-slave
-identify -softvol -volume 100 -mixer-channel Master -framedrop 
-noconsolecontrols
-noidle -osdlevel 0 -nomouseinput -cache 20432 -wid 0x500005a -fs -ss 0 -ass
-noembeddedfonts -ass-force-style FontName=Aquabase-spanish-support
Medium,Italic=0,Bold=0,Outline=0,Shadow=0 -ass-font-scale 1.95 -ass-color 
ffffff00
-subcp CP1251 -channels 2 -vf-add scale=0:0,expand=:::::16/9,harddup -ass
-ass-line-spacing -10 -ass-force-style MarginV=2 -subfont-blur 4 -vf-add 
screenshot
-dvd-device /dev/dvd /mnt/store1/media/movies/Star Trek - Enterprise/Star Trek -
Enterprise (season2)/Enterprise - 2x01 - Shockwave (PT.2) (DVD).avi

Original comment by dimitrov...@gmail.com on 23 Jan 2010 at 10:13

GoogleCodeExporter commented 8 years ago
Perfectly normal, when mplayer is embedded it appears as two tasks. Also, it is
launched at least once to get the metadata from the file.

Original comment by kdeko...@gmail.com on 24 Jan 2010 at 12:03

GoogleCodeExporter commented 8 years ago
heh ok
i was thinked thats some anormal in my system

Original comment by dimitrov...@gmail.com on 24 Jan 2010 at 8:03

GoogleCodeExporter commented 8 years ago
Sometimes when changing songs and/or togling loop/shuffle too much, g.m. lefts 
some 
mplayer instance on background, so i can hear two different songs at time.

(maybe cool feature, but there's no way to disable it when it's not wanted :-)

Original comment by Harvi...@gmail.com on 18 Mar 2010 at 11:05

GoogleCodeExporter commented 8 years ago
HarvieCZ,

Might want to see if you can get a newer version of mplayer, some older versions
exhibit this behavior. You can also try upgrading to 0.9.9.2

Original comment by kdeko...@gmail.com on 18 Mar 2010 at 12:43

GoogleCodeExporter commented 8 years ago
kdekorte: i already have 0.9.9.2 for few weeks...

Original comment by Harvi...@gmail.com on 19 Mar 2010 at 10:59

GoogleCodeExporter commented 8 years ago
I'm still getting this behaviour on v1.0.0.

Sometimes (more often that not when I already have gnome-mplayer open), 
launching a video from the nautilus desktop results in an apparent audio echo. 
Audio is being played out of sync by two spawned mplayer processes. Quitting 
gnome-mplayer results in one audio track continuing to play in the background. 
Stopping it requires issuing a 'killall mplayer' in a terminal.

Original comment by metamorf...@gmail.com on 1 Dec 2010 at 8:37

GoogleCodeExporter commented 8 years ago
Can you disable single instance mode?

Original comment by kdeko...@gmail.com on 1 Dec 2010 at 1:40

GoogleCodeExporter commented 8 years ago
Yep, that seems to work fine for now, though confusingly retaining 
single-instance behaviour.

Original comment by metamorf...@gmail.com on 7 Dec 2010 at 8:38

GoogleCodeExporter commented 8 years ago
I've been testing the single instance mode option for a few minutes here. But 
with and without the replace option set. So far I can't seem to duplicate the 
crash you are seeing. Can you type up a sequence that causes the error every 
time for you? And include what options you have, and if the files are audio or 
video? Thanks..

Original comment by kdeko...@gmail.com on 7 Dec 2010 at 1:45

GoogleCodeExporter commented 8 years ago
I believe this could be fixed in current SVN, I found a case where a variable 
was being reset at the wrong time. That fix may help here.

Original comment by kdeko...@gmail.com on 4 Apr 2011 at 2:34

GoogleCodeExporter commented 8 years ago

Original comment by kdeko...@gmail.com on 11 Dec 2011 at 4:27