Hardware Acceleration failing for some videos
#1
I am trying to create a plugin that leverages a live stream (rtmp) from Vevo. On playback of the stream, I get no video but I do get audio. I initially thought this was a hardware limitation of the AppleTV but I was able to reproduce the same problem on my Macbook Pro.

I've dumped a sample of the stream to a file.
https://dl.dropbox.com/u/9065/temp/test.flv

I am not exactly sure what format of h.264 the AppleTV support or even how to find out the h.264 codec information on a file.

I was able to work around the problem by disabling hardware acceleration. This also works on the apple TV but it's a little choppy.

The error usually is of the nature
Code:
16:48:48 T:4680273920    INFO: CCoreAudioAE::MakeStream - AE_FMT_S16NE, 44100, 44100, FL,FR
16:48:48 T:4677517312  NOTICE: Decode - VDADecoderDecode failed, status(-12473)
16:48:48 T:4677517312   DEBUG: CDVDPlayerVideo - video decoder returned error
16:48:48 T:4677517312  NOTICE: Decode - VDADecoderDecode failed, status(-12473)
16:48:48 T:4677517312   DEBUG: CDVDPlayerVideo - video decoder returned error
On the Apple TV2, the error line is
Code:
Decode - VTDecompressionSessionDecodeFrame returned(-12911)#

Debug Log of FAILURE when hardware acceleration (VDADecoder) is enabled on Mac OS X
http://www.xbmclogs.com/show.php?id=5132

Debug Log of SUCCESS when hardware acceleration (VDADecoder) is disabled on Mac OS X
http://www.xbmclogs.com/show.php?id=5134

Debug Log of FAILURE when hardware acceleration (VTDecompressionSessionDecodeFrame) is enabled on Apple TV2
http://www.xbmclogs.com/show.php?id=5135

Debug Log of SUCCESS when hardware acceleration (VTDecompressionSessionDecodeFrame) is disabled on Apple TV2
http://www.xbmclogs.com/show.php?id=5137
Reply
#2
mediainfo (google) of that file
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#3
(2013-03-18, 00:27)Memphiz Wrote: mediainfo (google) of that file

Mediainfo report for test.flv
http://xbmclogs.com/show.php?id=5149

Videospec report test.flv
http://xbmclogs.com/show.php?id=5148
Reply



Logout Mark Read Team Forum Stats Members Help
Hardware Acceleration failing for some videos0
This forum uses Lukasz Tkacz MyBB addons.