Re: [Ekiga-devel-list] ekiga-snapshot Debian package



Hi,

Le lundi 03 septembre 2007 �7:35 +0200, Luca Capello a �it :
> Ciao Matthias!
> 
> On Sat, 01 Sep 2007 11:00:15 +0200, Matthias Schneider wrote:
> > [deleted]
> >>> I guessed that and that's way I specifically asked why libx264
> >>> isn't fully dynamically loaded (as libavcodec).
> >>
> >> Maybe Matthias can provide a "fix" to this. Then the Depends will
> >> also move to Suggests.
> >
> > Please let me elaborate why we have to go through all this hassles:
> 
> Thank you for the explanation, I very much appreciated.
> 
> > b) dynamically load x264 from the GPL process and tell the plugin
> > via the pipes whether the loading was successfull or not (which can
> > then activate or deactivate itself)
> [...]
> > how to get the library name of libavcodec ???
> 
> It seems that both issues have been fixed, from opal changelog:
> =====
> 2007-09-02 22:56  dominance
> 
> 	* plugins/: configure, configure.ac: fix detection of libavcodec.
> 	  Thanks goes once again to Matthias Schneider.
> 
> [...]
> 
> 2007-09-02 14:03  dominance
> 
> 	* plugins/video/H.264/: Makefile.in, h264-x264.cxx,
> 	  h264pipe_unix.cxx, h264pipe_unix.h, gpl/Makefile.in,
> 	  gpl/enc-ctx.cxx, gpl/enc-ctx.h, gpl/h264helper_unix.cxx,
> 	  shared/h264frame.cxx, shared/pipes.h: * dynamically load libx264
> 	  at runtime on *nix * Improved error handling
> 
> 	  Patch received from and thus thanks goes to Matthias Schneider.
> 
> 2007-09-02 14:00  dominance
> 
> 	* configure.ac, plugins/Makefile.in, plugins/configure.ac,
> 	  plugins/video/H.263-1998/Makefile.in,
> 	  plugins/video/H.263-1998/h263-1998.cxx,
> 	  plugins/video/MPEG4-ffmpeg/Makefile.in,
> 	  plugins/video/MPEG4-ffmpeg/mpeg4.cxx,
> 	  plugins/video/common/dyna.cxx: * Improved x264 and libavcodec
> 	  detection: version check & library name check * changed BOOL to
> 	  bool in mpeg4 ( completion of previous commit)
> 
> 	  patch received from and thus thanks goes to Matthias Schneider.
> =====
> 
> Thank you very much, Michael.  Could you please send a fixed notice to
> the mailing list in case this will happen in the future?
> 
> Kilian, I think that libopal-cvs should now also suggests libx264-54!
> 
> However, even after having installed lix264-54 I still have some
> errors (log attached, there's also a parser error), because the opal
> plugins are in /usr/lib/pwlib-cvs/opal-2.3.2/codecs instead of
> /usr/lib/pwlib/codecs.  As soon as I put the plugins in the correct
> place, ekiga-snapshot shows the H264 video codec, too.
> 

I can confirm this trick using Ubuntu Feisty:

I set up 2 symlink:
/usr/lib/pwlib$ ls -l
[...]
lrwxrwxrwx 1 root root   32 2007-09-03 18:02 libavcodec.so
-> /usr/lib/pwlib-cvs/libavcodec.so

and
/usr/lib/pwlib/codecs/video$ ls -l
total 4
lrwxrwxrwx 1 root root 69 2007-09-03 18:08 h264_video_pwplugin_helper
-> /usr/lib/pwlib-cvs/opal-2.3.2/codecs/video/h264_video_pwplugin_helper

Result:
~$ ekiga-snapshot -d 4
        dyna.cxx(104)   H264    DYNA    Successfully loaded
libavcodec.so.0d
        dyna.cxx(271)   H264    DYNA    Failed to load
ff_check_alignment - alignment checks will be skipped
        dyna.cxx(436)   H264    DYNA    ff_check_alignment is not
supported by libavcodec.so - skipping check
        dyna.cxx(330)   H264    DYNA    Successfully loaded libavcodec
library and verified functions
h264pipe_unix.cxx(287)  H264    IPC     PP: Found GPL process executable
in  /usr/lib/pwlib/codecs/video/h264_video_pwplugin_helper
x264loader_unix.cxx(123)        H264    DYNA    Successfully loaded
libx264.so.54
x264loader_unix.cxx(101)        H264    DYNA    Loader was compiled with
x264 build 54 present
x264loader_unix.cxx(104)        H264    DYNA    Successfully loaded
libx264 library and verified functions
h264pipe_unix.cxx(118)  H264    IPC     PP: Successfully forked child
process 12826 and established communication
   h264-x264.cxx(442)   H264    Codec   Enabled
        dyna.cxx(104)   H263+   DYNA    Successfully loaded
libavcodec.so.0d
        dyna.cxx(271)   H263+   DYNA    Failed to load
ff_check_alignment - alignment checks will be skipped
        dyna.cxx(436)   H263+   DYNA    ff_check_alignment is not
supported by libavcodec.so - skipping check
        dyna.cxx(330)   H263+   DYNA    Successfully loaded libavcodec
library and verified functions
   h263-1998.cxx(599)   H263+   Codec   Enabled
   h264-x264.cxx(442)   H264    Codec   Enabled
   h263-1998.cxx(599)   H263+   Codec   Enabled
2007/09/03 18:11:08.904   0:02.242      ekiga-snap...a-snapshot Detected
audio plugins: ALSA
2007/09/03 18:11:08.905   0:02.242      ekiga-snap...a-snapshot Detected
video plugins: YUVFile,Shm,Picture,V4L2,V4L
2007/09/03 18:11:08.905   0:02.242      ekiga-snap...a-snapshot Detected
audio plugins: ALSA
2007/09/03 18:11:08.905   0:02.242      ekiga-snap...a-snapshot Detected
video plugins: YUVFile,Shm,Picture,V4L2,V4L
2007/09/03 18:11:09.760   0:03.098      ekiga-snap...a-snapshot Detected
the following audio input devices: Default,USB Device 0x46d:0x8b4,NVidia
CK804 with plugin ALSA
2007/09/03 18:11:09.761   0:03.098      ekiga-snap...a-snapshot Detected
the following audio output devices: Default,NVidia CK804 with plugin
ALSA
2007/09/03 18:11:09.761   0:03.098      ekiga-snap...a-snapshot Detected
the following video input devices: Logitech QuickCam Zoom with plugin
V4L2
2007/09/03 18:11:09.761   0:03.098      ekiga-snap...a-snapshot Detected
the following audio input devices: Default,USB Device 0x46d:0x8b4,NVidia
CK804 with plugin ALSA
2007/09/03 18:11:09.761   0:03.098      ekiga-snap...a-snapshot Detected
the following audio output devices: Default,NVidia CK804 with plugin
ALSA
2007/09/03 18:11:09.761   0:03.098      ekiga-snap...a-snapshot Detected
the following video input devices: Logitech QuickCam Zoom with plugin
V4L2

(ekiga-snapshot:12824): Gtk-CRITICAL **: gtk_notebook_append_page:
assertion `GTK_IS_WIDGET (child)' failed
2007/09/03 18:11:10.371   0:03.709      ekiga-snap...a-snapshot Ekiga
version 2.1.0
2007/09/03 18:11:10.372   0:03.709      ekiga-snap...a-snapshot OPAL
version 2.3.2
2007/09/03 18:11:10.372   0:03.709      ekiga-snap...a-snapshot PWLIB
version 1.11.3
2007/09/03 18:11:10.372   0:03.709      ekiga-snap...a-snapshot GNOME
support enabled
2007/09/03 18:11:10.372   0:03.709      ekiga-snap...a-snapshot
Accelerated rendering support enabled
2007/09/03 18:11:10.372   0:03.709      ekiga-snap...a-snapshot DBUS
support enabled
2007/09/03 18:11:10.372   0:03.709      ekiga-snap...a-snapshot GConf
support enabled
2007/09/03 18:11:10.372   0:03.709      ekiga-snap...a-snapshot Bonobo
support enabled
2007/09/03 18:11:10.372   0:03.709      ekiga-snap...a-snapshot ESound
support enabled
2007/09/03 18:11:10.380   0:03.717      ekiga-snap...a-snapshot Set TCP
port range to 30000:30010
2007/09/03 18:11:10.380   0:03.717      ekiga-snap...a-snapshot Set RTP
port range to 5000:5059
2007/09/03 18:11:10.380   0:03.717      ekiga-snap...a-snapshot Set UDP
port range to 5060:5100
2007/09/03 18:11:11.322   0:04.659      ekiga-snap...a-snapshot Detected
audio codecs:
G.711-ALaw-64k,G.711-uLaw-64k,G.726-16k,G.726-24k,G.726-32k,G.726-40k,GSM-06.10,GSM-AMR,iLBC-13k3,LPC-10,SpeexNB,SpeexIETFNarrow-8k,SpeexWNarrow-8k,SpeexWB,SpeexIETFWide-20.6k,SpeexWide-20.6k
2007/09/03 18:11:11.399   0:04.736      ekiga-snap...a-snapshot Detected
video codecs: H.261,H.261-CIF,H.261-QCIF,H.263P,H.264,theora

> I don't want to bother you (i.e. all ekiga/opal/pwlib developers) with
> silly questions, but why don't install/search the plugins in
> /usr/lib/opal-$VERSION/codecs?  Or, like pwlib actually does for its
> plugins, in /usr/lib/opal/$VERSION/codecs?  From a profane POV, this
> will be "consistent" about the plugins origin.
> 
> Now, we need to fix the ekiga-snasphot dependency to libopal-cvs :-)
> 
> I'm not going to discuss the audio/video quality of ekiga-snapshot
> compared to ekiga-2.0.9, because I just performed a preliminary test
> and it doesn't belong to this thread.
> 
> Again, kudos to Michael for the very fast fixes, replies and
> explanations.
> 
> Thx, bye,
> Gismo / Luca
> 
> _______________________________________________
> Ekiga-devel-list mailing list
> Ekiga-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/ekiga-devel-list
-- 
Me joindre en t�phonie IP / vid�onf�nce ?
sip:yannick ekiga net
Logiciel de VoIP Ekiga : http://www.ekiga.org
http://wiki.ekiga.org/index.php/Which_programs_work_with_Ekiga_%3F




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]