Hi Matthias, I just come back from vacation. Great work on the plugin system !
It opens the door to h263, h264 but also theora or other codecs ! It needs a deep review from me that I will try and do in the short term. I agree that we should get that patch up and working before going to new features on the video plugin codec system. Can you explain why you and to remove the dependency between pixertool and ffmpeg ? Pixertool was an explicit way to hide ffmpeg in the pixertool library which is a reusable library for palette format conversion. It seems necessary to me to be able to handle as many webcams as necessary. Jérôme -----Message d'origine----- De : Matthias Schneider [mailto:[EMAIL PROTECTED] Envoyé : lundi 21 août 2006 15:18 À : Vadim Lebedev; mstute; Jérôme WAGNER Cc : wengophone-devel Objet : Video Codec Plugin Sytem & H.264 Hi all, finally I have a preliminary version of my wengophone plugin system (for the files see ticket #855). I have tested it on linux only up to now. The H263 plugin should provide all the same functionality like the plugin-less wengophone. The H.264 plugin is also workable, but no real settings are yet applied (e.g. bitrate settings). In order to compile the H.264 plugin you have to have x264 installed and in a reachable library path and remove the comment from the codecs/SConscript file( in case you want to test H.264 and masquerade it as H.263 in the SIP/SDP exchange just change h264_plugin.c). Furthermore the codec parameters need tuning. See the instructions.txt for information about applying the patch. I would like to suggest to integrate the plugin system and get stability with the H.263 plugin, once that is done it is quite easy to completely finalize the H.264 plugin. The plugin interface is by no means final, I think there are still a few important things missing, however I think at this stage it is feasible to start integration. Further modifications will only affect few files. The plugin package contains the patch, an instructions file on how to apply the patch, a document on the changes done and this email. In case you are interested in integrating my patch I would ask for the following task to be done: - help me with windows compatibility, also for x264 - kick out avcodec dependency from pixertools (the only remaining dependency) -> wengophone should compile without ffmpeg - help me with the scons integration, I am not an scons master - select codecs installation directory and move them there when doing a scons codecs - install new version of ffmpeg (dont know how to add to subversion if already a subversion directory) into codecs/shared/ffmpeg, check with needed binaries (I think needed for windows) - add the codecs tree to the qtwengophone target so it is not neccessary to do a manual scons codecs - put in latest svn x264 in codecs/shared/x264, check for compilation on all systems - get the classics webcam implementation in NG quickly (see ticket 809) Also, although not right now since the pluin interface is not yet fully stabilized, the codecs will have to be represented at the GUI, I can offer to assist the respective developer on the following tasks: - there should be GUI access to codec list (right now hardcoded in phapi.c) - there should be GUI access to plugin presets and the detailed codec settings - save codec settings, in a configuration file for each codec Right now I will not be able to continue at this pace of development like I have been doing the last weeks. However, perhaps in a few weeks I would like to : - finalize the plugin interface - complete the implementation of H.264 plugin - write a documentation of the plugin interface - revise return values of functions - develop a method to get the payload number (in case of dynamic pt number & - implement additional codec negotiation - revise the timestamp handling and sync - work on the x264 settings for different bitrates - work on the x264 presets and configurable items Please feel free to post any kind of response, right now I would like to get the current state of development integrated and stabilized before working on new features... Matthias p.s. Following are the instructions on how to install the plugin-patch In order to use the plugin-patch do the following: 1. apply the patch: patch -p0 < wengo-plugins-0.5.R7197.patch 2. download latest ffmpeg into codecs/shared: svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg 2a. copy the SCon* files from the old to the new ffmpeg directory (I compile them with --enable-static) 2b. delete libs/ffmpeg 3. compile the phone: scons qtwengophone 4. compile the codecs: scons codecs 5. copy debug/codecs/shared/ffmpeg/libavcodec/libavcodec.so.51 to debug/wifo/phapi 6. copy debug/codecs/shared/ffmpeg/libavutil/libavutil.so.49 to debug/wifo/phapi (it should be easy to kick out ffmpeg from pixertool/ffmpeg-pixertool so we dont need it anymore there) 7. copy debug/codecs/h263/h263.so into wengo's root directory 8. start the phone LD_LIBRARY_PATH=./debug/libs/curl:./debug/wifo/phapi ./debug/qtwengophone ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de _______________________________________________ Wengophone-devel mailing list [email protected] http://dev.openwengo.com/mailman/listinfo/wengophone-devel
