On Sun, Feb 12, 2012 at 8:54 PM, Dan Dennedy <d...@dennedy.org> wrote:
> On Sun, Feb 12, 2012 at 8:34 PM, Brian Matherly <pez4br...@yahoo.com> wrote:
>>>>  2) MLT does not detect libx264 because it uses the new "encode2"
>>> field in
>>>>  AVCodec
>>>
>>> but this is a problem
>> <snip>
>>>
>>>>  Let me know if you want any help getting the avformat module updated.
>>> I'll
>>>>  probably start hacking on it anyway since I would like to see libx264
>>>>  working again.
>>>
>>> go for it
>>
>> Here is a quick (and proper) fix to get libx264 working again:
>> https://github.com/pez4brian/mlt/commit/405d42d200ad93ea2be347ce3615b968522635cd
>
> well, that was easy :) Did you test this with libav.org as well?
>

I checked with libav.org head, and it did not work. Your check is for
too recent a version. In libav, libx264 switched to encode2 with
54.0.0. However, the struct was changed in version 53.34.0. See
ffmpeg/doc/APIchanges for that info. This change to MLT is not
dependent upon when libx264 codec was switched, it only needs the API
change. There are other codecs that switched to encode2 earlier than
x264. I revised your commit and applied it.

-- 
+-DRD-+

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to