[Android] [vlc-android] H264 1080p perf issue

Martin Storsjö martin at martin.st
Tue Feb 19 14:19:46 CET 2013


On Tue, 19 Feb 2013, Hugues FRUCHET wrote:

> Here are the results on my side:
>
> * With Rafael transcode patch:
> $> adb shell am start -n org.videolan.vlc/.gui.video.VideoPlayerActivity -a android.intent.action.VIEW -d file:///mnt/sdcard/bbb_1080p.mp4
> Played till end of video
> $> adb logcat
> W/VLC     ( 1168): [0x1e0b6e4]: stream_out_transcode stream out Decoding took 50906 ms
>
> 60s of video at 24fps => 1440 frames, 1440/50.906 = 28.28fps
>
> So perf is lower than on your side.
>
>
> * With Stagefright
> $ adb shell stagefright /mnt/sdcard/bbb_1080p.mp4
> thumbnailTime: 10041666 us (10.04 secs)
> AVC video profile 77 and level 41
> ..........................................................................................$
> avg. 42.44 fps
> avg. time to decode one buffer 22866.01 usecs
> decoded a total of 1439 frame(s).
>
> But with Stagefright unit test, perf is not so bad.
>
> Would be nice that we got same measurement on your side, in order to known if problem is located on decoder itself or due to how VLC uses the decoder.
>
> What we could try is to push the stagefright utility on your device, which version of Android do you run ?

My device runs Android 4.1.2, but even if you have a binary that fits (I 
could build one myself pretty easily as well), I can't install and run it 
easily since it's not a rooted device. If you can easily package in this 
binary into a normal apk that allows running tests via it, it could be 
possible though... I don't have time to do that myself right now though.

// Martin


More information about the Android mailing list