Video corruption on 1080p DTS MA
#1
Hi Folks,

I'm not even sure if I've titled that right. Some of my video files appear to be corrupted (large blocks, stange colours see here: http://imgur.com/a/l9kHQ ) when playing in XBMC. The image will return to normal but will occasionally do this again.

They work in Media Player Classic and VLC but not XBMC
The only correlation I've found is that they're all 5.1 DTS Master Audio and x.264 in 1080p. However not every file with these properties is effected

I'm running on an Acer Revo RL80 using HDMI for audio and video with Windows 7 ( http://www.acer.co.uk/ac/en/GB/content/m....SMBEK.007 ) playing the files from an external drive

These files all worked perfectly on my desktop machine under the same conditions (external drive, HDMI out). The major difference I'm guessing is that my desktop uses an ATI radeon HD 7970 while the Revo uses an integrated Intel chip. But none of this really explains why the problem only happens in XBMC

I've tried setting my render method specifically to DXVA but that doesn't seem to have helped and tried using full screen and windowed full screen.

Anybody have any ideas?

Thanks

Paddy

edit: log from attempting to play one of the problematic files:

21:08:25 T:1600 NOTICE: Opening video stream: 0 source: 256
21:08:25 T:1600 NOTICE: Creating video codec with codec id: 28
21:08:25 T:1600 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
21:08:25 T:1600 NOTICE: Creating video thread
21:08:25 T:1600 NOTICE: Opening audio stream: 1 source: 256
21:08:25 T:1600 NOTICE: Finding audio codec for: 86020
21:08:25 T:1600 NOTICE: Creating audio thread
21:08:25 T:1600 NOTICE: Opening Subtitle stream: 2 source: 256
21:08:25 T:3468 NOTICE: Thread CDVDPlayerAudio start, auto delete: false
21:08:25 T:3468 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
21:08:25 T:3468 NOTICE: Creating audio stream (codec id: 86020, channels: 8, sample rate: 192000, pass-through)
21:08:25 T:2448 NOTICE: Thread CDVDPlayerVideo start, auto delete: false
21:08:25 T:2448 NOTICE: running thread: video_thread
21:08:25 T:2448 NOTICE: fps: 23.976024, pwidth: 1920, pheight: 816, dwidth: 1920, dheight: 816
21:08:25 T:2448 NOTICE: Display resolution DESKTOP : 1920x1080 @ 60.00 - Full Screen (16)
21:08:25 T:2448 NOTICE: D3D: rendering method forced to DXVA2 processor
21:08:32 T:3788 NOTICE: CDVDPlayer::CloseFile()
21:08:32 T:3788 NOTICE: DVDPlayer: waiting for threads to exit
21:08:32 T:1600 NOTICE: CDVDPlayer::OnExit()
21:08:32 T:1600 NOTICE: DVDPlayer: closing audio stream
21:08:32 T:1600 NOTICE: Closing audio stream
21:08:32 T:1600 NOTICE: Waiting for audio thread to exit
21:08:32 T:3468 NOTICE: thread end: CDVDPlayerAudio::OnExit()
21:08:32 T:1600 NOTICE: Closing audio device
21:08:32 T:1600 NOTICE: Deleting audio codec
21:08:32 T:1600 NOTICE: DVDPlayer: closing video stream
21:08:32 T:1600 NOTICE: Closing video stream
21:08:32 T:1600 NOTICE: waiting for video thread to exit
21:08:32 T:2448 NOTICE: thread end: video_thread
21:08:32 T:1600 NOTICE: deleting video codec
21:08:32 T:1600 NOTICE: DVDPlayer: closing subtitle stream
21:08:32 T:1600 NOTICE: Closing subtitle stream
21:08:32 T:1600 NOTICE: CDVDPlayer::OnExit() deleting demuxer
21:08:32 T:1600 NOTICE: CDVDPlayer::OnExit() deleting input stream
21:08:32 T:3788 NOTICE: DVDPlayer: finished waiting
21:08:32 T:2556 NOTICE: Thread Background Loader start, auto delete: false
21:08:32 T:3788 NOTICE: CDVDPlayer::CloseFile()
21:08:32 T:3788 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
21:08:32 T:3788 NOTICE: DVDPlayer: waiting for threads to exit
21:08:32 T:3788 NOTICE: DVDPlayer: finished waiting
21:08:46 T:1436 WARNING: CWin32DirectSound::GetSpace - buffer underrun - W:10848, P:264, O:10584.
Reply
#2
I've managed to narrow this down to:

1080p x264 videos with bitstreamed sound (DTS MA 5.1 and Dolby TrueHD 5.1, doesn't seem to happen on stereo or mono DTS MA). It's less frequent on some files but still there. Doesn't happen at all in Media Player Classic when that's set up to output WASAPI
Reply
#3
Have you tried disabling DXVA? Intel graphics don't tend to play nice the DXVA implementation via the FFMEG version in Frodo.
Reply
#4
Turning DXVA2 off seems to have fixed it. Thank you!

It seems to run a little worse though, but still smooth so long as I don't bring the overlay up, which handily I don't as I mostly control my xbmc from a tablet.

Thanks again.
Reply
#5
I just read your post today while looking for a solution to the same problem - and disabling DXVA seems to fix it - on a PC board with integrated Intel graphics.

The pixelation occurred for me on both DTS and AC3 videos. It seems to happen on scenes with fast action, and stops when a fresh key frame is processed (I think).

Thanks for posting and getting a solution!
Reply

Logout Mark Read Team Forum Stats Members Help
Video corruption on 1080p DTS MA0