libstagefright - Experimental hardware video decoding builds
Yes of course i did, my reference is MX Player with it's Hardware Overlay capability

Here i tried a Blu-Ray Complexity Stream High Profile

Image


I reach around 10 fps the FPS shown there i guess is the rendering speed of the OSD Nav Bar
though CPU XBMC is @ a whopping 150%

Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Codec ID : 27
Duration : 1mn 32s
Bit rate mode : Variable
Bit rate : 24.6 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.494
Stream size : 270 MiB (96%)

it runs without issues realtime with MX Player


it looks like Stagefright Hardware accelleration fails for this stream falling back to ffmpeg

13:02:50 T:1705703400 NOTICE: DVDPlayer: Opening: /mnt/sdcard/Movies/bond.m2ts
13:02:50 T:1705703400 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
13:02:50 T:1705703400 DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
13:02:50 T:1705703400 DEBUG: LinuxRendererGL: Cleaning up GL resources
13:02:50 T:1745360712 NOTICE: Creating InputStream
13:02:50 T:1745360712 DEBUG: : Searching for subtitles...
13:02:50 T:1745360712 DEBUG: : END (total time: 10 ms)
13:02:50 T:1745360712 NOTICE: Creating Demuxer
13:02:50 T:1745360712 DEBUG: - probing detected format [mpegts]
13:02:50 T:1745360712 DEBUG: - avformat_find_stream_info starting
13:02:50 T:1705703400 DEBUG: ------ Window Init (DialogBusy.xml) ------
13:02:50 T:1705703400 DEBUG: Window DialogBusy.xml was already loaded
13:02:50 T:1705703400 DEBUG: Alloc resources: 0.01m
13:02:52 T:1745360712 DEBUG: - av_find_stream_info finished
13:02:52 T:1745360712 INFO: ffmpeg[68081748]: Input #0, mpegts, from '/mnt/sdcard/Movies/bond.m2ts':
13:02:52 T:1745360712 INFO: ffmpeg[68081748]: Duration: 00:01:32.09, start: 599.958300, bitrate: 25595 kb/s
13:02:52 T:1745360712 INFO: ffmpeg[68081748]: Program 1
13:02:52 T:1745360712 INFO: ffmpeg[68081748]: Stream #0:0[0x1011]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
13:02:52 T:1745360712 NOTICE: Opening video stream: 0 source: 256
13:02:52 T:1745360712 NOTICE: Creating video codec with codec id: 28
13:02:52 T:1745360712 DEBUG: CDVDFactoryCodec: compiled in hardware support: CrystalHD:no OpenMax:no libstagefright:yes VDPAU:no VAAPI:no
13:02:52 T:1745360712 DEBUG: FactoryCodec - Video: stf-xxxx - Opening
13:02:52 T:1745360712 ERROR: CDVDVideoCodecStageFright:: - failed to open, codec(28), profile(100), level(41)
13:02:52 T:1745360712 DEBUG: FactoryCodec - Video: stf-h264 - Failed
13:02:52 T:1745360712 DEBUG: FactoryCodec - Video: - Opening
13:02:52 T:1745360712 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
13:02:52 T:1745360712 DEBUG: FactoryCodec - Video: ff-h264 - Opened
13:02:52 T:1745360712 NOTICE: Creating video thread
13:02:52 T:1745047416 NOTICE: running thread: video_thread
13:02:52 T:1745360712 DEBUG: - Checking for edit decision lists (EDL) on local drive or remote share for: /mnt/sdcard/Movies/bond.m2ts
13:02:52 T:1745360712 DEBUG: CDVDPlayer::SetCaching - caching state 3
13:02:52 T:1745360712 WARNING: CDVDMessageQueue(audio):Tongueut MSGQ_NOT_INITIALIZED
13:02:52 T:1745047416 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(0.000000, 1)
13:02:52 T:1745047416 INFO: CDVDPlayerVideo - Stillframe left, switching to normal playback
13:02:52 T:1705703400 DEBUG: Unfocus WindowID: 10025, ControlID: 50
13:02:52 T:1705703400 DEBUG: CGUIInfoManager::SetCurrentMovie(/mnt/sdcard/Movies/bond.m2ts)
13:02:52 T:1705703400 DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
13:02:52 T:1705703400 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
13:02:52 T:1705703400 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
13:02:52 T:1745047416 NOTICE: fps: 23.976024, pwidth: 1920, pheight: 1080, dwidth: 1920, dheight: 1080
13:02:52 T:1745047416 DEBUG: - change configuration. 1920x1080. framerate: 23.98. format: YV12
13:02:52 T:1745047416 NOTICE: Display resolution DESKTOP : 1024x552 @ 60.00 - Full Screen (16)
13:02:52 T:1705703400 DEBUG: Activating window ID: 12005


Here i tested the 720p Planet Bitstream again and that gets through to the Decoder Sad

13:27:52 T:1731006112 NOTICE: DVDPlayer: Opening: /mnt/sdcard/Movies/tested/h264_720p_hp_5.1_6mbps_ac3_planet.mp4
13:27:52 T:1731006112 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
13:27:52 T:1731006112 DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
13:27:52 T:1731006112 DEBUG: LinuxRendererGL: Cleaning up GL resources
13:27:52 T:1744913856 NOTICE: Creating InputStream
13:27:52 T:1744913856 DEBUG: : Searching for subtitles...
13:27:52 T:1744913856 DEBUG: : END (total time: 13 ms)
13:27:52 T:1744913856 NOTICE: Creating Demuxer
13:27:52 T:1744913856 DEBUG: - probing detected format [mov,mp4,m4a,3gp,3g2,mj2]
13:27:52 T:1744913856 DEBUG: - avformat_find_stream_info starting
13:27:52 T:1731006112 DEBUG: ------ Window Init (DialogBusy.xml) ------
13:27:52 T:1731006112 DEBUG: Window DialogBusy.xml was already loaded
13:27:52 T:1731006112 DEBUG: Alloc resources: 0.01m
13:27:53 T:1744913856 DEBUG: - av_find_stream_info finished
13:27:53 T:1744913856 INFO: ffmpeg[680145C0]: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/sdcard/Movies/tested/h264_720p_hp_5.1_6mbps_ac3_planet.mp4':
13:27:53 T:1744913856 INFO: ffmpeg[680145C0]: Metadata:
13:27:53 T:1744913856 INFO: ffmpeg[680145C0]: major_brand : isom
13:27:53 T:1744913856 INFO: ffmpeg[680145C0]: minor_version : 1
13:27:53 T:1744913856 INFO: ffmpeg[680145C0]: compatible_brands: isomavc1
13:27:53 T:1744913856 INFO: ffmpeg[680145C0]: creation_time : 2011-05-07 22:51:02
13:27:53 T:1744913856 INFO: ffmpeg[680145C0]: encoder : My MP4Box GUI 0.5.5.4 <http://my-mp4box-gui.zymichost.com>
13:27:53 T:1744913856 INFO: ffmpeg[680145C0]: Duration: 00:01:52.83, start: 0.000000, bitrate: 7052 kb/s
13:27:53 T:1744913856 INFO: ffmpeg[680145C0]: Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 6602 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
13:27:53 T:1744913856 INFO: ffmpeg[680145C0]: Metadata:
13:27:53 T:1744913856 INFO: ffmpeg[680145C0]: creation_time : 2011-05-07 22:51:02
13:27:53 T:1744913856 INFO: ffmpeg[680145C0]: handler_name : Imported with GPAC 0.4.6-DEV (internal rev. 5)
13:27:53 T:1744913856 INFO: ffmpeg[680145C0]: Stream #0:1(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), s16, 448 kb/s
13:27:53 T:1744913856 INFO: ffmpeg[680145C0]: Metadata:
13:27:53 T:1744913856 INFO: ffmpeg[680145C0]: creation_time : 2011-05-07 22:51:03
13:27:53 T:1744913856 INFO: ffmpeg[680145C0]: handler_name :
13:27:53 T:1744913856 NOTICE: Opening video stream: 0 source: 256
13:27:53 T:1744913856 NOTICE: Creating video codec with codec id: 28
13:27:53 T:1744913856 DEBUG: CDVDFactoryCodec: compiled in hardware support: CrystalHD:no OpenMax:no libstagefright:yes VDPAU:no VAAPI:no
13:27:53 T:1744913856 DEBUG: FactoryCodec - Video: stf-xxxx - Opening
13:27:53 T:1744913856 INFO: CBitstreamConverter::Open bitstream to annexb init
13:27:53 T:1744913856 DEBUG: CStageFrightVideo:: - component: OMX.rk.video_decoder.avc
13:27:53 T:1744913856 DEBUG: FactoryCodec - Video: stf-h264 - Opened
13:27:53 T:1744913856 NOTICE: Creating video thread
13:27:53 T:1744913856 NOTICE: Opening audio stream: 1 source: 256
13:27:53 T:1744141616 NOTICE: running thread: video_thread
13:27:53 T:1744913856 NOTICE: Finding audio codec for: 86019
13:27:53 T:1744141616 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
13:27:53 T:1744913856 DEBUG: FactoryCodec - Audio: FFmpeg - Opening
13:27:53 T:1744913856 DEBUG: FactoryCodec - Audio: FFmpeg - Opened
13:27:53 T:1744913856 NOTICE: Creating audio thread
13:27:53 T:1743014264 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()


Messages In This Thread
RE: libstagefright - Experimental hardware video decoding builds - by CruNcher - 2013-01-22, 14:11
libstagefright - by mo123 - 2013-05-14, 14:29
RE: libstagefright - by Koying - 2013-05-14, 14:30
RE: libstagefright - by Maverick5269 - 2013-05-16, 23:04
RE: libstagefright - by matander - 2013-05-19, 18:26
RE: libstagefright - by FreeFrag - 2013-05-22, 13:02
Logout Mark Read Team Forum Stats Members Help
libstagefright - Experimental hardware video decoding builds10