Re: [Opalvoip-user] Any patches for new ffmpeg?
Brought to you by:
csoutheren,
rjongbloed
From: Eugen D. <Eug...@pu...> - 2011-11-25 12:45:11
|
On 25/11/11 10:20, Alexander Sbitnev wrote: > Hi there! > Current debian stable distrib contain libavcodec libraries beyond 0.6.x > series. Is there any patches for 3.10 and trunk opal compatible with new > 0.7.x-0.8.x libavcodec libs? > I've checked some patch parts of patch for older versions of opal > https://build.opensuse.org/package/view_file?file=opal-config-fix.patch&package=opal&project=home%3Ajejb1%3AVideoConf&srcmd5=4b247688daba331145d9e035137fcc3d > It allow me to compile but looks like H.264 isn't quite working with > this patch. Or maybe it's just trunk source. H.263 looks working though. There is nothing done for ffmpeg >= 0.7 in current opal. As far as I see, the first problem is that decoder functions are absent: snoopy:~$ l /usr/lib/libavcodec.so.5* lrwxrwxrwx 1 root 21 Nov 16 20:26 /usr/lib/libavcodec.so.52 -> libavcodec.so.52.72.2 -rw-r--r-- 1 root 5009368 Jul 30 12:37 /usr/lib/libavcodec.so.52.72.2 lrwxrwxrwx 1 root 20 Nov 16 20:26 /usr/lib/libavcodec.so.53 -> libavcodec.so.53.5.0 -rw-r--r-- 1 root 6163168 Sep 5 07:34 /usr/lib/libavcodec.so.53.5.0 snoopy:~$ objdump -T /usr/lib/libavcodec.so.5* |grep h26.*decoder 00000000006bd5a0 g DO .data 0000000000000080 LIBAVCODEC_52 h263i_decoder 00000000006bc660 g DO .data 0000000000000080 LIBAVCODEC_52 h261_decoder 00000000006bcda0 g DO .data 0000000000000080 LIBAVCODEC_52 h263_decoder 00000000006bce40 g DO .data 0000000000000080 LIBAVCODEC_52 h264_vdpau_decoder 00000000006bcec0 g DO .data 0000000000000080 LIBAVCODEC_52 h264_decoder 00000000006bd5a0 g DO .data 0000000000000080 LIBAVCODEC_52 h263i_decoder 00000000006bc660 g DO .data 0000000000000080 LIBAVCODEC_52 h261_decoder 00000000006bcda0 g DO .data 0000000000000080 LIBAVCODEC_52 h263_decoder 00000000006bce40 g DO .data 0000000000000080 LIBAVCODEC_52 h264_vdpau_decoder 00000000006bcec0 g DO .data 0000000000000080 LIBAVCODEC_52 h264_decoder > P.S. Trying to execute codectest with excessive video resolution size > i've got SEGV. Probably a minor problem to consider. > > [h263 @ 0x1a64760] removing common factors from framerate > [h263 @ 0x1a64760] The specified picture size of 1280x720 is not valid > for the H.263 codec. > Valid sizes are 128x96, 176x144, 352x288, 704x576, and 1408x1152. Try > H.263+. > Dropping 0% of encoded frames > 0:00.348 codectest tlibthrd.cxx(588) PTLib > Thread high water mark set: 3 > codectest> 0:00.348 Video:0x3511c700 tlibthrd.cxx(500) > PTLib Started thread 0x7fffb8b9ab70 (13006) Video:0x3511c700 > Segmentation fault We need a gdb stack trace if possible. -- Eugen |