[FFmpeg-trac] #8659(avdevice:new): av_display_rotation_set() has no effect in android_camera

FFmpeg trac at avcodec.org
Sun May 10 19:39:56 EEST 2020


#8659: av_display_rotation_set() has no effect in android_camera
------------------------------------+------------------------------------
             Reporter:  juha-h      |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avdevice
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by juha-h):

 I'm using ffmpeg libs from native code, not from Java/Kotlin.  In
 cpp/CMakeLists.txt I have

 target_link_libraries(baresip
         android
         EGL
         GLESv2
         GLESv1_CM
         OpenSLES
         lib_baresip
         lib_rem
         lib_re
         lib_ssl
         lib_crypto
         lib_opus
         lib_avdevice
         lib_avfilter
         lib_swscale
         lib_avformat
         lib_avcodec
         lib_x264
         lib_vpx
         lib_avutil
         lib_swresample
         lib_postproc
         lib_spandsp
         lib_g722_1
         lib_ilbc
         lib_amrnb
         lib_webrtc
         lib_zrtp
         lib_bn
         z
         log
         camera2ndk
         mediandk)

 What #include file do I need to add in native code file order to be able
 to execute ffmpeg cli commands?

 Looks like this library http://writingminds.github.io/ffmpeg-android-java/
 has not been updated for many years.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8659#comment:14>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list