Tuesday 15 July 2014

Cannot play video in TextureView Android -



Cannot play video in TextureView Android -

i have problem playing video on devices. using textureview mediaplayer, every methods of surfacetextureview called when phone call mediaplayer.start(), listener completition of playing called. in log error:

e/mediaplayer﹕ error (1, -2147483648)

when list log applications, can see errors , dont know if somehow related http://pastebin.com/rrxxqgdj

this log cyanogenmod android 4.3.1 on other devices samsung galaxy s3 mini error happening.

on nexus 4 works fine. i've tried convert video mp4 codec android h.264 , ffmpeg result still same. using texturevideoview implementation here: https://github.com/dmytrodanylyk/video-crop/blob/master/library/src/com/dd/crop/texturevideoview.java

thanks advice

as pointed out here may due fact video encoding parameters (profile, level, pixel format, etc.) not supported on platform, seek playing around source.

android video ffmpeg android-mediaplayer textureview

No comments:

Post a Comment