[MPlayer-users] Again: Videos halting, jumping, playing and again

Gunnar Waterstraat gunnar.waterstraat at gmx.de
Wed Feb 13 23:15:49 CET 2008


I had the problem described in the forwarded email (at the end of this one)
some days ago and thought it had been solved by a total reinstall of mplayer
with purging the configuration files.
Unfortunately this is not the case.
Now I already tried to use the lavf demuxer and the -correct-pts option but
unfortunately this isn't working either.
In general I use smplayer (compiled from recent svn) but the same problems
occurs from commandline mplayer. Smplayer uses the avi demuxer as a
standard, with same problem. Kaffeine (xine) plays video files all nicely.
 I tried it with the mplayer-nogui package from the ubuntu repos (
1.0rc2-4.1.3). Playback is nice.
But actually I always used the mplayer from subversion before and had no
problems so I'm wondering what this is all about. I even compiled ffmpeg
from svn no wand tried with that and the package from the repos (later i
realized, that mplayer uses it's own ffmpeg fork?)
So maybe a change during the version from the repo and and from svn messed
things in the specific setting of my computer.
Any help is appreciated. Thank you very much.
Gunnar Waterstraat

Here the commandline smplayer uses in standard mode (by the way it also
occurs without the cache option):
/usr/bin/mplayer -noquiet -nofs -sub-fuzziness 1 -identify -slave -vo xv -ao
alsa -zoom -nokeepaspect -framedrop -input
conf=/usr/share/smplayer/input.conf -stop-xscreensaver -wid 25165838
-colorkey 0x020202 -monitoraspect 1.33333 -ass -embeddedfonts -ass-color
ffff0000 -ass-border-color 00000000 -fontconfig -font Arial
-subfont-autoscale 1 -ass-font-scale 2 -subcp ISO-8859-1 -aid 1 -subpos 0
-contrast 0 -brightness 0 -hue 0 -saturation 0 -cache 2048 -ss 1808
-osdlevel 1 -vf-add expand=:::0:0:4/3 -vf-add screenshot -channels 2 -menu
-subalign 0
/media/LinuxExt/mldonkey_incoming/directories/Tootsie.1982.DVDRip.XviD.AR/Tootsie.1982.DVDRip.XviD.AR.avi

Here my old problem, describing the problem in detail:

2008/2/10, Gunnar Waterstraat <gunnar.waterstraat at gmx.de>:
>
> First I would like to thank you in advance for your help with this problem
> and hope the together it can be solved.
>
> I am using a SVN Mplayer (latest update today), which I compiled on a
> Laptop Computer running Kubuntu Gutsy: P4 Celeron, 2.6 GHz, ATI 9100 IGP
> onboard Graphic Card with free radeon driver, ATI IXP onboard sound card.
>
> I first noticed a problem when I tried to play some episodes of an america
> TV-series, encoded in divx. The video was halting from time to time (about
> 0.2s), then jumping to it's actual needed position. This occurs about
> twice or three times a minute, while the sound isn't affected.
> The outputs of mplayer seem clean to me, even in verbose mode (no your
> hardware is to slow to play this!)
> I've already tried other video outputs than xv, which didn't bring any
> advantages. The halting also occurs with the option -nosound. Also caching
> isn't the clue. The playback of ffplay seems to be good.
> I use the latest "essential" codec pack from the mplayer homepage and also
> installed the latest ffmpeg and w32codecs from the medibuntu repos. If the
> problems are restricted to divx is hard to tell for me because I do not have
> a lot of other files. But I noticed the same no in an MPEG2 file.
>
> My previous installation of Xubuntu Gutsy with svn mplayer was working
> without any problems (on the same files), so after a clean install of
> Kubuntu I'm not sure what the problem is now.
>
> To supply you with an example file: The same things happen when I try to
> play this one:
> http://trailers.divx.com/dmf/RevelationsSmall.divx
>
> I really love mplayer, but this is annoying.
>
> Thank you again for your help,
> cheers Gunnar
>
> Here some of the output of verbose mode, while playing about 2 or 3 of the
> described episodes happened:
>
> MPlayer dev-SVN-r25972-4.1.3 (C) 2000-2008 MPlayer Team
> CPU: Intel(R) Celeron(R) CPU 2.60GHz (Family: 15, Model: 2, Stepping: 9)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
> get_path('codecs.conf') -> '/home/hansmitdampf/.mplayer/codecs.conf'
> Reading /home/hansmitdampf/.mplayer/codecs.conf: Can't open
> '/home/hansmitdampf/.mplayer/codecs.conf': No such file or directory
> Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf':
> No such file or directory
> Using built-in default codecs.conf.
> Configuration: --enable-largefiles --prefix=/usr/local --disable-lirc
> --disable-lircc --confdir=/etc/mplayer --disable-gui --enable-menu
> --codecsdir=/usr/local/lib/codecs --win32codecsdir=/usr/lib/win32
> CommandLine: 'RevelationsSmall.divx' '-v'
> init_freetype
> Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
> get_path('fonts') -> '/home/hansmitdampf/.mplayer/fonts'
> Using nanosleep() timing
> get_path('input.conf') -> '/home/hansmitdampf/.mplayer/input.conf'
> Can't open input config file /home/hansmitdampf/.mplayer/input.conf: No
> such file or directory
> Can't open input config file /etc/mplayer/input.conf: No such file or
> directory
> Falling back on default (hardcoded) input config
> get_path('RevelationsSmall.divx.conf') ->
> '/home/hansmitdampf/.mplayer/RevelationsSmall.divx.conf'
>
> Playing RevelationsSmall.divx.
> get_path('sub/') -> '/home/hansmitdampf/.mplayer/sub/'
> [file] File size is 75533528 bytes
> STREAM: [file] RevelationsSmall.divx
> 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=0x420
> ======= AVI Header =======
> us/frame: 33367  (fps=29.970)
> max bytes/sec: 0
> padding: 0
> MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
> frames  total: 7932   initial: 0
> streams: 5
> Suggested BufferSize: 0
> Size:  640 x 352
> ==========================
> list_end=0xE2
> ==> Found video stream: 0
> [aviheader] Video stream found, -vid 0
> ====== STREAM Header =====
> Type: vids   FCC: divx (78766964)
> Flags: 0
> Priority: 0   Language: 0
> InitialFrames: 0
> Rate: 10000000/333667 = 29.970
> Start: 0   Len: 7932
> Suggested BufferSize: 32386
> Quality -1
> Sample size: 0
> ==========================
> Found 'bih', 40 bytes of 40
> ======= VIDEO Format ======
>   biSize 40
>   biWidth 640
>   biHeight 352
>   biPlanes 1
>   biBitCount 24
>   biCompression 808802372='DX50'
>   biSizeImage 675840
> ===========================
> Regenerating keyframe table for MPEG-4 video.
> list_end=0x16C
> ==> Found audio stream: 1
> [aviheader] Audio stream found, -aid 1
> ====== STREAM Header =====
> Type: auds   FCC:  (0)
> Flags: 0
> Priority: 0   Language: 0
> InitialFrames: 1
> Rate: 48000/1152 = 41.667
> Start: 0   Len: 11028
> Suggested BufferSize: 768
> Quality -1
> Sample size: 0
> ==========================
> Found 'wf', 30 bytes of 18
> ======= WAVE Format =======
> Format Tag: 85 (0x55)
> Channels: 2
> Samplerate: 48000
> avg byte/sec: 4000
> Block align: 1152
> bits/sample: 0
> cbSize: 12
> mp3.wID=1
> mp3.fdwFlags=0x0
> mp3.nBlockSize=418
> mp3.nFramesPerBlock=1
> mp3.nCodecDelay=0
> ==========================================================================
> list_end=0x1F6
> ==> Found audio stream: 2
> [aviheader] Audio stream found, -aid 2
> ====== STREAM Header =====
> Type: auds   FCC:  (0)
> Flags: 0
> Priority: 0   Language: 0
> InitialFrames: 1
> Rate: 48000/1152 = 41.667
> Start: 0   Len: 11028
> Suggested BufferSize: 960
> Quality -1
> Sample size: 0
> ==========================
> Found 'wf', 30 bytes of 18
> ======= WAVE Format =======
> Format Tag: 85 (0x55)
> Channels: 2
> Samplerate: 48000
> avg byte/sec: 4000
> Block align: 1152
> bits/sample: 0
> cbSize: 12
> mp3.wID=1
> mp3.fdwFlags=0x0
> mp3.nBlockSize=418
> mp3.nFramesPerBlock=1
> mp3.nCodecDelay=0
> ==========================================================================
> list_end=0x280
> ==> Found audio stream: 3
> [aviheader] Audio stream found, -aid 3
> ====== STREAM Header =====
> Type: auds   FCC:  (0)
> Flags: 0
> Priority: 0   Language: 0
> InitialFrames: 1
> Rate: 48000/1152 = 41.667
> Start: 0   Len: 11028
> Suggested BufferSize: 768
> Quality -1
> Sample size: 0
> ==========================
> Found 'wf', 30 bytes of 18
> ======= WAVE Format =======
> Format Tag: 85 (0x55)
> Channels: 2
> Samplerate: 48000
> avg byte/sec: 4000
> Block align: 1152
> bits/sample: 0
> cbSize: 12
> mp3.wID=1
> mp3.fdwFlags=0x0
> mp3.nBlockSize=418
> mp3.nFramesPerBlock=1
> mp3.nCodecDelay=0
> ==========================================================================
> list_end=0x318
> ==> Found video stream: 4
> [aviheader] Video stream found, -vid 4
> ====== STREAM Header =====
> Type: vids   FCC: divx (78766964)
> Flags: 1
> Priority: 0   Language: 0
> InitialFrames: 0
> Rate: 0/0 =   nan
> Start: 0   Len: 31
> Suggested BufferSize: 3292
> Quality 0
> Sample size: 0
> ==========================
> Found 'bih', 40 bytes of 40
> ======= VIDEO Format ======
>   biSize 40
>   biWidth 640
>   biHeight 480
>   biPlanes 1
>   biBitCount 4
>   biCompression 1112758340='DXSB'
>   biSizeImage 153600
> ===========================
> list_end=0x420
> AVI: dmlh found (size=244) (total_frames=7932)
> list_end=0x1D0C472
> Found movie at 0x80C - 0x1D0C472
> Reading INDEX block, 41047 chunks for 7932 frames (fpos=30459002).
> Additional RIFF header...
> ** Warning: this is no extended AVI header..
> list_end=0x3C20D3A
> Additional RIFF header...
> ** Warning: this is no extended AVI header..
> list_end=0x3C20FA4
> ======= AVI Header =======
> us/frame: 33367  (fps=29.970)
> max bytes/sec: 0
> padding: 0
> MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
> frames  total: 11958   initial: 0
> streams: 2
> Suggested BufferSize: 0
> Size:  640 x 464
> ==========================
> list_end=0x3C20E1C
> ==> Found video stream: 5
> [aviheader] Video stream found, -vid 5
> ====== STREAM Header =====
> Type: vids   FCC: divx (78766964)
> Flags: 0
> Priority: 0   Language: 0
> InitialFrames: 0
> Rate: 30000/1001 = 29.970
> Start: 0   Len: 11958
> Suggested BufferSize: 91673
> Quality 10000
> Sample size: 0
> ==========================
> Found 'bih', 40 bytes of 40
> ======= VIDEO Format ======
>   biSize 40
>   biWidth 640
>   biHeight 464
>   biPlanes 1
>   biBitCount 24
>   biCompression 808802372='DX50'
>   biSizeImage 890880
> ===========================
> Regenerating keyframe table for MPEG-4 video.
> list_end=0x3C20E9C
> ==> Found audio stream: 6
> [aviheader] Audio stream found, -aid 6
> ====== STREAM Header =====
> Type: auds   FCC:  (0)
> Flags: 0
> Priority: 0   Language: 0
> InitialFrames: 1
> Rate: 16000/1 = 16000.000
> Start: 0   Len: 6383977
> Suggested BufferSize: 8000
> Quality -1
> Sample size: 1
> ==========================
> Found 'wf', 30 bytes of 18
> ======= WAVE Format =======
> Format Tag: 85 (0x55)
> Channels: 2
> Samplerate: 44100
> avg byte/sec: 16000
> Block align: 1
> bits/sample: 0
> cbSize: 12
> mp3.wID=1
> mp3.fdwFlags=0x0
> mp3.nBlockSize=418
> mp3.nFramesPerBlock=1
> mp3.nCodecDelay=0
> ==========================================================================
> list_end=0x3C20FA4
> AVI: dmlh found (size=244) (total_frames=11958)
> list_end=0x47AB6D0
> Found movie at 0x80C - 0x47AB6D0
> AVI index offset: 0x808 (movi=0x80C idx0=0x4 idx1=0x18C)
> Auto-selected AVI audio ID = 1
> Auto-selected AVI video ID = 0
> AVI: Searching for audio stream (id:1)
> AVI video size=18271857 (7932) audio size=3938112 (11028)
> VIDEO:  [DX50]  640x352  24bpp  29.970 fps  552.3 kbps (67.4 kbyte/s)
> [V] filefmt:3  fourcc:0x30355844  size:640x352  fps:29.97  ftime:=0.0334
> get_path('sub/') -> '/home/hansmitdampf/.mplayer/sub/'
> X11 opening display: :0.0
> vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
> vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local
> display)
> [x11] Detected wm supports NetWM.
> [x11] Detected wm supports FULLSCREEN state.
> [x11] Detected wm supports ABOVE state.
> [x11] Detected wm supports BELOW state.
> [x11] Detected wm supports STAYS_ON_TOP state.
> [x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X
> atoms
> Disabling DPMS
> DPMSDisable stat: 1
> [xv common] Drawing colorkey manually.
> [xv common] Using colorkey from Xv (0x00001e).
> [xv common] Maximum source image dimensions: 2048x2048
> Opening video filter: [ass]
> [vo] query(Planar YV12) -> 3
> Opening video filter: [expand osd=1 aspect=4/3]
> Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 1.333333, round: 1
> [ass] Init
> get_path('fonts') -> '/home/hansmitdampf/.mplayer/fonts'
> get_path('subfont.ttf') -> '/home/hansmitdampf/.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)
> ==========================================================================
> ==========================================================================
> 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: Yes, CRC: No, emphasis: 0
> AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
> 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 dummy
> [dummy] Was reinitialized: 48000Hz/2ch/s16le
> [dummy] Was reinitialized: 48000Hz/2ch/s16le
> alsa-init: requested format: 48000 Hz, 2 channels, 9
> alsa-init: using ALSA 1.0.14a
> alsa-init: setup for 1/2 channel(s)
> alsa-init: using device default
> alsa-init: pcm opened in blocking mode
> alsa-init: chunksize set to 1024
> alsa-init: fragcount=16
> alsa-init: got buffersize=65536
> alsa-init: got period size 1024
> alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little
> Endian
> AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
> AO: Description: ALSA-0.9.x-1.x audio output
> AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
> AO: Comment: under developement
> Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
> [dummy] Was reinitialized: 48000Hz/2ch/s16le
> [dummy] Was reinitialized: 48000Hz/2ch/s16le
> Starting playback...
> Increasing filtered audio buffer size from 0 to 65536
> [ffmpeg] aspect_ratio: 1.818182
> VDec: vo config request - 640 x 352 (preferred colorspace: Planar YV12)
> Trying filter chain: expand ass vo
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
> VO Config (640x352->640x352,flags=0,'MPlayer',0x32315659)
> REQ: flags=0x2437  req=0x0
> REQ: flags=0x437  req=0x0
> VO: [xv] 640x480 => 640x480 Planar YV12
> VO: Description: X11/Xv
> VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
> geometry set to width: -1,height: -1, xoff: -1, yoff: -1, xper: 50, yper:
> 50
> geometry set to width: -1,height: -1, xoff: 192, yoff: 144, xper: 50,
> yper: 50
> geometry window parameter: widw: 640, widh: 480, scrw: 1024, scrh: 768
> Xvideo image format: 0x41424752 (RGBA) packed
> Xvideo image format: 0x0 (    ) packed
> Xvideo image format: 0x54424752 (RGBT) packed
> Xvideo image format: 0x32424752 (RGB2) packed
> Xvideo image format: 0x32595559 (YUY2) packed
> Xvideo image format: 0x59565955 (UYVY) packed
> Xvideo image format: 0x32315659 (YV12) planar
> Xvideo image format: 0x30323449 (I420) planar
> using Xvideo port 73 for hw scaling
> [xv] dx: 0 dy: 0 dw: 640 dh: 480
> Unicode font: 1185 glyphs.
> Unicode font: 1185 glyphs.
> *** [ass] Allocating mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
> *** [expand] Direct Rendering mp_image_t, 640x352x12bpp YUV planar, 337920
> bytes
> [xv] dx: 0 dy: 0 dw: 640 dh: 480
> A:  -0.0 V:   0.0 A-V: -0.018 ct:  0.000   1/  1 ??% ??% ??,?% 0 0 [J
> XXX initial  v_pts=0.033  a_pos=2304 (0.576)
> *** [ass] Allocating mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
> *** [expand] Direct Rendering mp_image_t, 640x352x12bpp YUV planar, 337920
> bytes
> *** [vo] Allocating mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
> A:   0.0 V:   0.0 A-V: -0.018 ct: -0.002   2/  2 ??% ??% ??,?% 1 0 [J
> A:   0.1 V:   0.1 A-V: -0.016 ct: -0.003   3/  3 ??% ??% ??,?% 2 0 [J
> A:   0.1 V:   0.1 A-V: -0.015 ct: -0.005   4/  4 ??% ??% ??,?% 3 0 [J
> A:   0.1 V:   0.1 A-V: -0.013 ct: -0.006   5/  5 ??% ??% ??,?% 4 0 [J
> A:   0.2 V:   0.2 A-V: -0.012 ct: -0.007   6/  6 ??% ??% ??,?% 4 0 [J
> .
> .
> A:   8.7 V:   8.7 A-V:  0.002 ct: -0.002 262/262 10% 15%  3.6% 5 0 [J
> A:   8.7 V:   8.7 A-V:  0.002 ct: -0.001 263/263 10% 15%  3.6% 5 0 [JA:
> 8.8 V:   8.8 A-V: -0.002 ct: -0.002 264/264 10% 15%  3.6% 5 0 [J
> *** [ass] Allocating mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
> *** [expand] Direct Rendering mp_image_t, 640x352x12bpp YUV planar, 337920
> bytes
> A:   8.8 V:   8.8 A-V: -0.001 ct: -0.002 265/265 10% 15%  3.6% 5 0 [J
> A:   8.8 V:   8.8 A-V:  0.002 ct: -0.002 266/266 10% 15%  3.6% 5 0 [J
> A:   8.9 V:   8.9 A-V: -0.001 ct: -0.002 267/267 10% 15%  3.6% 5 0 [J
> A:   8.9 V:   8.9 A-V: -0.001 ct: -0.002 268/268 10% 15%  3.6% 5 0 [J
> A:   8.9 V:   8.9 A-V: -0.001 ct: -0.002 269/269 10% 15%  3.6% 5 0 [J
> A:   9.0 V:   9.0 A-V:  0.002 ct: -0.002 270/270 10% 15%  3.6% 5 0 [J
> A:   9.0 V:   9.0 A-V:  0.002 ct: -0.002 271/271 10% 15%  3.6% 5 0 [J
> A:   9.0 V:   9.0 A-V: -0.001 ct: -0.002 272/272 10% 15%  3.6% 5 0 [J
> [xv] dx: 0 dy: 0 dw: 1024 dh: 768
> [xv-fs] dx: 0 dy: 0 dw: 1024 dh: 768
> A:   9.1 V:   9.1 A-V: -0.001 ct: -0.002 273/273 10% 15%  3.6% 5 0 [J
> A:   9.1 V:   9.1 A-V: -0.001 ct: -0.002 274/274 10% 15%  3.6% 5 0 [J
> .
> .
>



More information about the MPlayer-users mailing list