[MPlayer-users] AviSynth and MPlayer? (Reimar D?ffinger)

Wayne Wayne at TradeTimer.com
Sun Oct 12 17:12:41 CEST 2014


I may have found the approximate date where MPlayer stopped supporting AviSynth scripts.  It appears that versions prior to 8/1/2010 (r31878) work okay, and those after that do not.  These later revisions simply won't run any AVS script .. MPlayer just stops.

I've copied the log from the working version, the very next available version that doesn't work, and a recent version that also doesn't work.  I'd hoping that MPlayer could be coaxed into supporting AviSynth scripts again since the combination is a worthy tool for media work.  Unfortunately, r31878 is rather ancient.  Was support for this intentionally dropped for some reason in 2010?  I'll provide whatever info is needed if I'm able.  Thanks.

Commandline...
mplayer -nofontconfig -msglevel all=9 script.avs

[------------------------------------------------------------------------------]

Adding file script.avs
Config pushed level is now 2
Config pushed level is now 3
MPlayer Sherpya-SVN-r31878-4.2.5 (C) 2000-2010 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 2.40GHz (Family: 15, Model: 2, Steppin
g: 9)
extended cpuid-level: 4
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 0
Compiled with runtime CPU detection.
get_path('codecs.conf') -> 'C:/AvsPmod/scripts/mplayer/codecs.conf'
Reading C:/AvsPmod/scripts/mplayer/codecs.conf: parse error at line 135
Reading /mingw/etc/mplayer/codecs.conf: Can't open '/mingw/etc/mplayer/codecs.co
nf': No such file or directory
Using built-in default codecs.conf.
Configuration: --extra-cflags=-I/c/Work/mplayer/live --prefix=/mingw --enable-st
atic --enable-md5sum --enable-menu --enable-faac --enable-enca --enable-sdl --en
able-caca --enable-gl --enable-freetype --enable-png --enable-mng --enable-jpeg
--enable-gif --enable-tga --enable-mad --enable-tv --enable-theora --disable-vid
ix --disable-faac-lavc --disable-inet6 --enable-runtime-cpudetection
CommandLine: '-nofontconfig' '-msglevel' 'all=9' 'script.avs'
init_freetype
get_path('font/font.desc') -> 'C:/AvsPmod/scripts/mplayer/font/font.desc'
font: can't open file: C:/AvsPmod/scripts/mplayer/font/font.desc
font: can't open file: /mingw/share/mplayer/font/font.desc
font: can't open file: verdana.ttf
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> 'C:/AvsPmod/scripts/mplayer/fonts'
Using Windows native timing
get_path('input.conf') -> 'C:/AvsPmod/scripts/mplayer/input.conf'
Parsing input config file C:/AvsPmod/scripts/mplayer/input.conf
Input config file C:/AvsPmod/scripts/mplayer/input.conf parsed: 92 binds
get_path('script.avs.conf') -> 'C:/AvsPmod/scripts/mplayer/script.avs.conf'

[[[init getch2]]]

Playing script.avs.
get_path('sub/') -> 'C:/AvsPmod/scripts/mplayer/sub/'
WINSOCK2 init: 0
WINSOCK2 init: 0
[file] File size is 796 bytes
STREAM: [file] script.avs
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
s->pos=0  newpos=0  new_bufpos=0  buflen=0
LAVF_check: no clue about this gibberish!
DEMUXER: freeing libavformat demuxer at 00290f70
DEMUXER: freeing AVI demuxer at 00290f70
Checking for YUV4MPEG2
DEMUXER: freeing YUV4MPEG2 demuxer at 00290f70
ASF_check: not ASF guid!
DEMUXER: freeing ASF demuxer at 00290f70
Checking for REAL
DEMUXER: freeing REAL demuxer at 00290f70
Checking for SMJPEG
DEMUXER: freeing SMJPEG demuxer at 00290f70
[mkv] no head found
DEMUXER: freeing Matroska demuxer at 00290f70
DEMUXER: freeing REALAUDIO demuxer at 00290f70
DEMUXER: freeing VQF demuxer at 00290f70
Ogg demuxer : Bad page sync
DEMUXER: freeing Ogg demuxer at 00290f70
Searching demuxer type for filename script.avs ext: .avs
Trying demuxer 38 based on filename extension
AVS: avs_check_file - attempting to open file script.avs
AVS: Init Ok
AVS file format detected.
AVS: demux_open_avs()
==> Found video stream: 0
VIDEO:  [YV12]  320x240  12bpp  15.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:38  fourcc:0x32315659  size:320x240  fps:15.000  ftime:=0.0667
get_path('sub/') -> 'C:/AvsPmod/scripts/mplayer/sub/'
<vo_directx><INFO>Initing DirectDraw
<vo_directx><INFO>DirectDraw Initialized
<vo_directx><INFO>initial mplayer windows created
<vo_directx><INFO>checking primary surface
<vo_directx><INFO>primary surface created
<vo_directx><FORMAT PRIMARY>14 BGR32 supported
<vo_directx><INFO>testing supported overlay pixelformats
<vo_directx><FORMAT OVERLAY>0 YV12  supported
<vo_directx><FORMAT OVERLAY>1 I420  not supported
<vo_directx><FORMAT OVERLAY>2 IYUV  not supported
<vo_directx><FORMAT OVERLAY>3 YVU9  supported
<vo_directx><FORMAT OVERLAY>4 YUY2  supported
<vo_directx><FORMAT OVERLAY>5 UYVY  supported
<vo_directx><FORMAT OVERLAY>6 BGR8  not supported
<vo_directx><FORMAT OVERLAY>7 RGB15 supported
<vo_directx><FORMAT OVERLAY>8 BGR15 supported
<vo_directx><FORMAT OVERLAY>9 RGB16 supported
<vo_directx><FORMAT OVERLAY>10 BGR16 supported
<vo_directx><FORMAT OVERLAY>11 RGB24 not supported
<vo_directx><FORMAT OVERLAY>12 BGR24 not supported
<vo_directx><FORMAT OVERLAY>13 RGB32 supported
<vo_directx><FORMAT OVERLAY>14 BGR32 supported
<vo_directx><INFO>Your card supports 10 of 15 overlayformats
<vo_directx><INFO>hardware supports overlay
<vo_directx><INFO>preinit succesfully finished
===========================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
Trying filter chain: vo
vo_debug: query(Planar YV12) returned 0x417 (i=0)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (320x240->320x240,flags=0,'MPlayer',0x32315659)
VO: [directx] 320x240 => 320x240 Planar YV12
VO: Description: Directx DDraw YUV/RGB/BGR renderer
VO: Author: Sascha Sommer <saschasommer at freenet.de>
<vo_directx><INFO>overlay surfaces released
<vo_directx><INFO>primary surface created
<vo_directx><INFO>overlay with format YV12  created
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
===========================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
*** [vo] Exporting mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
(imgfmt: 32315659, planes: 00000000,00000000,00000000 strides: 0,0,0, chroma: 16
0x120, shift: h:1,v:1)
get_path('subfont.ttf') -> 'C:/AvsPmod/scripts/mplayer/subfont.ttf'
Unicode font: 3194 glyphs.
Selected font is fixed-width.
get_path('subfont.ttf') -> 'C:/AvsPmod/scripts/mplayer/subfont.ttf'
Unicode font: 3194 glyphs.
Selected font is fixed-width.
OSD chg: 6  V: no  pb:-1
OSD chg: 5  V: no  pb:-1
OSD chg: 3  V: no  pb:-1
OSD chg: 2  V: no  pb:-1
V:   1.3  21/ 21  0%  2%  0.0% 0 0
  =====  PAUSE  =====

[------------------------------------------------------------------------------]

Adding file script.avs
Config pushed level is now 2
Config pushed level is now 3
MPlayer Sherpya-SVN-r32198-4.2.5 (C) 2000-2010 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 2.40GHz (Family: 15, Model: 2, Steppin
g: 9)
extended cpuid-level: 4
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 0
Compiled with runtime CPU detection.
get_path('codecs.conf') -> 'C:/AvsPmod/scripts/mplayer/codecs.conf'
Reading C:/AvsPmod/scripts/mplayer/codecs.conf: parse error at line 135
Reading /mingw/etc/mplayer/codecs.conf: Can't open '/mingw/etc/mplayer/codecs.co
nf': No such file or directory
Using built-in default codecs.conf.
Configuration: --extra-cflags=-I/c/Work/mplayer/live --prefix=/mingw --enable-st
atic --enable-md5sum --enable-menu --enable-faac --enable-enca --enable-sdl --en
able-caca --enable-gl --enable-freetype --enable-png --enable-mng --enable-jpeg
--enable-gif --enable-tga --enable-mad --enable-tv --enable-theora --disable-vid
ix --disable-faac-lavc --disable-inet6 --enable-runtime-cpudetection
CommandLine: '-nofontconfig' '-msglevel' 'all=9' 'script.avs'
init_freetype
get_path('font/font.desc') -> 'C:/AvsPmod/scripts/mplayer/font/font.desc'
font: can't open file: C:/AvsPmod/scripts/mplayer/font/font.desc
font: can't open file: /mingw/share/mplayer/font/font.desc
font: can't open file: verdana.ttf
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> 'C:/AvsPmod/scripts/mplayer/fonts'
Using Windows native timing
get_path('input.conf') -> 'C:/AvsPmod/scripts/mplayer/input.conf'
Parsing input config file C:/AvsPmod/scripts/mplayer/input.conf
Input config file C:/AvsPmod/scripts/mplayer/input.conf parsed: 92 binds
get_path('script.avs.conf') -> 'C:/AvsPmod/scripts/mplayer/script.avs.conf'

[[[init getch2]]]

Playing script.avs.
get_path('sub/') -> 'C:/AvsPmod/scripts/mplayer/sub/'
WINSOCK2 init: 0
WINSOCK2 init: 0
[file] File size is 796 bytes
STREAM: [file] script.avs
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
s->pos=0  newpos=0  new_bufpos=0  buflen=0
LAVF_check: no clue about this gibberish!
DEMUXER: freeing libavformat demuxer at 002925b0
DEMUXER: freeing AVI demuxer at 002925b0
Checking for YUV4MPEG2
DEMUXER: freeing YUV4MPEG2 demuxer at 002925b0
ASF_check: not ASF guid!
DEMUXER: freeing ASF demuxer at 002925b0
Checking for REAL
DEMUXER: freeing REAL demuxer at 002925b0
Checking for SMJPEG
DEMUXER: freeing SMJPEG demuxer at 002925b0
[mkv] no head found
DEMUXER: freeing Matroska demuxer at 002925b0
DEMUXER: freeing REALAUDIO demuxer at 002925b0
DEMUXER: freeing VQF demuxer at 002925b0
Ogg demuxer : Bad page sync
DEMUXER: freeing Ogg demuxer at 002925b0
Searching demuxer type for filename script.avs ext: .avs
Trying demuxer 38 based on filename extension
AVS: avs_check_file - attempting to open file script.avs

C:\Documents and Settings\Owner\Desktop\AvsPmod\scripts>

[------------------------------------------------------------------------------]

Adding file script.avs
Config pushed level is now 2
Config pushed level is now 3
MPlayer Redxii-SVN-r37291-4.8.3 (i686) (C) 2000-2014 MPlayer Team
Compiled against FFmpeg version N-66532-g3f5095f
Build date: Mon Sep 29 00:23:33 EDT 2014
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 2.40GHz (Family: 15, Model: 2, Steppin
g: 9)
extended cpuid-level: 4
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSE3: 0 SSSE3: 0 S
SE4: 0 SSE4.2: 0 AVX: 0
Compiled with runtime CPU detection.
Setting PATH to C:\Documents and Settings\Owner\Desktop\AvsPmod\scripts\codecs
get_path('codecs.conf') -> 'C:/AvsPmod/scripts/mplayer/codecs.conf'
Reading optional codecs config file C:/AvsPmod/scripts/mplayer/codecs.conf: 203 
audio & 422 video codecs
init_freetype
get_path('font/font.desc') -> 'C:/AvsPmod/scripts/mplayer/font/font.desc'
font: can't open file: C:/AvsPmod/scripts/mplayer/font/font.desc
font: can't open file: verdana.ttf
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> 'C:/AvsPmod/scripts/mplayer/fonts'
Configuration: --enable-static --enable-runtime-cpudetection --enable-menu --ena
ble-dvdread --enable-dvdnav --disable-inet6 --disable-libmpeg2-internal --disabl
e-tv --disable-vidix --disable-faac-lavc --disable-dvdread-internal --extra-cfla
gs=-I/mingw/src/live555 --disable-mencoder
CommandLine: '-nofontconfig' '-msglevel' 'all=9' 'script.avs'
Using Windows native timing
get_path('input.conf') -> 'C:/AvsPmod/scripts/mplayer/input.conf'
Parsing input config file C:/AvsPmod/scripts/mplayer/input.conf
Input config file C:/AvsPmod/scripts/mplayer/input.conf parsed: 92 binds
get_path('script.avs.conf') -> 'C:/AvsPmod/scripts/mplayer/script.avs.conf'

[[[init getch2]]]

Playing script.avs.
get_path('sub/') -> 'C:/AvsPmod/scripts/mplayer/sub/'
WINSOCK2 init: 0
WINSOCK2 init: 0
[file] File size is 796 bytes
STREAM: [file] script.avs
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
s->pos=0  newpos=0  new_bufpos=0  buflen=0
libavformat version 56.7.101 (internal)
Configuration: --enable-gpl --enable-postproc
LAVF_check: no clue about this gibberish!
DEMUXER: freeing libavformat demuxer at 04856008
DEMUXER: freeing AVI demuxer at 04856008
Checking for YUV4MPEG2
DEMUXER: freeing YUV4MPEG2 demuxer at 04856008
ASF_check: not ASF guid!
DEMUXER: freeing ASF demuxer at 04856008
Checking for REAL
DEMUXER: freeing REAL demuxer at 04856008
Checking for SMJPEG
DEMUXER: freeing SMJPEG demuxer at 04856008
[mkv] no head found
DEMUXER: freeing Matroska demuxer at 04856008
DEMUXER: freeing REALAUDIO demuxer at 04856008
DEMUXER: freeing VQF demuxer at 04856008
Ogg demuxer : Bad page sync
DEMUXER: freeing Ogg demuxer at 04856008
Searching demuxer type for filename script.avs ext: .avs
Trying demuxer 38 based on filename extension
AVS: avs_check_file - attempting to open file script.avs

C:\AvsPmod\scripts>

[------------------------------------------------------------------------------]


More information about the MPlayer-users mailing list