android capture video frame

前端 未结 8 1744
名媛妹妹
名媛妹妹 2020-11-29 03:40

I need to get a frame of a video file (it may be on sdcard, cache dir or app dir). I have package android.media in my application and inside I have class MediaMetadataRetrie

8条回答
  •  孤街浪徒
    2020-11-29 04:19

    I have the same mistake on my application. I saw on this site that

    this is an unofficial way of doing it and it will only work in cupcake (and maybe later version). The Android team does not guarantee that libmedia_jni.so, which the java file uses, will be included or have the same interface in future versions.

    http://osdir.com/ml/AndroidDevelopers/2009-06/msg02442.html

    I have updated my phone to GingerBread and it doesn't work anymore.

提交回复
热议问题