This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Banding from ProRes
#1
Hi this is a second issue from my prores encoding but thought I'd split into 2 as they are separate problems. Recently I've changed my workflow as I'm not happy with how resolve handles SD interlaced footage and can be a pain to get back out the other side so I've started using hybrid at the beginning of the chain to bob deinterlace and apply relevant cleanup before I do any further isolated colour correction. However I've compared samples from the original capture compared to what hybrid is spitting out and I'm getting some colour banding issues from the result. I'm using the prores 422 HQ SD profile on kostya default at present but not sure if the vapoursynth filters are at fault or if I should be changing something on the custom options for the prores profile. I remember previously on x264 export when I was pushing out the final files through hybrid that the avc profile level helped the issue but I'm not seeing an equivalent for the prores options. Obviously its not a codec problem as prores is perfectly capable of handling higher bit depth but other than possibly the alpha bits option I can't see anything referring to bit depth.

Many thanks
Reply
#2
Without knowing the actual Vapoursynth script and the encoding calls I have no idea what you are doing and thus can't help.

Cu Selur
Reply
#3
Hi,

So vapoursynth filters used were denoise dfttest on default (hanning/rectangular) and antialias on santiag again on default. Deinterlace was set to placebo bob with everything else as default. Thats it other than the prores profile on 422 HQ SD.
Reply
#4
That doesn't really help.
-> create a debug output level 9 of the job creation.

Cu Selur
Reply
#5
Ok link to level 9 debug below:

https://www.amazon.co.uk/clouddrive/shar...RRKrwlQR1y
Reply
#6
I think I see the cause of the problem.
MediaInfo doesn't report a bit depth
Video
Count                                    : 377
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 1
ID                                       : 1
Format                                   : ProRes
Format                                   : ProRes
Commercial name                          : ProRes
Format version                           : Version 0
Format profile                           : 422
Codec ID                                 : apcn
Codec ID/Url                             : http://www.apple.com/quicktime/download/standalone.html
Duration                                 : 23000
Duration                                 : 23 s 0 ms
Duration                                 : 23 s 0 ms
Duration                                 : 23 s 0 ms
Duration                                 : 00:00:23.000
Duration                                 : 00:00:23:00
Duration                                 : 00:00:23.000 (00:00:23:00)
Bit rate mode                            : CBR
Bit rate mode                            : Constant
Bit rate                                 : 45875200
Bit rate                                 : 45.9 Mb/s
Width                                    : 720
Width                                    : 720 pixels
Clean aperture width                     : 703
Clean aperture width                     : 703 pixels
Height                                   : 576
Height                                   : 576 pixels
Clean aperture height                    : 576
Clean aperture height                    : 576 pixels
Sampled_Width                            : 720
Sampled_Height                           : 576
Pixel aspect ratio                       : 1.093
Clean aperture pixel aspect ratio        : 1.093
Display aspect ratio                     : 1.366
Display aspect ratio                     : 4:3
Clean aperture display aspect ratio      : 1.333
Clean aperture display aspect ratio      : 4:3
Rotation                                 : 0.000
Frame rate mode                          : CFR
Frame rate mode                          : Constant
Frame rate                               : 25.000
Frame rate                               : 25.000 FPS
Frame count                              : 575
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:2
Chroma subsampling                       : 4:2:2
Scan type                                : Interlaced
Scan type                                : Interlaced
Scan type, store method                  : InterleavedFields
Scan type, store method                  : Interleaved fields
Scan order                               : TFF
Scan order                               : Top Field First
Bits/(Pixel*Frame)                       : 4.425
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay_Settings                           : DropFrame=No / 24HourMax=No / IsVisual=No
Delay_DropFrame                          : No
Delay, origin                            : Container
Delay, origin                            : Container
Stream size                              : 131891200
Stream size                              : 126 MiB (83%)
Stream size                              : 126 MiB
Stream size                              : 126 MiB
Stream size                              : 126 MiB
Stream size                              : 125.8 MiB
Stream size                              : 126 MiB (83%)
Proportion of this stream                : 0.83266
Writing library                          : AJA Kona Hardware
Writing library                          : AJA Kona Hardware
Language                                 : en
Language                                 : English
Language                                 : English
Language                                 : en
Language                                 : eng
Language                                 : en
Encoded date                             : UTC 2020-05-14 16:03:08
Tagged date                              : UTC 2020-05-14 16:03:08
colour_description_present               : Yes
colour_description_present_Source        : Container / Stream
Color primaries                          : BT.601 PAL
colour_primaries_Source                  : Container
colour_primaries_Original_Source         : Stream
Transfer characteristics                 : BT.709
transfer_characteristics_Source          : Container
transfer_characteristics_Original_Source : Stream
Matrix coefficients                      : BT.601
matrix_coefficients_Source               : Container / Stream
and this is why Hybrid assumes the source is 8bit, FFVideoSource then decodes the video as 422p8 which probably causes the banding.

Funny thing is that mplayer:
[prores @ 0000000002bc6bc0]Auto bitdepth precision. Use 10b decoding based on codec tag.
and ffmpeg:
Stream #0:0(eng): Video: prores (Standard) (apcn / 0x6E637061), yuv422p10le(tv, smpte170m/unknown/unknown, top coded first (swapped)), 720x576, 45875 kb/s, SAR 59:54 DAR 295:216, 25 fps, 25 tbr, 25k tbn, 25k tbc (default)
both report 10bit,...
-> can you share a small sample of such a source with me so I can work on a workaround to this problem/bug in MediaInfo.
(only need a few seconds)
Okay, scratch that I got a sample.

Cu Selur
Reply
#7
Send you a link to a dev version which should properly detect the bit depth of ProRes files which probably fixes the banding issue.

Cu Selur
Reply
#8
Hi Selur,

Thanks for the new version, I left it running overnight to see if the banding issue was resolved. When importing the new export to resolve the bit depth is now reading as 10 bit on the clip details however I'm still seeing significant issues with the colours when looking at the monitor compared with the original version. Theres a still of both versions linked below:

https://www.amazon.co.uk/clouddrive/shar...vXPm5pRCPJ
Reply
#9
No clue what I'm looking for,... on highly compressed jpegs. Colors seem to be the same, cropping is different.
Wild guess: might be an issue with PC vs. TV scale or a color matrix issue.
Reply
#10
Sorry they were just screengrabs, heres direct tiff stills from resolve:

https://www.amazon.co.uk/clouddrive/shar...JoBsXiS9Dz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)