[FFmpeg-trac] #2819(avcodec:new): [Android] avcodec cannot find symbol OMXCodec::Create

FFmpeg trac at avcodec.org
Wed Jul 31 09:09:52 CEST 2013


#2819: [Android] avcodec cannot find symbol OMXCodec::Create
------------------------------------+-----------------------------------
             Reporter:  cxo         |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  important   |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------

Comment (by cxo):

 Yes this is easily reproducible with Android 4+

 Its actually the opposite of a regression. The issue is that the
 libstagefright integration was done with a very old version of Android
 (2.3 aka Gingerbread) and thus is no longer compatible with newer versions
 of Android/stagefright/openMAX.

 I don't believe this has even worked for at least a year now. I was really
 surprised to see how broken the libstagefright integration is in FFmpeg. I
 thought this was a popular usage model given that its possibly the only
 way you can access the OpenMAX hw codec plugins through FFmpeg. Or am I
 wrong?

 I made the necessary changes to libavcodec/libstagefright.cpp to support
 Android HEAD and got it to compile and it "sorta" worked. But overall the
 code is really broken and I'm not even going to try go any further. It
 needs a re-write.

 I've resorted to using FFmpeg in parallel with stagefright as opposed to
 trying to use stagefright/openMAX through FFmpeg. And in Android 4.3
 onwards I will be dropping FFmpeg altogether in favour of the new
 android.media.* classes.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2819#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list