You are not logged in.

#1 2010-12-18 18:30:52

nemamradfazole
Member
Registered: 2010-03-18
Posts: 40
Website

SMPlayer vs. Mplayer - behaviour after resuming a pause

For a few weeks I've been experiencing a change in SMPlayer behaviour after resuming a pause of playing a video - motion of the video is jerked for a few seconds. However, I don't experience this with MPlayer. Has anybody else noticed this or does anybody know what could I do to make SMPlayer work normally?

Offline

#2 2010-12-18 20:42:05

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: SMPlayer vs. Mplayer - behaviour after resuming a pause

Gotta be a setting... what -vo is it using?

Offline

#3 2010-12-18 20:53:38

nemamradfazole
Member
Registered: 2010-03-18
Posts: 40
Website

Re: SMPlayer vs. Mplayer - behaviour after resuming a pause

My SMPlayer is set to "xv" video output. I tried switching to "gl (fast)" and the jerked motion remains. Trying

mplayer video.avi -vo xv

led to a fluent motion.

Offline

#4 2010-12-18 21:22:20

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: SMPlayer vs. Mplayer - behaviour after resuming a pause

I thought that smplayer might be using a different output.  If both are using xv I'm not sure what's going on unless you have additional post processing setup on smplayer that mplayer doesn't... enable logging on smplayer and inspect the output.

Offline

#5 2010-12-18 21:51:18

nemamradfazole
Member
Registered: 2010-03-18
Posts: 40
Website

Re: SMPlayer vs. Mplayer - behaviour after resuming a pause

I've turned an extended log of MPlayer on and so these are logs created during a short play with some pauses (with jerked motions after resuming):

SMPlayer log (just extract, couldn't copy the whole log, but it doesn't seem to contain something relevant):

[22:40:33:653] Core::pause
[22:40:33:653] Core::pause: current state: Playing
[22:40:33:653] Core::tellmp: 'pause'
[22:40:33:707] MplayerProcess::parseLine: ''
[22:40:33:707] MplayerProcess::parseLine: '  =====  PAUSE  ====='
[22:40:33:708] MplayerProcess::parseLine: ''
[22:40:33:708] MplayerProcess::parseLine: 'ID_PAUSED'
[22:40:33:708] Core::changePause
[22:40:33:708] Core::changePause: mplayer reports that it's paused
[22:40:33:708] BaseGui::displayState: Paused
[22:40:33:708] BaseGui::togglePlayAction
[22:40:33:709] BaseGui::checkStayOnTop
[22:40:35:104] Core::pause
[22:40:35:104] Core::pause: current state: Paused
[22:40:35:104] Core::tellmp: 'pause'
[22:40:35:143] BaseGui::displayState: Playing
[22:40:35:143] BaseGui::togglePlayAction
[22:40:35:144] Core::changeCurrentSec: mplayer reports that now it's playing
[22:40:35:147] BaseGui::checkStayOnTop
[22:40:38:432] Core::pause
[22:40:38:432] Core::pause: current state: Playing
[22:40:38:432] Core::tellmp: 'pause'
[22:40:38:507] MplayerProcess::parseLine: ''
[22:40:38:508] MplayerProcess::parseLine: '  =====  PAUSE  ====='
[22:40:38:508] MplayerProcess::parseLine: ''
[22:40:38:508] MplayerProcess::parseLine: 'ID_PAUSED'
[22:40:38:508] Core::changePause
[22:40:38:508] Core::changePause: mplayer reports that it's paused
[22:40:38:508] BaseGui::displayState: Paused
[22:40:38:509] BaseGui::togglePlayAction
[22:40:38:509] BaseGui::checkStayOnTop
[22:40:42:012] BaseGui::showMplayerLog
[22:40:56:875] BaseGui::showLog

MPlayer log (I've cut out a long list of subtitles' lines):

/usr/bin/mplayer -noquiet -v -nofs -nomouseinput -sub-fuzziness 1 -identify -slave -vo xv:adaptor=0 -ao alsa -nokeepaspect -framedrop -autosync 100 -nodr -nodouble -input nodefault-bindings:conf=/dev/null -stop-xscreensaver -wid 52429143 -monitorpixelaspect 1 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -ass-styles /home/ondra/.config/smplayer/styles.ass -fontconfig -font Arial -subfont-autoscale 0 -subfont-osd-scale 20 -subfont-text-scale 20 -subcp CP1250 -vid 0 -aid 2 -sub /home/ondra/Plocha/Poirot - S12E02 - The Clocks - ENG.srt -subpos 100 -volume 32 -nocache -ss 417 -osdlevel 0 -idx -vf-add ass -vf-add screenshot -slices -channels 2 -af scaletempo,equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 100 /mnt/ubuntu/home/sdilene/Hercule.Poirot.S12E01.Hodiny.DVDRip.XviD.cz.en-iNG.avi

MPlayer SVN-r32492-4.5.1 (C) 2000-2010 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (Family: 15, Model: 2, Stepping: 7)
extended cpuid-level: 4
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/ondra/.mplayer/codecs.conf'
Reading /home/ondra/.mplayer/codecs.conf: Can't open '/home/ondra/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 159 audio & 349 video codecs
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/ondra/.mplayer/fonts'
Configuration: --prefix=/usr --enable-runtime-cpudetection --disable-gui --disable-arts --disable-liblzo --disable-speex --disable-openal --disable-fribidi --disable-libdv --disable-musepack --disable-esd --disable-mga --enable-xvmc --language=all --confdir=/etc/mplayer
CommandLine: '-noquiet' '-v' '-nofs' '-nomouseinput' '-sub-fuzziness' '1' '-identify' '-slave' '-vo' 'xv:adaptor=0' '-ao' 'alsa' '-nokeepaspect' '-framedrop' '-autosync' '100' '-nodr' '-nodouble' '-input' 'nodefault-bindings:conf=/dev/null' '-stop-xscreensaver' '-wid' '52429143' '-monitorpixelaspect' '1' '-ass' '-embeddedfonts' '-ass-line-spacing' '0' '-ass-font-scale' '1' '-ass-styles' '/home/ondra/.config/smplayer/styles.ass' '-fontconfig' '-font' 'Arial' '-subfont-autoscale' '0' '-subfont-osd-scale' '20' '-subfont-text-scale' '20' '-subcp' 'CP1250' '-vid' '0' '-aid' '2' '-sub' '/home/ondra/Plocha/Poirot - S12E02 - The Clocks - ENG.srt' '-subpos' '100' '-volume' '32' '-nocache' '-ss' '417' '-osdlevel' '0' '-idx' '-vf-add' 'ass' '-vf-add' 'screenshot' '-slices' '-channels' '2' '-af' 'scaletempo,equalizer=0:0:0:0:0:0:0:0:0:0' '-softvol' '-softvol-max' '100' '/mnt/ubuntu/home/sdilene/Hercule.Poirot.S12E01.Hodiny.DVDRip.XviD.cz.en-iNG.avi'
Using nanosleep() timing
Terminal type `unknown' is not defined.
Parsing input config file /dev/null
Input config file /dev/null parsed: 0 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('Hercule.Poirot.S12E01.Hodiny.DVDRip.XviD.cz.en-iNG.avi.conf') -> '/home/ondra/.mplayer/Hercule.Poirot.S12E01.Hodiny.DVDRip.XviD.cz.en-iNG.avi.conf'

Playing /mnt/ubuntu/home/sdilene/Hercule.Poirot.S12E01.Hodiny.DVDRip.XviD.cz.en-iNG.avi.
get_path('sub/') -> '/home/ondra/.mplayer/sub/'
[file] File size is 821880832 bytes
STREAM: [file] /mnt/ubuntu/home/sdilene/Hercule.Poirot.S12E01.Hodiny.DVDRip.XviD.cz.en-iNG.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: AVI format
AVI file format detected.
list_end=0x3324
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 133641   initial: 0
streams: 3
Suggested BufferSize: 0
Size:  640 x 368
==========================
list_end=0x10F4
==> Found video stream: 0
ID_VIDEO_ID=0
[aviheader] Video stream found, -vid 0
====== STREAM Header =====
Type: vids   FCC: xvid (64697678)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 25/1 = 25.000
Start: 0   Len: 133641
Suggested BufferSize: 125416
Quality 10000
Sample size: 0
==========================
Found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 640
  biHeight 368
  biPlanes 1
  biBitCount 24
  biCompression 1145656920='XVID'
  biSizeImage 1413120
===========================
Regenerating keyframe table for MPEG-4 video.
list_end=0x2186
==> Found audio stream: 1
ID_AUDIO_ID=1
[aviheader] Audio stream found, -aid 1
====== STREAM Header =====
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 16000/384 = 41.667
Start: 0   Len: 222719
Suggested BufferSize: 8064
Quality -1
Sample size: 384
==========================
Found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16000
Block align: 384
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=384
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
==========================================================================
list_end=0x3218
==> Found audio stream: 2
ID_AUDIO_ID=2
[aviheader] Audio stream found, -aid 2
====== STREAM Header =====
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 16000/384 = 41.667
Start: 0   Len: 222735
Suggested BufferSize: 8064
Quality -1
Sample size: 384
==========================
Found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16000
Block align: 384
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=384
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
==========================================================================
list_end=0x3324
AVI: dmlh found (size=248) (total_frames=133641)
list_end=0x3364
hdr=Software  size=43
Software  : VirtualDubMod 1.5.4.1 (build 2066/release)
list_end=0x309B07A2
Found movie at 0x380C - 0x309B07A2
Reading INDEX block, 400890 chunks for 133641 frames (fpos=815466410).
AVI index offset: 0x3808 (movi=0x380C idx0=0x4 idx1=0x1F8C)
Auto-selected AVI audio ID = 2
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:2)
AVI video size=641146236 (133641) audio size=85530240 (222735)
VIDEO:  [XVID]  640x368  24bpp  25.000 fps  959.5 kbps (117.1 kbyte/s)
Auto-selected AVI audio ID = 2
[V] filefmt:3  fourcc:0x44495658  size:640x368  fps:25.000  ftime:=0.0400
Clip info:
 Software: VirtualDubMod 1.5.4.1 (build 2066/release)
ID_CLIP_INFO_NAME0=Software
ID_CLIP_INFO_VALUE0=VirtualDubMod 1.5.4.1 (build 2066/release)
ID_CLIP_INFO_N=1
File not found: '/home/ondra/Plocha/Poirot - S12E02 - The Clocks - ENG.srt'
Failed to open /home/ondra/Plocha/Poirot - S12E02 - The Clocks - ENG.srt.
File not found: '/home/ondra/Plocha/Poirot - S12E02 - The Clocks - ENG.srt'
Failed to open /home/ondra/Plocha/Poirot - S12E02 - The Clocks - ENG.srt.
[ass] ass_read_file(/home/ondra/Plocha/Poirot - S12E02 - The Clocks - ENG.srt): fopen failed
Cannot load subtitles: /home/ondra/Plocha/Poirot - S12E02 - The Clocks - ENG.srt
get_path('sub/') -> '/home/ondra/.mplayer/sub/'
[file] File size is 115710 bytes
STREAM: [file] /mnt/ubuntu/home/sdilene/Hercule.Poirot.S12E01.Hodiny.DVDRip.XviD.cz.en-iNG.srt
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
SUB: Detected subtitle file format: subviewer
SUB: opened iconv descriptor.
SUB: closed iconv descriptor.
SUB: Read 1352 subtitles, 0 bad line(s).
[file] File size is 115710 bytes
STREAM: [file] /mnt/ubuntu/home/sdilene/Hercule.Poirot.S12E01.Hodiny.DVDRip.XviD.cz.en-iNG.srt
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
[ass] Opened iconv descriptor
[ass] Closed iconv descriptor
[ass] File size: 300
[ass] Opened iconv descriptor
[ass] Closed iconv descriptor
[ass] [0xa6f6ef8] Style: Default,Arial,20,&H00ffffff,&H00000000,&H00000000,0,0,2,1,1,2,20,20,8
plaintext event at 1000, +3000: Downloaded From www.AllSubs.org  
plaintext event at 35920, +1670: - Good night Annie.\N- Good night Fi.  
plaintext event at 5286120, +3590: - Yes please.\N- Let's start again.  
plaintext event at 5290710, +10000: Downloaded From www.AllSubs.org  
ID_FILE_SUB_ID=0
ID_FILE_SUB_FILENAME=/mnt/ubuntu/home/sdilene/Hercule.Poirot.S12E01.Hodiny.DVDRip.XviD.cz.en-iNG.srt
SUB: Added subtitle file (1): /mnt/ubuntu/home/sdilene/Hercule.Poirot.S12E01.Hodiny.DVDRip.XviD.cz.en-iNG.srt
ID_FILENAME=/mnt/ubuntu/home/sdilene/Hercule.Poirot.S12E01.Hodiny.DVDRip.XviD.cz.en-iNG.avi
ID_DEMUXER=avi
ID_VIDEO_FORMAT=XVID
ID_VIDEO_BITRATE=959504
ID_VIDEO_WIDTH=640
ID_VIDEO_HEIGHT=368
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_START_TIME=0.00
ID_LENGTH=5345.64
ID_SEEKABLE=1
ID_CHAPTERS=0
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1680x1050 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Current fstype setting doesn't honour any X atoms
[VO_XV] Using Xv Adapter #0 (NV17 Video Texture)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 2046x2046
Opening video filter: [screenshot]
Opening video filter: [ass]
[screenshot] query(Planar YV12) -> 3
[ass] FreeType library version: 2.4.4
[ass] FreeType headers version: 2.4.3
[ass] Init
get_path('fonts') -> '/home/ondra/.mplayer/fonts'
get_path('subfont.ttf') -> '/home/ondra/.mplayer/subfont.ttf'
[ass] Updating font cache
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
ID_VIDEO_CODEC=ffodivx
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: using SSE optimized decore!
MP3lib: init layer2&3 finished, tables done

MPEG 1.0, Layer III, 48000 Hz 128 kbit Joint-Stereo, BPF: 384
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
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)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter scaletempo 
[libaf] Adding filter equalizer 
[scaletempo] 1.000 speed * 1.000 scale_nominal = 1.000
[libaf] Adding filter format 
[format] Changing sample format from little-endian 16-bit signed int to little-endian 32-bit float
[format] Accelerated little-endian 16-bit signed int to little-endian 32-bit float conversion
[scaletempo] 1.000 speed * 1.000 scale_nominal = 1.000
[format] Changing sample format from little-endian 16-bit signed int to little-endian 32-bit float
[format] Accelerated little-endian 16-bit signed int to little-endian 32-bit float conversion
Trying preferred audio driver 'alsa', options '[none]'
alsa-init: requested format: 48000 Hz, 2 channels, 1d
alsa-init: using ALSA 1.0.23
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opened in blocking mode
alsa-init: got buffersize=65536
alsa-init: got period size 1024
alsa: 48000 Hz/2 channels/8 bpf/65536 bytes buffer/Float 32 bit Little Endian
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy@streamminister.de>
AO: Comment: under development
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/floatle...
[scaletempo] 1.000 speed * 1.000 scale_nominal = 1.000
[format] Changing sample format from little-endian 16-bit signed int to little-endian 32-bit float
[format] Accelerated little-endian 16-bit signed int to little-endian 32-bit float conversion
[scaletempo] 1.000 speed * 1.000 scale_nominal = 1.000
[format] Changing sample format from little-endian 16-bit signed int to little-endian 32-bit float
[format] Accelerated little-endian 16-bit signed int to little-endian 32-bit float conversion
ID_AUDIO_CODEC=mp3
[Mixer] No hardware mixing, inserting volume filter.
[libaf] Adding filter volume 
[scaletempo] 1.000 speed * 1.000 scale_nominal = 1.000
[format] Changing sample format from little-endian 16-bit signed int to little-endian 32-bit float
[format] Accelerated little-endian 16-bit signed int to little-endian 32-bit float conversion
[scaletempo] 1.000 speed * 1.000 scale_nominal = 1.000
[format] Changing sample format from little-endian 16-bit signed int to little-endian 32-bit float
[format] Accelerated little-endian 16-bit signed int to little-endian 32-bit float conversion
Starting playback...
SEEK: i=31390 (max:31427) dpos=6703872 (wanted:6703872)  
SEEK: idx=31390  (a:31390 v:31427)  v.skip=12  a.skip=0/0.000  
XXX initial  v_pts=418.520  a_pos=8064 (0.504) 
[libaf] Reallocating memory in module format, old len = 0, new len = 69637
Increasing filtered audio buffer size from 0 to 69632
[mpeg4 @ 0x8a2dc40]Invalid and inefficient vfw-avi packed B frames detected
[ffmpeg] aspect_ratio: 1.739130
VDec: vo config request - 640 x 368 (preferred colorspace: Planar YV12)
Trying filter chain: ass screenshot vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.74:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7391
VO Config (640x368->640x368,flags=0,'MPlayer',0x32315659)
REQ: flags=0x437  req=0x0  
[swscaler @ 0x8ad6520]using unscaled yuv420p -> rgb24 special converter
REQ: flags=0x437  req=0x0  
VO: [xv] 640x368 => 640x368 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: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 331 for hw scaling
*** [ass] Allocating mp_image_t, 640x368x12bpp YUV planar, 353280 bytes
*** [ass] Allocating mp_image_t, 640x368x12bpp YUV planar, 353280 bytes
[ass] PlayResX undefined, setting to 384
*** [vo] Allocating mp_image_t, 640x368x12bpp YUV planar, 353280 bytes
*** [screenshot] Direct Rendering mp_image_t, 640x368x12bpp YUV planar, 353280 bytes
Unicode font: 1185 glyphs.
Unicode font: 1185 glyphs.

*** [ass] Allocating mp_image_t, 640x368x12bpp YUV planar, 353280 bytes

  =====  PAUSE  =====

ID_PAUSED

[ass] Font info: family 'Arial', style 'Normal', fullname 'Arial', slant 0, weight 80
[ass] fontconfig_select: (Arial, 80, 0) -> /usr/share/fonts/TTF/arial.ttf, 0

  =====  PAUSE  =====

ID_PAUSED

  =====  PAUSE  =====

ID_PAUSED

  =====  PAUSE  =====

ID_PAUSED

So it seems there is no error during the resuming.

Offline

Board footer

Powered by FluxBB