Weird Blocking/Distotion when encoding VC1 from BBC Blu-Ray

Archive of historical bug reports.
Please use the GitHub link above to report issues.
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
fatpizza
Posts: 29
Joined: Wed Sep 10, 2014 11:53 pm

Weird Blocking/Distotion when encoding VC1 from BBC Blu-Ray

Post by fatpizza »

Hi,
I was trying to rip my copy of the Life documentary series from BBC which uses the VC1 codec. It seems to use a weird mix of progressive for the main feature then interlaced for the credits. Anyway I tried converting this with 0.9.9 last night and it was a complete disaster. It would go extremely slowly and the resulting video was completely stutter and full of noise etc. So I'm using the new 0.10 beta 3 on Windows 7 Ultimate 64bit.
So I thought I'd try the new beta and it seems work wonderfully. Except for some weird blocking/distorted noise which appears on the right side of the screen at certain points. I've tried different quality settings, I've tried encoding to both MPEG2 and h265 but no matter what I do the same thing happens at the exact same time. IT happens during both the progressive and interlaced parts.
I've tried some other encoding software(XMedia Recode) and they work fine however they lack the decombing filter which is handy for this source which contains both progressive and interlaced material.
I've uploaded a screenshot here:
Image
Not sure if this makes a difference but when I ran mediainfo against each file the writing library used by xmedia recodeseems to be a higher version(lavf56.1.100 vs lavf55.12.0 used by handbrake) ?

Any ideas?

Edit: Pastebin of the encode: http://pastebin.com/RHXRz1Mi
mduell
Veteran User
Posts: 8187
Joined: Sat Apr 21, 2007 8:54 pm

Re: Weird Blocking/Distotion when encoding VC1 from BBC Blu-

Post by mduell »

The container writing library isn't likely the problem, the decoding library is.
fatpizza
Posts: 29
Joined: Wed Sep 10, 2014 11:53 pm

Re: Weird Blocking/Distotion when encoding VC1 from BBC Blu-

Post by fatpizza »

mduell wrote:The container writing library isn't likely the problem, the decoding library is.
I guess that makes sense, since it does it regardless of what format I encode it to.
fatpizza
Posts: 29
Joined: Wed Sep 10, 2014 11:53 pm

Re: Weird Blocking/Distotion when encoding VC1 from BBC Blu-

Post by fatpizza »

Incidentally I did also try enabling DXVA decoding but with no luck.
fatpizza
Posts: 29
Joined: Wed Sep 10, 2014 11:53 pm

Re: Weird Blocking/Distotion when encoding VC1 from BBC Blu-

Post by fatpizza »

I guess I'll try the latest nightly to see if that makes a difference...
Deleted User 11865

Re: Weird Blocking/Distotion when encoding VC1 from BBC Blu-

Post by Deleted User 11865 »

Won't, if you already tried Beta 3. We support interlaced VC-1 decoding now, but unfortunately it's not bug-free :(
fatpizza
Posts: 29
Joined: Wed Sep 10, 2014 11:53 pm

Re: Weird Blocking/Distotion when encoding VC1 from BBC Blu-

Post by fatpizza »

Rodeo wrote:Won't, if you already tried Beta 3. We support interlaced VC-1 decoding now, but unfortunately it's not bug-free :(
Thanks for saving me a little time then. :)
Is Interlaced-VC1 still a work in progress? Or is this as good as it's going to get for the next release?
Deleted User 11865

Re: Weird Blocking/Distotion when encoding VC1 from BBC Blu-

Post by Deleted User 11865 »

I don't expect any bugfixes for the next release, no. I do hope libav devs will fix it eventually though. I might look into it myself at some point, but I'm no VC-1 expert by any means.

While we do have some samples, one more isn't going to hurt. Could you maybe split a 20-second clip that includes the frame in your above screenshot and upload it somewhere? You can use mkvmerge GUI (part of Mkvtoolnix) to split by timestamp.
fatpizza
Posts: 29
Joined: Wed Sep 10, 2014 11:53 pm

Re: Weird Blocking/Distotion when encoding VC1 from BBC Blu-

Post by fatpizza »

Rodeo wrote:I don't expect any bugfixes for the next release, no. I do hope libav devs will fix it eventually though. I might look into it myself at some point, but I'm no VC-1 expert by any means.

While we do have some samples, one more isn't going to hurt. Could you maybe split a 20-second clip that includes the frame in your above screenshot and upload it somewhere? You can use mkvmerge GUI (part of Mkvtoolnix) to split by timestamp.
As requested: http://s000.tinyupload.com/index.php?fi ... 8428584648
:)
Deleted User 11865

Re: Weird Blocking/Distotion when encoding VC1 from BBC Blu-

Post by Deleted User 11865 »

We need a sample of the *source* please :P
fatpizza
Posts: 29
Joined: Wed Sep 10, 2014 11:53 pm

Re: Weird Blocking/Distotion when encoding VC1 from BBC Blu-

Post by fatpizza »

Rodeo wrote:We need a sample of the *source* please :P
Whoops... :P
Well, my source is my own bd. I'll rip it directly to mkv without encoding using makemkv and then do what you said to upload a sample shortly.
Deleted User 11865

Re: Weird Blocking/Distotion when encoding VC1 from BBC Blu-

Post by Deleted User 11865 »

Yes, that's what we need. Thanks.
fatpizza
Posts: 29
Joined: Wed Sep 10, 2014 11:53 pm

Re: Weird Blocking/Distotion when encoding VC1 from BBC Blu-

Post by fatpizza »

Ok, here is a 10 second clip. Came out at 45MB so I couldn't go much higher. Sorry this file is on a different upload page as the last one wouldn't work again for some reason...
http://speedy.sh/BtJX5/Life-Disc-1-t02-1.mkv
fatpizza
Posts: 29
Joined: Wed Sep 10, 2014 11:53 pm

Re: Weird Blocking/Distotion when encoding VC1 from BBC Blu-Ray

Post by fatpizza »

I've just started encoding some more BBC Blu-Rays I've purchased and this issue Is popping up again. Is this sort of thing being looked into for future releases? Thanks.
Deleted User 11865

Re: Weird Blocking/Distotion when encoding VC1 from BBC Blu-Ray

Post by Deleted User 11865 »

Yes, but there hasn't been much progress yet.
stryfewalker
Posts: 18
Joined: Thu Feb 18, 2010 4:26 pm

Re: Weird Blocking/Distotion when encoding VC1 from BBC Blu-Ray

Post by stryfewalker »

If you think that little bit of distortion is bad, you should have tried it before January 2014 or so. It was pretty nasty with unwatchable digital tiling and corruption. Since that update most of the corruption I have noticed with interlaced vc1 has been like the example screenshot you provided, mostly black bits of tiling around the edges of the picture and not constant, just in certain scenes.

It would be great if it was fixed completely, but after seeing what it was like before, it's hard for me to complain, especially when the amount of interlaced vc1 content I have is not substantial.
fatpizza
Posts: 29
Joined: Wed Sep 10, 2014 11:53 pm

Re: Weird Blocking/Distotion when encoding VC1 from BBC Blu-Ray

Post by fatpizza »

OK, sorry to bump my own thread but I've worked out a sort of workaround which I think works great. Basically I use XMedia Recode to encode the video from VC1 to AVC/H264 whilst setting the video to stay interlaced tff, I also set the CRF at 0 to ensure there isn't any quality loss.
The resultant video shows up as MBAFF tff interlaced in mediainfo.
I then simply pass this AVC video through handbrake using the bob decomb filter, and the previously interlaced parts now run at 50fps, whilst the progressive frames stay as is. The main bonus of course is that since I'm not encoding from VC1 there is no weird distortion.
Only real small roadblocks is that the initial encode with XMedia takes about 5-6 hours per 1 hour episode, and the resultant XMedia file is around 60-70GB. But that is of course reduced when I re-encode with handbrake.
Post Reply