2012-04-10, 01:44
Nice work DanielaE! Overall your patch is working really well for all but one of my movies. The movie in question is a straight M2TS dump of my Blu-ray disc of "Ghost in the Shell 2: Innocence" (the Japanese release). If I select either the True-HD stream or the DTS-HD MA stream (amusingly this disc has both) it seems no audio is passed and the video freezes after a few seconds. The audio bitrate reported for TrueHD is 0kbps and ~213kbps for DTS-HD. If I select the AC3 stream, playback continues normally.
In the logs I see,
It looks to me like the audio thread is crashing (though I know very little about the inner workings of XBMC). If I tell XBMC that TrueHD and DTS-HD are not supported, I get garbage from my system. Audio is being passed through my NVIDIA Geforce 560ti to an Onkyo HT-R990. I also tested on Eden stock RC2 on another machine, and MPC-HC and VLC on this machine and all streams played no problem.
I've uploaded a clip with the first 50MB of the file: http://avalon.yi.org/~hakuya/innocence.b...ample.m2ts
In the logs I see,
Code:
19:06:44 T:1492 NOTICE: DVDPlayer: finished waiting
19:07:44 T:3704 NOTICE: ES: Client from 192.168.1.14 timed out
19:08:28 T:1492 NOTICE: DVDPlayer: Opening: smb://192.168.1.12/array/video/film/Anime/Innocence (2004)/innocence.bluray.sample.m2ts
19:08:28 T:1492 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:08:28 T:6392 NOTICE: Creating InputStream
19:08:28 T:6392 NOTICE: Creating Demuxer
19:08:28 T:6392 NOTICE: Opening video stream: 0 source: 256
19:08:28 T:6392 NOTICE: Creating video codec with codec id: 28
19:08:28 T:6392 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
19:08:28 T:6392 NOTICE: Creating video thread
19:08:28 T:6392 NOTICE: Opening audio stream: 3 source: 256
19:08:28 T:6392 NOTICE: Finding audio codec for: 86020/60
19:08:28 T:2176 NOTICE: running thread: video_thread
19:08:28 T:6392 NOTICE: Creating audio thread
19:08:28 T:6392 NOTICE: Opening Subtitle stream: 6 source: 256
19:08:28 T:5400 NOTICE: running thread: CDVDPlayerAudio::Process()
19:08:28 T:5400 NOTICE: Creating audio device with codec id: 86020, channels: 7, sample rate: 48000, pass-through
19:08:28 T:2176 NOTICE: fps: 23.976024, pwidth: 1920, pheight: 1080, dwidth: 1920, dheight: 1080
19:08:28 T:2176 NOTICE: Display resolution USER : 1920x1080 @ 60.00 - Full Screen #2 (13)
19:08:28 T:2176 NOTICE: D3D: rendering method forced to DXVA2 processor
19:08:29 T:5400 ERROR: CThread::staticThread : Access violation at 0x01795337: Reading location 0x14d56000
19:08:29 T:5400 NOTICE: thread end: CDVDPlayerAudio::OnExit()
19:08:37 T:2176 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
It looks to me like the audio thread is crashing (though I know very little about the inner workings of XBMC). If I tell XBMC that TrueHD and DTS-HD are not supported, I get garbage from my system. Audio is being passed through my NVIDIA Geforce 560ti to an Onkyo HT-R990. I also tested on Eden stock RC2 on another machine, and MPC-HC and VLC on this machine and all streams played no problem.
I've uploaded a clip with the first 50MB of the file: http://avalon.yi.org/~hakuya/innocence.b...ample.m2ts