Kodi Community Forum
VDADecoder problems on Mac mini mid 2010 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Mac OS X (https://forum.kodi.tv/forumdisplay.php?fid=56)
+---- Thread: VDADecoder problems on Mac mini mid 2010 (/showthread.php?tid=115601)



VDADecoder problems on Mac mini mid 2010 - Max1m - 2011-11-27

Hi all!

I have Mac mini mid 2010 (2,4 ghz / 2 gb RAM / nvidia gforce 320M, 256 mb Mac OS X Lion 10.7.2).

When i play movie (Avatar, bdremux 43,8 gb, 38Mb bitrate, h264 high profile) on last nightly build (Eden, from 20111110-26cc297 to 20111126-eac52fe) it loads cpu up to 150-160% gpu 4-5% (dc:ff-h264). If i play it on last stable build (Dharma) it plays smoothly and loads cpu 45-50% gpu 16-18% (dc:vda-h264). In both situation VDADecoder is enabled. This bug appear only in h264 high profile movies.

Any suggestions?


- Chris! - 2011-11-27

Quote:Any suggestions?
A debug log?


- Max1m - 2011-11-27

pseudo7 Wrote:A debug log?

http://pastebin.com/99kHHAQ5


- davilla - 2011-11-28

very odd, "vda-h264 - Failed"


- Max1m - 2011-11-28

davilla Wrote:very odd, "vda-h264 - Failed"
What does this mean?


- davilla - 2011-11-28

Max1m Wrote:What does this mean?

It means the open failed in one of the non-logged paths. For example, if the content is suspected of being interlaced, it will fail the open.

I've added a log for that. Dharma did not have this check.


- Max1m - 2011-11-28

davilla Wrote:It means the open failed in one of the non-logged paths. For example, if the content is suspected of being interlaced, it will fail the open.

I've added a log for that. Dharma did not have this check.

It is possible to correct that bug?


- davilla - 2011-11-28

Max1m Wrote:It is possible to correct that bug?

1) It's not a 'bug', VDA cannot handle interlaced h264, in fact, it barfs quite badly.

2) Interlace detection is hard, we can detect one of three forms of h264 interlaced during VDA open, the other two we can only detect after playback has begun which is way too late to recover and vector to ffmpeg.

3) Figure out another way to deal with this and submit a patch and I'll consider it. The current code is the most bullet proof way to prevent bad things from happening so it stays.


- idioteque - 2011-11-29

Use media info to detect interlaced files in library ?

Its not ideal be could be a start


- Max1m - 2012-02-13

Any news?


- davilla - 2012-02-13

Max1m Wrote:Any news?

nope.