[MPlayer-users] mencoder.exe.so (mencode from sorenson v3)

Jan Pieter Cornet johnpc at xs4all.nl
Wed Nov 27 02:38:02 CET 2002


Hi,

Just a quick "Thanks!" on getting working Sorenson V3 in MPlayer. I got
it working nicely on debian "sid", linux 2.4.19-686-smp.

I noticed one thing: While seeking forward in .mov files, sometimes the
player jumps backwards slightly, instead of forward (maybe it cannot
find a keyframe in the right direction?). (Tested on this movie:
http://www2.foxsearchlight.com/lab/shorts/farmsluts/320.mov (50Mb,
~16:00, very dry and black humour, not pornographic but contains very
explicit bizarre sexual references (well, according to my standards))

Also, there was no "mencoder.exe.so", so it couldn't encode mov files to
another format. However compiling that turned out to be fairly easy, a
patch is attached which adds the appropriate Makefile target.

I successfully used the resulting mencoder.exe.so to make ellenfeiss.avi
and the abovementioned "farmsluts" as avi.

-- 
#!perl -pl	# This kenny-filter is virus-free as long as you don't copy it
$p=3-2*/[^\W\dmpf_]/i;s.[a-z]{$p}.vec($f=join('',$p-1?chr(sub{$_[0]*9+$_[1]*3+
$_[2]}->(map{/p|f/i+/f/i}split//,$&)+97):('m',p,f)[map{((ord$&)%32-1)/$_%3}(9,
3,1)]),5,1)='`'lt$&;$f.eig;				   # Jan-Pieter Cornet
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/Makefile,v
retrieving revision 1.236
diff -c -r1.236 Makefile
*** Makefile	16 Nov 2002 22:27:26 -0000	1.236
--- Makefile	27 Nov 2002 00:12:08 -0000
***************
*** 208,215 ****
--- 208,227 ----
  	libmpcodecs/ad_qtaudio.o libmpcodecs/vd_qtvideo.o \
  	-L/usr/local/lib/wine -lkernel32
  
+ ifeq ($(MENCODER),yes)
+ mencoder.exe.spec.c: libmpcodecs/libmpcodecs.a
+ 	winebuild -fPIC -o mencoder.exe.spec.c -exe mencoder.exe -mcui \
+ 	libmpcodecs/ad_qtaudio.o libmpcodecs/vd_qtvideo.o \
+ 	-L/usr/local/lib/wine -lkernel32
+ endif
+ 
  mplayer.exe.so:	$(MPLAYER_DEP) mplayer.exe.spec.c
  	$(CC) $(CFLAGS) -Wall -shared  -Wl,-rpath,/usr/local/lib -Wl,-Bsymbolic  -o mplayer.exe.so $(OBJS_MPLAYER) mplayer.exe.spec.c libvo/libvo.a libao2/libao2.a $(MENU_LIBS) $(VIDIX_LIBS) $(GUI_LIBS) $(COMMON_LIBS) $(GTK_LIBS) $(VO_LIBS) $(AO_LIBS) $(EXTRA_LIB) $(LIRC_LIB) $(STATIC_LIB) $(ARCH_LIB) -lwine -lm 
+ 
+ ifeq ($(MENCODER),yes)
+ mencoder.exe.so:	$(MENCODER_DEP) mencoder.exe.spec.c
+ 	$(CC) $(CFLAGS) -Wall -shared  -Wl,-rpath,/usr/local/lib -Wl,-Bsymbolic  -o mencoder.exe.so $(OBJS_MENCODER) mencoder.exe.spec.c libmpcodecs/libmpencoders.a $(COMMON_LIBS) $(EXTRA_LIB) $(ENCORE_LIB) $(MLIB_LIB) $(LIRC_LIB) $(ARCH_LIB) $(VIDIX_LIBS) -lwine -lm 
+ endif
  
  mplayer_wine.so:	$(MPLAYER_DEP)
  	./darwinfixlib.sh $(MPLAYER_DEP)


More information about the MPlayer-users mailing list