[FFmpeg-devel] [PATCH] adding xavs encoding support

jianwen chen jianwen.chen.video
Thu Jul 22 16:24:48 CEST 2010


On Thu, Jul 22, 2010 at 1:59 AM, Stefan Gehrer <stefan.gehrer at gmx.de> wrote:

> On 07/21/2010 10:14 AM, jianwen chen wrote:
>
>
>>   I have modified all the problems you mentioned, the patch is attached.
>>  Please review and check.
>>
>
> When was the last time you checked the patch yourself?
> libavcodec/libxavs.c in your patch calls a function
> xavs_param_default(), which was removed from xavs.h with revision 20.
> According to
>
> http://xavs.svn.sourceforge.net/viewvc/xavs/trunk/xavs.h?r1=13&r2=20
>
> this was six months ago.
>
> Re-adding the line
>
> void xavs_param_default( xavs_param_t * );
>
> to xavs.h fixes this.
> If I do this manually I can compile, but when I try to encode I get
> segmentation faults in xavs_encoder_encode() without a usable
> backtrace. Command line I used:
>
> ffmpeg -s cif -i foreman.yuv -vcodec libxavs out.avi
>
> Could you please check?
>
>    Dear Stefan,

   Thanks for point out the mistakes. Now the bugs of xavs are fixed.
   The xavs version which I used is ok:)
    Please check out the latest version xavs code
    svn co https://xavs.svn.sourceforge.net/svnroot/xavs/trunk xavs

    And the ffmpeg patch is no problem and the latest is in the previous
mail,
    patch-ffmpeg-svn-r24248-for-libxavs-update5.patch1

    And it works well now.


Stefan
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>



More information about the ffmpeg-devel mailing list