[MPlayer-dev-eng] Re: [PATCH] Re: Frapsvid.dll - finally working

adland123 adland123 at yahoo.com
Sat May 14 20:59:42 CEST 2005


> Is the premiere hack necessary?  Roberto claims that it works for him
> without it.

this part was not necessary for me either.

> > Attached a working patch, it work on linux and win32, tested
> > with latest frapsvid.dll version 2.5.5.4432, that is the
> > only file needed.

worked with using the 2.5.4 dll from MPlayer HQ.
used sample files I created with the 2.5.5 demo under windows and all
the online samples from MPlayer HQ.

> It crashes immediately on my K6-III:

I am on an AMD 1800+ system which does have sse support.

more details about output formats listed from Graphedit under windows
RGB8,RGB24,RGB32,RGB555,RGB565,CLJR,UYVY,YUY2

I tried changing from BGR but it
caused errors with playback working as it then tries to load D3D9.DLL

Test patch:

--- main/loader/win32.c 2005-04-15 16:17:12.000000000 -0400
+++ updated/loader/win32.c      2005-05-14 13:44:38.000000000 -0400
@@ -4951,6 +4951,9 @@
     FF(printf,-1)
     FF(getenv,-1)
     FF(floor,-1)
+   /* needed by frapsvid.dll */
+    {"strstr",-1,(char *)&strstr},
+    {"qsort",-1,(void *)&qsort},
 #ifdef MPLAYER
     FF(_EH_prolog,-1)
 #endif

--- main/etc/codecs.conf        2005-05-04 19:41:46.000000000 -0400
+++ updated/etc/codecs.conf     2005-05-14 14:21:12.000000000 -0400
@@ -1724,6 +1724,15 @@
   dll "tsccvid.dll"
   out BGR32,BGR24,BGR15,BGR8 query,flip

+; Fraps - Realtime Video Capture - http://www.fraps.com/
+videocodec fraps
+  info "FRAPS: Realtime Video Capture"
+  status working
+  fourcc FPS1,fps1
+  driver vfw
+  dll "frapsvid.dll"
+  out BGR32 flip
+                 
 ; raw formats:  (now RGB formats are autodetected)

 ; these raw codecs are used mostly by TV input





More information about the MPlayer-dev-eng mailing list