Avcodec error on HTC Evo 3D with S3D ON

VLC for Android and Chrome OS specific usage questions
peagasus
New Cone
New Cone
Posts: 7
Joined: 11 Jul 2012 22:43

Avcodec error on HTC Evo 3D with S3D ON

Postby peagasus » 09 Oct 2012 14:46

Hi to all. I'm getting a decoding error consistently. When I play stored mp4 videos from SD card, the VLC for Android runs good. However, I try to get the S3D mode on from HTC Evo 3D DisplaySetting class, I start getting the error line below:

Code: Select all

181: 10-02 00:42:04.794: E/VLC(3313): [0x1a6b138]: avcodec decoder more than 5 seconds of late video -> dropping frame (computer too slow ?)
I have noticed that I have this error line if I try to play a big resolution high frame per second mp4 video from SD card. So, I thought that the bigger resolution and frame rate are, the harder decoding process becomes. So, I tried to slow down the video fps and resolution. However the problem continues. What should I do? Is that related to the surface or any kind of buffer/stack which fills and doesn't empty?

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

Re: Avcodec error on HTC Evo 3D with S3D ON

Postby Jean-Baptiste Kempf » 09 Oct 2012 21:42

It means the CPU is peaking...
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.

peagasus
New Cone
New Cone
Posts: 7
Joined: 11 Jul 2012 22:43

Re: Avcodec error on HTC Evo 3D with S3D ON

Postby peagasus » 13 Oct 2012 23:24

It means the CPU is peaking...
How can I avoid that?

peagasus
New Cone
New Cone
Posts: 7
Joined: 11 Jul 2012 22:43

Re: Avcodec error on HTC Evo 3D with S3D ON

Postby peagasus » 14 Oct 2012 05:06

I mean, that does not happen when I'm not using HTC's S3D DisplaySetting function, it runs just fine. When I start using that function and alter the surface by the command below, I get the avcodec error that I mentioned.

Code: Select all

DisplaySetting.setStereoscopic3DFormat(surface, mode);
After changing the surface, I attach it to VLC surface by:

Code: Select all

public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { DisplaySetting.setStereoscopic3DFormat(surface, mode); mLibVLC.attachSurface(holder.getSurface(), VideoPlayerActivity.this, width, height); }
If the surface "mode" is chosen by as 3D, then I get the error. I thought that this is caused by some buffer/stack structure which is filling over time from the decoder and does not fill. I thought so, because there is no problem with the decoder itself. It was running smooth and clean before that addition. I'm thinking it may be related to the surface; however, I don't know where to start looking.

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

Re: Avcodec error on HTC Evo 3D with S3D ON

Postby edwardw » 14 Oct 2012 19:47

Well, if it works fine with a normal surface then it's not a VLC problem, but rather a problem with HTC's S3D (which is known for lots of bugs).


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 55 guests