AJ0707 / gnome-mplayer

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

Pause --- Resume Fails on Xubuntu 11.10 #580

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Play a movie .mkv, avi
2. Pause playback with spacebar
3. Wait 5 minutes and press spacebar to resume

What is the expected output? What do you see instead?

Playback resumes for what seems to be a fraction of a second and stops. To 
resume I need to press the left arrow key. This moves the slider representing 
the time elapsed to the 00:00 (start) but playback carries on from just before 
the original pause position and the slider then updates to the correct resume 
position.

Problem is with pause -- resume 

What version of the product are you using? On what operating system?
xubuntu 11.10
gnome-mplayer 1.0.4
MPlayer SVN-r33713-4.6.1
3.0.0-13-generic #22-Ubuntu SMP
ATI flgrx closed source driver with ATI 5750
Pulseaudio with M-Audio 2496

Please provide any additional information below.

Set to Alsa audio output and GL2 Video output.

Not a major problem but a bug non the less.

Original issue reported on code.google.com by david.dm...@gmail.com on 1 Dec 2011 at 11:18

GoogleCodeExporter commented 8 years ago
Can you try either 1.0.5b1 or the SVN code, as alot of the code was reworked. 
But there may be some seeking issues still.

Build instructions are here:

http://kdekorte.blogspot.com/2011/10/105b1-of-gmtk-gnome-mplayer-and-gecko.html

Original comment by kdeko...@gmail.com on 2 Dec 2011 at 4:44

GoogleCodeExporter commented 8 years ago
The seeking issue has been fixed in SVN (gmtk)

Original comment by kdeko...@gmail.com on 2 Dec 2011 at 1:43

GoogleCodeExporter commented 8 years ago
Ok, thanks. I found a ppa for ubuntu so have used the built version.

https://launchpad.net/~brandonsnider/+archive/gnome-mplayer-dev?field.series_fil
ter=oneiric

Original comment by david.dm...@gmail.com on 2 Dec 2011 at 7:58

GoogleCodeExporter commented 8 years ago
BTW, yes still some seeking issues. If you click on the seek bar to move to a 
position the bar control sometimes does not fix under the mouse cursor but ends 
up somewhere else, left or right of the click.

Original comment by david.dm...@gmail.com on 2 Dec 2011 at 8:03

GoogleCodeExporter commented 8 years ago
Yes, and that is the problem I fixed this morning.

Original comment by kdeko...@gmail.com on 2 Dec 2011 at 8:06

GoogleCodeExporter commented 8 years ago
Now running 1.0.5b2 and pause resume still not working. If you pause with 
space, wait some minutes and press space again, it does not resume.

Original comment by david.dm...@gmail.com on 4 Dec 2011 at 11:24

GoogleCodeExporter commented 8 years ago
Can you run gnome-mplayer -v from a terminal and see if there is any error 
message. You can paste it in here and I will examine if needed. I normally do 
this type of activity. I'll watch a video, have to pause to take a call and 
resume, so I don't believe I have experienced this issue.

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

GoogleCodeExporter commented 8 years ago
Here is the terminal output on an mkv movie. The pause --resume fail output is 
the media state change warning(s) at the end of this output.

GNOME MPlayer v1.0.5b2
gmtk v1.0.5b2
Running in single instance mode
Running with GIO support
Using audio device: ALSA
The volume on 'ALSA' is 1.000000
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
opening playlist
playlist detection = 0
adding file:///home/david/media/movies/colombiana-2011-720p.mkv to playlist 
(cancel = 0)
getting file metadata for /home/david/media/movies/colombiana-2011-720p.mkv
mplayer -vo null -ao null -nomsgcolor -nomsgmodule -frames 0 -noidx -identify 
-nocache -noidle -dvd-device /dev/dvd 
/home/david/media/movies/colombiana-2011-720p.mkv 
playing - file:///home/david/media/movies/colombiana-2011-720p.mkv
is playlist 0
Looking for cover art at /home/david/media/movies/cover.jpg
Looking for cover art at /home/david/media/movies/Folder.jpg
setting up mplayer
mplayer -vo gl_nosw -vf-add screenshot -ao alsa -channels 2 -af-add 
export=/tmp/mplayer-af_exportulmbvb:512 -quiet -slave -noidle 
-noconsolecontrols -nostop-xscreensaver -identify -volume 100 -softvol 
-msglevel all=5 -osdlevel 0 -delay 0.000000 -subdelay 0.000000 -subpos 0 
-sub-fuzziness 0 -wid 0x240002b -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.00 -ass-color ffffff00 
/home/david/media/movies/colombiana-2011-720p.mkv 
ERROR: mplayer: Symbol `ff_codec_bmp_tags' has different size in shared object, 
consider re-linking
MPlayer SVN-r33713-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/david/media/movies/colombiana-2011-720p.mkv.
libavformat file format detected.
ERROR: [matroska,webm @ 0x21cf6e0] Estimating duration from bitrate, this may 
be inaccurate
ID_VIDEO_ID=0
[lavf] stream 0: video (h264), -vid 0
ID_AUDIO_ID=0
ID_AID_0_LANG=eng
[lavf] stream 1: audio (ac3), -aid 0, -alang eng
VIDEO:  [H264]  1280x544  0bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
Load subtitles in /home/david/media/movies/
ID_FILENAME=/home/david/media/movies/colombiana-2011-720p.mkv
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=H264
Setting to minimum size so that mplayer has something to draw to
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=1280
ID_VIDEO_HEIGHT=544
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=2.3529
ID_AUDIO_FORMAT=8192
ID_AUDIO_BITRATE=448000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=6
ID_START_TIME=0.00
ID_LENGTH=6207.36
ID_SEEKABLE=1
ID_CHAPTERS=0
ERROR: X11 error: BadMatch (invalid parameter attributes)
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
Opening video filter: [ass auto=1]
ERROR: Couldn't open video filter 'ass'.
Opening video filter: [screenshot]
ERROR: ASS: cannot add video filter
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
ID_AUDIO_BITRATE=448000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
[export] Exporting to file: /tmp/mplayer-af_exportulmbvb
[export] Memory mapped to file: /tmp/mplayer-af_exportulmbvb (0x7f85b6317000)
[export] Exporting to file: /tmp/mplayer-af_exportulmbvb
[export] Memory mapped to file: /tmp/mplayer-af_exportulmbvb (0x7f85b6317000)
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
[export] Exporting to file: /tmp/mplayer-af_exportulmbvb
[export] Memory mapped to file: /tmp/mplayer-af_exportulmbvb (0x7f85b6317000)
[export] Exporting to file: /tmp/mplayer-af_exportulmbvb
[export] Memory mapped to file: /tmp/mplayer-af_exportulmbvb (0x7f85b6317000)
ID_AUDIO_CODEC=ffac3
[Mixer] No hardware mixing, inserting volume filter.
[export] Exporting to file: /tmp/mplayer-af_exportulmbvb
[export] Memory mapped to file: /tmp/mplayer-af_exportulmbvb (0x7f85b6317000)
[export] Exporting to file: /tmp/mplayer-af_exportulmbvb
[export] Memory mapped to file: /tmp/mplayer-af_exportulmbvb (0x7f85b6317000)
Starting playback...
ERROR: Unsupported PixelFormat 61
ERROR: Unsupported PixelFormat 53
Movie-Aspect is 2.35:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=2.3529
[swscaler @ 0x7f85c609f4c0]using unscaled yuv420p -> rgb24 special converter
VO: [gl_nosw] 1280x544 => 1280x544 Planar YV12 
in media state change with state = 1
ERROR: X11 error: BadMatch (invalid parameter attributes)
current size = 396 x 46 
Changing window size to 1280 x 544 visible = 1
current size = 1280 x 544 
Changing window size to 1280 x 544 visible = 1
ERROR: Failed to get value of property 'sub_source'.
in media state change with state = 2
in media state change with state = 1
in media state change with state = 2
in media state change with state = 1
in media state change with state = 2
in media state change with state = 1
ignoring key f 
ignoring key f 
in media state change with state = 2
in media state change with state = 1
in media state change with state = 2
ignoring key f 
ignoring key f 
in media state change with state = 1
in media state change with state = 2
in media state change with state = 1
in media state change with state = 2
in media state change with state = 1
in media state change with state = 2
in media state change with state = 1
in media state change with state = 2
in media state change with state = 1
in media state change with state = 2
in media state change with state = 1
in media state change with state = 2
in media state change with state = 1
in media state change with state = 2
in media state change with state = 1
in media state change with state = 2
in media state change with state = 1
in media state change with state = 2
in media state change with state = 1
in media state change with state = 2
in media state change with state = 1
ignoring key f 
ignoring key f 
in media state change with state = 2
in media state change with state = 1
in media state change with state = 2
in media state change with state = 1
in media state change with state = 2
in media state change with state = 1

Original comment by david.dm...@gmail.com on 5 Dec 2011 at 12:19

GoogleCodeExporter commented 8 years ago
BTW, seeking with mouse now works in 1.0.5b2, Thankyou. :)

I previously used the mplayer-gui on fedora with no issues but it seems to have 
been dropped in 11.10 ubuntu distros so switched to your front end. I don't 
care for vlc for some reason.

Original comment by david.dm...@gmail.com on 5 Dec 2011 at 12:25

GoogleCodeExporter commented 8 years ago
I tested it a couple of times, waiting about 10 mins between presses of space 
bar and could not duplicate your issue. 

You might try changing the ao to the specific device or to pulse if pulseaudio 
is running.

aplay -l 

will give you a list of devices, and that list should be similar to the drop 
down.

I'm using 

MPlayer SVN-r34400-4.6.2 

Your version is not that old, but you might try upgrading if possible.

r33713 | reimar | 2011-06-22 13:12:23 -0600 (Wed, 22 Jun 2011) | 5 lines

Run OS support for SSE check only for runtime CPU detection.

It is pointless to run it otherwise and it causes issues
on OSes where we have not implemented a way to check.

Original comment by kdeko...@gmail.com on 7 Dec 2011 at 3:11

GoogleCodeExporter commented 8 years ago
I switched to mplayer2 but that still has the same problem. I'll keep trying 
various things. BTW which do you think is the better, the original mplayer or 
mplayer2 which claims to have better code and fixes ?

Original comment by david.dm...@gmail.com on 10 Dec 2011 at 12:18

GoogleCodeExporter commented 8 years ago
I think mplayer and mplayer2 are pretty similar, there are some features in 
mplayer2 (around pause) that appear to be more consistent and gnome-mplayer 
should take advantage of them. But for day to day use I have not noticed a huge 
difference and I have both on my machine.

Original comment by kdeko...@gmail.com on 10 Dec 2011 at 3:23

GoogleCodeExporter commented 8 years ago
Does mplayer by itself have this issue? Can you post a log of mplayer -v 
playing a video, pausing it, letting it sit for a few minutes and then resuming 
it?

Also this error concerns me a little

ERROR: mplayer: Symbol `ff_codec_bmp_tags' has different size in shared object, 
consider re-linking

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

GoogleCodeExporter commented 8 years ago
OK, looks like the same faults occurs at command line with mplayer2. See 
attached file. The resume fail happened on the last pause at the end before I 
quit but no extra output compared to a successful pause-resume. So I guess this 
bug is elsewhere. 

Original comment by david.dm...@gmail.com on 11 Dec 2011 at 5:58

Attachments:

GoogleCodeExporter commented 8 years ago
Closing due to mplayer bug

Original comment by kdeko...@gmail.com on 11 Dec 2011 at 7:04