2011-03-03, 12:12
Hi xbmc community!
I'd like to make a thread about h264 and hardware rendring, witch in several cases fails according to logs that I've found on the mighty internet and a log witch I've pasted to the mighty internet.
I've been trying to play a mkv file (in this case called sample.mkv). The first experience is that I can see it's pretty laggy on my TV. After quite some research here, and at other forums i find threads about fps (~24|50?), container(mkv/mp4), bitrate, codec(h264,x264,xvid) etc. witch need to be almost exactly as described. As I can see all these conditions are fulfilled. But it's still lagging.
As we can see from my log file the video are h264:
And then it tries to use HW decoding:
When ffmpeg and what seems to me is SW rendring starts up as fallback, we can se that it uses h264 codec:
And least but not last, I'd like to paste links for the other 2 log files that I've found:
http://pastebin.com/F2gFAqbf
http://pastebin.com/vjfDTnPE
(And yes, I can see that their ERROR (status code) are different than mine.. but the main thing is that we're all trying to HW decode h264)
And if you missed my logfile link earlier in this post, here it is again:
http://pastebin.com/NcGn726J
EDIT1: Here's the mkv file: http://dl.dropbox.com/u/10539564/sample.mkv
I'd like to make a thread about h264 and hardware rendring, witch in several cases fails according to logs that I've found on the mighty internet and a log witch I've pasted to the mighty internet.
I've been trying to play a mkv file (in this case called sample.mkv). The first experience is that I can see it's pretty laggy on my TV. After quite some research here, and at other forums i find threads about fps (~24|50?), container(mkv/mp4), bitrate, codec(h264,x264,xvid) etc. witch need to be almost exactly as described. As I can see all these conditions are fulfilled. But it's still lagging.
As we can see from my log file the video are h264:
logfile Wrote:09:53:37 T:166338560 M:111636480 INFO: ffmpeg[9EA2000]: Stream #0.0: Video: h264, yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 fps, 47.92 tbr, 1k tbn, 47.95 tbc
And then it tries to use HW decoding:
logfile Wrote:09:53:37 T:166338560 M:111636480 INFO: Apple VideoToolBox Decoder...as we also can see here FactoryCodec reports "Video: vtb"?
09:53:37 T:166338560 M:111636480 DEBUG: FactoryCodec - Video: vtb - Opening
09:53:37 T:166338560 M:111636480 NOTICE: Open - using avcC atom of size(40)
09:53:37 T:166338560 M:111616000 ERROR: CreateVTSession - failed with status = (-12913)
When ffmpeg and what seems to me is SW rendring starts up as fallback, we can se that it uses h264 codec:
logfile Wrote:09:53:37 T:166338560 M:111550464 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
09:53:37 T:166338560 M:111550464 DEBUG: FactoryCodec - Video: ff-h264 - Opened
09:53:37 T:166338560 M:111550464 NOTICE: Creating video thread
And least but not last, I'd like to paste links for the other 2 log files that I've found:
http://pastebin.com/F2gFAqbf
http://pastebin.com/vjfDTnPE
(And yes, I can see that their ERROR (status code) are different than mine.. but the main thing is that we're all trying to HW decode h264)
And if you missed my logfile link earlier in this post, here it is again:
http://pastebin.com/NcGn726J
EDIT1: Here's the mkv file: http://dl.dropbox.com/u/10539564/sample.mkv