Torgeir Veimo schrieb: > On 3 Apr 2007, at 22:15, Martin Wache wrote: > >> Torgeir Veimo schrieb: >>> Now I get; >>> >>> [...] > >>> /var/tmp//ccpGFYQd.s:1399:Unimplemented segment type 5 in >>> parse_operand >>> >>> I'll try updating my ffmpeg library. It's a shame it's not available >>> through fink. >>> >> Please also try disable mmx optimizations, I'm not sure if Mac Os >> allows >> the same syntax as Linux. > > Almost there.. > > g++ -O2 -g -Wall -fPIC -Woverloaded-virtual -dynamiclib -Wl,- > single_module,-undefined,dynamic_lookup softdevice.o utils.o i18n.o > video.o mpeg2decoder.o audio.o video-dummy.o setup-softdevice.o setup- > softdevice-menu.o setup-softlog.o setup-softlog-menu.o sync-timer.o > SoftOsd.o PicBuffer.o VideoFilter.o audio-macos.o video-quartz.o > video-shm.o -L/usr/local/lib -lavformat -lavcodec -lz -lavutil - > framework Carbon -framework CoreAudio -framework AudioUnit -framework > AudioToolbox -framework Carbon -framework AGL -framework OpenGL -o > libvdr-softdevice.so > ld: /usr/local/lib/libavformat.a(utils.o) has local relocation > entries in non-writable section (__TEXT,__text) > /usr/bin/libtool: internal link edit command failed > make: *** [libvdr-softdevice.so] Error 1 > > How do you configure and build your ffmpeg installation? >
You have to remove the "-mdynamic-no-pic" option from ffmpeg config.mak and recompile ffmpeg. I have not yet committed the Readme-Macos, some things are already outdated, but maybe it is usefull: Problems with shmget: Change /etc/rc sysctl -w kern.sysv.shmmax=134217728 sysctl -w kern.sysv.shmmin=1 sysctl -w kern.sysv.shmmni=32 sysctl -w kern.sysv.shmseg=8 sysctl -w kern.sysv.shmall=32768 shmall=shmmax/4096 (on 10.3 Panther) _Reboot_ after change, it is not possible to change the parameters on runtime! To compile the softdevice: - get ffmpeg (the SVN version is usually the best..) - configure and compile ffmpeg ./configure --disable-encoders make (Note: you may have to remove "-mdynamic-no-pic" from config.mak before compil ng if linking fails with the softdevice.) - configure the softdevice in the softdevice directory: ./configure --with-ffmpeg-path path-to-your-ffmpeg --disable-subplugins - go back to vdr's directory and compile the plugins: make plugins (Note: you may have to set the deployment target to 10.3 with "export MACOSX_DEPLOYMENT_TARGET=10.3" on MacOs X 10.3) To compile the client, change to the softdevice directory, type "make MacVdrClie nt". To start vdr with the softdevice use: "./vdr -P"softdevice -vo shm:" ", vdr will start and wait for connection of the client. To start the client, simply start it using "./MacVdrClient.app/Contents/MacOS/MacVdrClient " in the softdevice directory. This has been tested on a iBook G4 1.2GHz using MacOs 10.3.9 and a Powerbook G4 using MacOsX 10.4. Bye, Martin _______________________________________________ Softdevice-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/softdevice-devel
