[Miscellaneous Android Development] h33x:
H/W video decoder not work, if start play on MX Player, getting some errors.

V/MX.Player.Joint( 2010): pause
V/MX.Player.Database( 2010): State saved for 'file:///storage/sdcard1/Serenity%20-%20HD%20DVD%20Trailer.mp4': wo@41c324b0 [Position=120921 decoder=2 decodeOption=0 audioDecoder=1 audioStream=1 subtitleSync=0 ratio=0.0:0.0 zoom=0x0 process=0 subtitle-count=0] (4ms)
V/MX.Player.Screen( 2010): Can't reuse surface view. surface-type=0 surface-bound-decoder=2 new-decoder=1
D/MX.Player.Screen( 2010): === Enter surfaceDestroyed. holder=android.view.SurfaceView$4@41c4b6e0 _surfaceHolderCreated=android.view.SurfaceView$4@41c4b6e0_surfaceView=android.view.SurfaceView{41c4b0d0 V.E..... ........ 5,0-858,480}
D/MX.Player.Screen( 2010): === Leave surfaceDestroyed.
D/MX.Player.Screen( 2010): === Enter surfaceCreated. holder=android.view.SurfaceView$4@41c68010 _surfaceHolderCreated=null_surfaceView=android.view.SurfaceView{41c67a00 V.E..... ......ID 0,0-864,480}
V/MX.Player.Screen( 2010): HW Accel=true
D/MX.Player.Screen( 2010): === Leave surfaceCreated.
W/InputMethodManagerService( 588): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@41a88c78 attribute=null, token = android.os.BinderProxy@41ca6f48
V/MX.Player.Joint( 2010): Creating a joint player. 1st=le@41c68e58 2nd=com.mxtech.media.FFPlayer@41b04b40 mix=0
D/AwesomePlayer( 126): Before reset_l
D/AwesomePlayer( 126): printFileName fd(20) -> /storage/sdcard1/Serenity - HD DVD Trailer.mp4
I/SampleTable( 126): There are reordered frames present.
D/MX.Player.Screen( 2010): Set fullscreen = false
I/OMXCodec( 126): [OMX.google.h264.decoder] AVC profile = 100 (High), level = 41
I/OMXCodec( 126): [OMX.google.h264.decoder] video dimensions are 320 x 240
I/OMXCodec( 126): [OMX.google.h264.decoder] Crop rect is 320 x 240 @ (0, 0)
E/AwesomePlayer( 126): LPAPlayer::Clip duration setting of less than 30sec not supported, defaulting to 60sec
V/MX.Player.Joint( 2010): video size changed to 1280 x 720
E/MediaPlayer( 2010): Should have subtitle controller already set
V/MX.Player.Joint( 2010): 1st prepared. duration=139712ms
V/MX.Player.Joint( 2010): start
E/AwesomePlayer( 126): LPAPlayer::Clip duration setting of less than 30sec not supported, defaulting to 60sec
E/SoftAVC ( 126): Decoder failed: -2
E/OMXCodec( 126): [OMX.google.h264.decoder] ERROR(0x80001001, -1007)
I/SoftAAC2( 126): Reconfiguring decoder: 0->48000 Hz, 0->2 channels
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x85ed20 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x85ef30 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x85f070 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x85f198 successful
E/MediaPlayer( 2010): error (1, -2147483648)
E/MediaPlayer( 2010): Error (1,-2147483648)
E/MX.Player.Joint( 2010): 1st error: what=1 extra=-2147483648
V/MX.Player.Builtin( 2010): === Begin closing built-in player
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x85eb98 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x85eae0 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x87d148 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x87cfc8 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x85f038 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x85ef10 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x85ee08 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x85ec50 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x8615f8 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x861528 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x861458 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x861230 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x85b248 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x85b178 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x85dbd8 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x85df08 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x863c60 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x861780 successful
W/AudioFlinger( 126): session id 11 not found for pid 2010
V/MX.Player.Builtin( 2010): === End closing built-in player
W/MediaPlayer( 2010): mediaplayer went away with unhandled events
W/MediaPlayer( 2010): mediaplayer went away with unhandled events

If software decode I recive

W/Adreno200-EGL( 123): <eglSurfaceResize:3568>: EGL_BAD_ALLOC

but video normal play with this err.

Newlest Youtube now playing sound! But not video with

I/OMXCodec( 126): [OMX.google.h264.decoder] video dimensions are 640 x 368
I/OMXCodec( 126): [OMX.google.h264.decoder] Crop rect is 640 x 360 @ (0, 0)
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x8a4e48 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x8a5068 successful
I/OMXCodec( 126): [OMX.google.h264.decoder] video dimensions are 640 x 368
I/OMXCodec( 126): [OMX.google.h264.decoder] Crop rect is 640 x 360 @ (0, 0)
D/YouTube ( 2629): apps.youtube.core.client.DefaultAdStatsClient.a:556 Pinging http://googleads.g.doubleclick.net/pagead/conversion/?ai=CDq0TpdTSUvOxJ47HyAPluYH4CaCbvLoE0NrRkYwBsdL5iwEQASDj-5MDUILK-pIEYISN7YXsHcgBBakC-8AmHSlEYD7gAgCoAwGYBAWqBL4BT9DAYK7uhEV7_RkdTIolnq9a2I-p3smT4MSbu7CncLDdD_TNa9m7d0IHNAE0k5QQF8UkvlDOavEVIL6Y8aofo76XIcWV5M9-DTZIRzE264veDABlpniAvfEDD4mIx-47f7w6XjT6_qqED0ZpZ26QYVxdFYD_2ajnLDb5WEl3KAhXjbEUtrkzSdwFEIbW8HcyQcWpTOdcZTNhBTldOzYl-Cp5g3QXaRVLDNGYNoLTyq6SeLHIjcZyvk9gMG-38eAEAZAGAaAGHNgGAoAH0I_LJw&sigh=VvfnPPmWR2A&label=vast_creativeview
D/YouTube ( 2629): apps.youtube.core.player.Director.a:473 VideoStage: MEDIA_PLAYING_AD
I/SoftAAC2( 126): Reconfiguring decoder: 0->44100 Hz, 0->2 channels
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x8b91f8 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x8b9408 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x8b9548 successful
I/OMXNodeInstance( 126): OMX_FreeBuffer for buffer header 0x8b9670 successful
W/AudioSink( 126): Event underrun
D/AudioSink( 126): Callback!!!
E/AudioPlayer( 126): This indicates the event underrun case for LPA/Tunnel
E/memalloc( 126): /dev/pmem: Failed to map buffer size:348160 offset:0 fd:37 Error: Invalid argument
E/gralloc ( 126): Could not mmap handle 0x8b9170, fd=37 (Invalid argument)
E/gralloc ( 126): gralloc_register_buffer: gralloc_map failed
W/GraphicBufferMapper( 126): registerBuffer(0x8b9170) failed -22 (Invalid argument)
E/GraphicBuffer( 126): unflatten: registerBuffer failed: Invalid argument (-22)
E/Surface ( 126): dequeueBuffer: IGraphicBufferProducer::requestBuffer failed: -22
W/SoftwareRenderer( 126): Surface::dequeueBuffer returned error -22
W/MediaPlayer( 2629): info/warning (3, 0)
W/SoftwareRenderer( 126): Surface::dequeueBuffer returned error -22
D/YouTube ( 2629): apps.youtube.core.client.PtrackingClient.a:132 Ptracking: https://www.youtube.com/ptracking?plid=Fia-T30gLFVv6p9h&pltype=adhost&video_id=LnpRbWZANnQ&content_v=qf2b0CerdjI
W/SoftwareRenderer( 126): Surface::dequeueBuffer returned error -22
D/YouTube ( 2629): apps.youtube.core.client.VideoStats2Client.a:723 Pinging https://s.youtube.com/api/stats/playback?cpn=Fia-T30gLFVv6p9h&rt=2.5&ns=yt&docid=LnpRbWZANnQ&ver=2&len=21&cplatform=mobile&c=android&cver=5.3.28&cos=Android&cosver=4.4.2&cbr=com.google.android.youtube&cbrver=5.3.28&cbrand=Huawei&cmodel=U8860&el=adunit&adformat=2_2_1&lact=6860&fmt=18&cmt=0.1&conn=3&vis=0&delay=30&autoplay=1&feature=g-all-au
I/L ( 2629): apps.youtube.medialib.player.o.a:827 media player info 3 0
W/SoftwareRenderer( 126): Surface::dequeueBuffer returned error -22
W/SoftwareRenderer( 126): Surface::dequeueBuffer returned error -22
W/SoftwareRenderer( 126): Surface::dequeueBuffer returned error -22
W/SoftwareRenderer( 126): Surface::dequeueBuffer returned error -22
W/SoftwareRenderer( 126): Surface::dequeueBuffer returned error -22
W/SoftwareRenderer( 126): Surface::dequeueBuffer returned error -22
W/SoftwareRenderer( 126): Surface::dequeueBuffer returned error -22
W/SoftwareRenderer( 126): Surface::dequeueBuffer returned error -22
W/SoftwareRenderer( 126): Surface::dequeueBuffer returned error -22