[MPlayer-users] AviSynth and MPlayer?

Wayne Wayne at TradeTimer.com
Tue Jun 17 18:41:58 CEST 2014


I'm unable to figure why MPlayer won't process an AVS (AviSynth) script.  Attempting to run a simple two-line script (change the frame rate on a tiny video clip) results in the following log files.  This is my standard SMPlayer/MPlayer combo that plays literally everything I throw at it -- except AVS scripts.  SMPlayer lists the MPlayer demuxer support as such: "avs - Avisynth demuxer (Requires binary dll)".  The reference to needing a binary DLL is puzzling.  I have AviSynth 'installed' on the system; I don't know what and where any other DLL should be.  Maybe that's the only problem?

The log resulting from trying to run the script 'directly' through MPlayer is at the bottom.  It says "MPlayer crashed by bad usage of CPU/FPU/RAM" .. don't know what that's about since there should be plenty of memory, and MPlayer runs the referenced video clip and everything else without problem.  I have no way to 'Recompile MPlayer' for further analysis.

BTW, FFplay plays AVS scripts just fine, and FFmpeg can render them.  Don't know if that helps.  I can send the (long) SMPlayer log file as well, if needed.    This seems to be the most relevent part of that log...

[08:37:03:604] Core::startMplayer: command: 'C:/SMPlayer/mplayer.exe -noquiet -nofs -nomouseinput -demuxer lavf -sub-fuzziness 1 -identify -slave -vo directx -ao dsound -nokeepaspect -priority normal -nodr -double -wid 1770054 -colorkey 0x808080 -monitorpixelaspect 1 -noass -subfont-autoscale 1 -subfont-text-scale 5 -subcp enca:en:ISO-8859-1 -subpos 100 -contrast -7 -hue 5 -saturation -2 -cache 2048 -osdlevel 0 -idx -vf-add eq2,hue -vf-add screenshot -noslices -channels 2 -af volnorm=1,scaletempo,equalizer=0:0:0:0:0:0:0:0:0:0 -nofontconfig -sws 7 -vf-add scale=1280:-3:::40 C:\SMPlayer\CONVER~1.AVS'

Thanks for your help on this.

____________

MPlayer log via SMPlayer.  All that happens is it just stops as though the script isn't recognized...

C:/SMPlayer/mplayer.exe -noquiet -nofs -nomouseinput -demuxer lavf -sub-fuzziness 1 -identify -slave -vo directx -ao dsound -nokeepaspect -priority normal -nodr -double -wid 1770054 -colorkey 0x808080 -monitorpixelaspect 1 -noass -subfont-autoscale 1 -subfont-text-scale 5 -subcp enca:en:ISO-8859-1 -subpos 100 -contrast -7 -hue 5 -saturation -2 -cache 2048 -osdlevel 0 -idx -vf-add eq2,hue -vf-add screenshot -noslices -channels 2 -af volnorm=1,scaletempo,equalizer=0:0:0:0:0:0:0:0:0:0 -nofontconfig -sws 7 -vf-add scale=1280:-3:::40 C:\SMPlayer\CONVER~1.AVS

MPlayer Redxii-SVN-r37225-4.8.3 (i686) (C) 2000-2014 MPlayer Team
Compiled against FFmpeg version N-63948-g6b9685d
Build date: Sat Jun 14 09:03:42 EDT 2014
Setting process priority: normal

203 audio & 422 video codecs

Playing C:\SMPlayer\CONVER~1.AVS.

Cache fill:  0.00% (0 bytes)   
Cache fill:  0.01% (125 bytes)   

libavformat version 55.43.100 (internal)

Exiting... (End of file)
ID_EXIT=EOF
____________

MPlayer log running MPlayer directly: "mplayer -vo directx -nofontconfig -v convertfps.avs > mplayer.log"...

MPlayer Redxii-SVN-r37225-4.8.3 (i686) (C) 2000-2014 MPlayer Team
Compiled against FFmpeg version N-63948-g6b9685d
Build date: Sat Jun 14 09:03:42 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, Stepping: 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 SSE4: 0 SSE4.2: 0 AVX: 0
Compiled with runtime CPU detection.
Setting PATH to C:\SMPlayer\codecs
get_path('codecs.conf') -> 'C:/SMPlayer/mplayer/codecs.conf'
Reading optional codecs config file C:/SMPlayer/mplayer/codecs.conf: 203 audio & 422 video codecs
init_type
get_path('font/font.desc') -> 'C:/SMPlayer/mplayer/font/font.desc'
font: can't open file: C:/SMPlayer/mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
font: can't open file: subfont.ttf
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> 'C:/SMPlayer/mplayer/fonts'
Configuration: --enable-static --enable-runtime-cpudetection --enable-menu --enable-dvdread --enable-dvdnav --disable-inet6 --disable-libmpeg2-internal --disable-tv --disable-vidix --disable-faac-lavc --disable-dvdread-internal --extra-cflags=-I/mingw/src/live555 --disable-mencoder
CommandLine: '-vo' 'directx' '-nofontconfig' '-v' 'convertfps.avs'
Using Windows native timing
get_path('input.conf') -> 'C:/SMPlayer/mplayer/input.conf'
Parsing input config file C:/SMPlayer/mplayer/input.conf
Input config file C:/SMPlayer/mplayer/input.conf parsed: 92 binds
get_path('convertfps.avs.conf') -> 'C:/SMPlayer/mplayer/convertfps.avs.conf'

Playing convertfps.avs.
get_path('sub/') -> 'C:/SMPlayer/mplayer/sub/'
WINSOCK2 init: 0
WINSOCK2 init: 0
[file] File size is 125 bytes
STREAM: [file] convertfps.avs
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
libavformat version 55.43.100 (internal)
Configuration: --enable-gpl --enable-postproc
LAVF_check: no clue about this gibberish!
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename convertfps.avs ext: .avs
Trying demuxer 38 based on filename extension
AVS: avs_check_file - attempting to open file convertfps.avs
___

Program aborts .. command window output...

MPlayer interrupted by signal 11 in module: demux_open
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.



----- Original Message -----
From: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
To: wayne at tradetimer.com, "MPlayer usage questions, feature requests, bug reports" <mplayer-users at mplayerhq.hu>
Date: Fri, 6 Jun 2014 12:52:02 +0200
Subject: Re: [MPlayer-users] AviSynth and MPlayer?

On Mon, Jun 02, 2014 at 07:05:48AM -0700, Wayne wrote:
> I have seen written that MPlayer can handle AVS (AviSynth) files, but I've been unsuccesful in my attempts to get it to recognize that format.  The Demuxer list in SMPlayer shows that the version of MPlayer I'm using (r37205) does, indeed, have that capability, but when I drop an AVS script on it nothing happens.  The listing mentions that the AviSynth demuxer "Requires binary dll".  I DO have AviSynth 'installed' on the system, and even tried copying the dll to the MPlayer folder, but nothing seems to make MPlayer recognise or play the AVS script.  Is there something I'm overlooking here?  Any help would be much appreciated.

Drag-and-drop might cause issues.
Mostly though, nobody can tell without more information.
We'd at least need the MPlayer output/log. I believe SMPlayer should
have a menu entry somewhere that shows it.


More information about the MPlayer-users mailing list