Experimental hardware decoding?

VLC for Android and Chrome OS specific usage questions
arromdee
Blank Cone
Blank Cone
Posts: 30
Joined: 15 Sep 2012 01:13

Experimental hardware decoding?

Postby arromdee » 10 Oct 2012 00:25

What hardware does this contain experimental decoding for?

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Experimental hardware decoding?

Postby edwardw » 10 Oct 2012 03:40

It depends largely on your device. But it should (in theory) work on any good and recent device - e.g. the Galaxies, HTC One X, etc

arromdee
Blank Cone
Blank Cone
Posts: 30
Joined: 15 Sep 2012 01:13

Re: Experimental hardware decoding?

Postby arromdee » 10 Oct 2012 18:04

The device is an Idea USA CT802 tablet which has a Cortex A8 (single core). Definitely a low-end tablet. The graphics chipset is a Vivante GC800, and supposedly has hardware decoding. http://www.fatwallet.com/forums/hot-deals/1193620/

The in_to_tree 480p test plays with noticeable skipping. The higher resolutions skip to an unwatchable degree.

Does the hardware decoding support everything that has OpenGL or does it have to support chipsets specifically?

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Experimental hardware decoding?

Postby edwardw » 11 Oct 2012 00:48

The hardware decoding is based off IOMX, the openMAX API that the built-in media player uses. So it seems to vary a bit from device to device.

Did you enable hardware decoding in the preferences?

arromdee
Blank Cone
Blank Cone
Posts: 30
Joined: 15 Sep 2012 01:13

Re: Experimental hardware decoding?

Postby arromdee » 12 Oct 2012 03:36

I enabled it.

VLC still skips unwatchably on a file that the built-in player ("Super HD Player") plays without problems. The file is a 480p mp4. The built-in player also plays at full speed/no skipping the in_to_tree files, even the 576p and 720p ones, while VLC skips on the 480p and the 576p and 720p are unwatchable.

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Experimental hardware decoding?

Postby edwardw » 12 Oct 2012 03:38

If you want to, you can help VLC by getting the logcat log so that we can check to see if anything is wrong.

Goner
Blank Cone
Blank Cone
Posts: 28
Joined: 30 May 2004 15:33
Operating System: WindowsLinuxAndroid
Location: Rotterdam, Netherlands

Re: Experimental hardware decoding?

Postby Goner » 13 Oct 2012 16:05

After enabling hardware accelerated decoding, the video and audio get out of synch (only tried .mp4 so far) and it gets worse when I skip forward or backward by dragging the slider.

I've got an Archos G9 80 tablet ( GPU : PowerVR SGX540). No logcat files are created when this happens ...

arromdee
Blank Cone
Blank Cone
Posts: 30
Joined: 15 Sep 2012 01:13

Re: Experimental hardware decoding?

Postby arromdee » 15 Oct 2012 08:02

Here's the result of logcat -d (cut at the start of VLC). All I did was turn on the tablet, use VLC to play in_to_tree_576p25_2000.mp4, then do the logcat.

Incidentally, not only does VLC skip unwatchably on files that play smooth in the built-in player, it seems that checking the hardware acceleration box in VLC has no effect whatsoever on any file; if it doesn't play smoothly using only software, it skips exactly the same way with or without hardware decoding enabled.

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Experimental hardware decoding?

Postby edwardw » 15 Oct 2012 13:37

Then it means that VLC doesn't support your device's hardware decoding.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Experimental hardware decoding?

Postby Jean-Baptiste Kempf » 15 Oct 2012 19:03

We need all the logs...
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

arromdee
Blank Cone
Blank Cone
Posts: 30
Joined: 15 Sep 2012 01:13

Re: Experimental hardware decoding?

Postby arromdee » 16 Oct 2012 00:07


edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Experimental hardware decoding?

Postby edwardw » 16 Oct 2012 00:44

D/VLC ( 682): [0x2f7520]: main decoder looking for decoder module: 28 candidates
D/VLC ( 682): [0x2f7520]: iomx decoder fmt in:h264, out:
D/VLC ( 682): [0x2f7520]: iomx decoder component OMX.google.aac.decoder
D/VLC ( 682): [0x2f7520]: iomx decoder - role: audio_decoder.aac
D/VLC ( 682): [0x2f7520]: iomx decoder component OMX.google.amrnb.decoder
D/VLC ( 682): [0x2f7520]: iomx decoder - role: audio_decoder.amrnb
D/VLC ( 682): [0x2f7520]: iomx decoder component OMX.google.amrwb.decoder
D/VLC ( 682): [0x2f7520]: iomx decoder - role: audio_decoder.amrwb
D/VLC ( 682): [0x2f7520]: iomx decoder component OMX.google.g711.alaw.decoder
D/VLC ( 682): [0x2f7520]: iomx decoder - role: audio_decoder.g711alaw
D/VLC ( 682): [0x2f7520]: iomx decoder component OMX.google.g711.mlaw.decoder
D/VLC ( 682): [0x2f7520]: iomx decoder - role: audio_decoder.g711mlaw
D/VLC ( 682): [0x2f7520]: iomx decoder component OMX.google.h263.decoder
D/VLC ( 682): [0x2f7520]: iomx decoder - role: video_decoder.h263
D/VLC ( 682): [0x2f7520]: iomx decoder component OMX.google.h264.decoder
D/VLC ( 682): [0x2f7520]: iomx decoder - role: video_decoder.avc
D/VLC ( 682): [0x2f7520]: iomx decoder component OMX.google.mp3.decoder
D/VLC ( 682): [0x2f7520]: iomx decoder - role: audio_decoder.mp3
D/VLC ( 682): [0x2f7520]: iomx decoder component OMX.google.mpeg4.decoder
D/VLC ( 682): [0x2f7520]: iomx decoder - role: video_decoder.mpeg4
D/VLC ( 682): [0x2f7520]: iomx decoder component OMX.google.vorbis.decoder
D/VLC ( 682): [0x2f7520]: iomx decoder - role: audio_decoder.vorbis
D/VLC ( 682): [0x2f7520]: iomx decoder component OMX.google.vpx.decoder
D/VLC ( 682): [0x2f7520]: iomx decoder - role: video_decoder.vpx
D/VLC ( 682): [0x2f7520]: iomx decoder found 1 matching components for role video_decoder.avc
D/VLC ( 682): [0x2f7520]: iomx decoder - OMX.google.h264.decoder
D/VLC ( 682): [0x2f7520]: iomx decoder no component could be initialised
D/VLC ( 682): [0x2f7520]: avcodec decoder trying to use direct rendering
D/VLC ( 682): [0x2f7520]: avcodec decoder allowing 1 thread(s) for decoding
D/VLC ( 682): [0x2f7520]: avcodec decoder avcodec codec (H264 - MPEG-4 AVC (part 10)) started
D/VLC ( 682): [0x2f7520]: main decoder using decoder module "avcodec"

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Experimental hardware decoding?

Postby Jean-Baptiste Kempf » 16 Oct 2012 00:49

None of those are hardware decoders...
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Experimental hardware decoding?

Postby edwardw » 16 Oct 2012 00:53

... and therefore your device does not support hardware decoding.

arromdee
Blank Cone
Blank Cone
Posts: 30
Joined: 15 Sep 2012 01:13

Re: Experimental hardware decoding?

Postby arromdee » 16 Oct 2012 02:45

Why then does the built-in player (which says "Super HD Player" but seems to be a renamed Gallery) play 720p without any skipping when VLC cannot do 480p?

(I tried a stock Gallery for ICS and it also played them full speed.)

Edit: The tablet contains an Allwinner A10 chip which includes the Mali-400 MP. The information about the Mali-400 MP is visible in a system info app on the actual tablet. The Mali MP_400 most certainly does have hardware acceleration.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Experimental hardware decoding?

Postby Jean-Baptiste Kempf » 16 Oct 2012 14:01

But it does not expose it to OMX
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Razor512
Blank Cone
Blank Cone
Posts: 35
Joined: 23 Oct 2011 20:43

Re: Experimental hardware decoding?

Postby Razor512 » 17 Oct 2012 22:02

for me the hardware acceleration causes the audio to lose sync with the video, other than that it works smoothly with most formats.


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 7 guests