Skip to content

Capabilities: ExoPlayer does not play mov format video. #2007

@shirensong

Description

@shirensong

I follow the demo and play a mov format video, there is only sound but no video... But if I use the base MediaCodec api with compile version 23 to play this video, it will be OK and everything is great.
here is the file link for this sample mov:

https://pan.baidu.com/s/1slnKXrv

based on exoplayer r2.0.4
a device with android 6.0
below is the adb log:

10-26 18:07:33.614 32300-32300/? I/main: type=1400 audit(0.0:428): avc: denied { open } for path="/selinux_version" dev="tmpfs" ino=9206 scontext=u:r:zygote:s0 tcontext=u:object_r:tmpfs:s0 tclass=file permissive=1
10-26 18:07:33.619 32300-32300/? I/art: Late-enabling -Xcheck:jni
10-26 18:07:33.619 32300-32300/? I/art: Late-enabling JIT
10-26 18:07:33.629 32300-32300/? I/art: JIT created with code_cache_capacity=2MB compile_threshold=1000
10-26 18:07:33.684 32300-32300/? W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
10-26 18:07:33.838 32300-32300/com.twos.demo I/ExoPlayerImpl: Init 2.0.4
10-26 18:07:33.853 32300-32320/com.twos.demo D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
10-26 18:07:33.921 32300-32318/com.twos.demo W/VideoCapabilities: Unrecognized profile/level 1/8192 for video/3gpp
10-26 18:07:33.921 32300-32318/com.twos.demo W/VideoCapabilities: Unrecognized profile/level 2/8192 for video/3gpp
10-26 18:07:33.921 32300-32318/com.twos.demo W/VideoCapabilities: Unrecognized profile/level 8/8192 for video/3gpp
10-26 18:07:33.923 32300-32318/com.twos.demo W/VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2
10-26 18:07:33.925 32300-32318/com.twos.demo W/VideoCapabilities: Unsupported mime video/raw
10-26 18:07:33.926 32300-32318/com.twos.demo W/VideoCapabilities: Unsupported mime video/vc1
10-26 18:07:33.928 32300-32318/com.twos.demo W/VideoCapabilities: Unsupported mime video/vnd.rn-realvideo
10-26 18:07:33.929 32300-32318/com.twos.demo W/VideoCapabilities: Unsupported mime video/divx3
10-26 18:07:33.931 32300-32318/com.twos.demo W/VideoCapabilities: Unsupported mime video/avs-video
10-26 18:07:33.932 32300-32318/com.twos.demo W/VideoCapabilities: Unsupported mime video/x-motion-jpeg
10-26 18:07:33.936 32300-32320/com.twos.demo D/libEGL: loaded /vendor/lib/egl/libGLES_mali.so
10-26 18:07:33.938 32300-32318/com.twos.demo W/VideoCapabilities: Unsupported mime video/wvc1
10-26 18:07:33.940 32300-32318/com.twos.demo W/VideoCapabilities: Unsupported mime video/wmv3
10-26 18:07:33.941 32300-32318/com.twos.demo W/VideoCapabilities: Unsupported mime video/x-ms-wmv
10-26 18:07:33.943 32300-32318/com.twos.demo W/VideoCapabilities: Unsupported mime video/mp43
10-26 18:07:33.944 32300-32318/com.twos.demo W/VideoCapabilities: Unsupported mime video/x-flv
10-26 18:07:33.946 32300-32318/com.twos.demo W/VideoCapabilities: Unsupported mime video/rv30
10-26 18:07:33.947 32300-32318/com.twos.demo W/VideoCapabilities: Unsupported mime video/rv40
10-26 18:07:33.950 32300-32318/com.twos.demo W/VideoCapabilities: Unrecognized level 8192 for video/x-vnd.on2.vp9
10-26 18:07:33.950 32300-32318/com.twos.demo W/VideoCapabilities: Unrecognized level 8192 for video/x-vnd.on2.vp9
10-26 18:07:33.950 32300-32318/com.twos.demo W/VideoCapabilities: Unrecognized profile 2 for video/x-vnd.on2.vp9
10-26 18:07:33.950 32300-32318/com.twos.demo W/VideoCapabilities: Unrecognized level 8192 for video/x-vnd.on2.vp9
10-26 18:07:33.950 32300-32318/com.twos.demo W/VideoCapabilities: Unrecognized profile 8 for video/x-vnd.on2.vp9
10-26 18:07:33.956 32300-32320/com.twos.demo I/OpenGLRenderer: Initialized EGL, version 1.4
10-26 18:07:33.963 32300-32320/com.twos.demo D/mali_winsys: new_window_surface returns 0x3000
10-26 18:07:33.969 32300-32318/com.twos.demo W/AudioCapabilities: Unsupported mime audio/alac_caff
10-26 18:07:33.980 32300-32318/com.twos.demo W/AudioCapabilities: Unsupported mime audio/pcm-le
10-26 18:07:33.983 32300-32318/com.twos.demo W/AudioCapabilities: Unsupported mime audio/x-pcm
10-26 18:07:34.007 32300-32318/com.twos.demo I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es
10-26 18:07:34.057 32300-32331/com.twos.demo I/OMXClient: Using client-side OMX mux.
10-26 18:07:34.063 32300-32331/com.twos.demo D/ACodec: [OMX.realtek.audio.dec] Allocating 4 buffers of size 32768/32768 (from 32768 using Invalid) on input port
10-26 18:07:34.064 32300-32331/com.twos.demo D/ACodec: [OMX.realtek.audio.dec] Allocating 4 buffers of size 32768/32768 (from 32768 using Invalid) on output port
10-26 18:07:34.078 32300-32300/com.twos.demo D/EventLogger: audioEnabled [0.24]
10-26 18:07:34.096 32300-32300/com.twos.demo D/EventLogger: audioDecoderInitialized [0.25, OMX.realtek.audio.dec]
10-26 18:07:34.096 32300-32300/com.twos.demo D/EventLogger: audioFormatChanged [0.25, id=2, mimeType=audio/mp4a-latm, channels=2, sample_rate=48000, language=```]
10-26 18:07:34.258 32300-32331/com.twos.demo D/ACodec: [OMX.realtek.audio.dec] Allocating 4 buffers of size 32768/32768 (from 32768 using Invalid) on output port
10-26 18:07:34.288 32300-32300/com.twos.demo D/EventLogger: audioSessionId [34]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions