← Back to team overview

ubuntu-phone team mailing list archive

Video decoding problem

 


Hi all,
I have puted Ubuntu Touch 14.04 port to a Android device,and it already can play audio.
But I have a problem when play video : video only display black but with audio works fine.
The video file can be played normally by use SurfaceFlinger and "codec -p" (codec is a tool in libhybris).
When I play video by use mir and mediaplayer-app, the log is very simple,only the following lines:


V/SurfaceTextureClientHybris( 4230): void* surface_texture_client_create_by_id(unsigned int) 
V/SurfaceTextureClientHybris( 4230): _SurfaceTextureClientHybris::_SurfaceTextureClientHybris() 
D/SurfaceTextureClientHybris( 4230): stch: 0x1f301f0 (void* surface_texture_client_create_by_id(unsigned int))
V/SurfaceTextureClientHybris( 4230): void set_surface(_SurfaceTextureClientHybris*, const android::sp<android::SurfaceTexture>&) 
V/SurfaceTextureClientHybris( 4230): void set_surface(_SurfaceTextureClientHybris*, const android::sp<android::SurfaceTexture>&) 
V/SurfaceTextureClientHybris( 4230): void surface_texture_client_set_hardware_rendering(SurfaceTextureClientHybris, uint8_t) 


I think the android video decoding library not be call. so,I want to know  what is the workflow of touch 14.04 play video(use mir),and how can I debug it ?
Any help will be wellcome :)


--


Regards,

Ubuntu Kylin  Team Zhangchao

---------------------------------------------------------

等待&希望

Follow ups