2013-03-18, 00:15
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
On the Apple TV2, the error line is
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
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
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