Log in

View Full Version : Error about IG in Scenarist


srfscenar
24th April 2014, 12:09
Hi all,

I got this error:
Error : The size of any line after coding exceeds the size of the line before coding (the 'uncompressed' line) plus 16 (for coding overhead). LINE=21, SIZE(rle_coded_line())=17168, SIZE(uncompressed_line())=11432
Error : Run-Length encoding error. E:\Projects\29\IGs\TopMenu_v01\HDMV\TOP_MENU_v01\TOP_MENU_v01\TOP_CHAPTERS\Slicing_30\Button_30\Normal_30\Slicing_30.png.
Error : IG Encode error(TOP_MENU_v01). See above message. (Epoch=Epoch#1, DisplaySet=TOP_MENU_v01).

As I understand there is something wrong with the slices...
but before I re-do them, does anybody know what it is exactly?

Thank you.

EDIT: Designer exports it fine but when Scenarist tries to encode it pops the error.

srfscenar
24th April 2014, 15:30
I re built the entire page and it is working now.
It would be nice to know what this error was about though.
If anyone has seen it before pls tell me.

Thanks!

rik1138
24th April 2014, 21:03
It's kind of hard to explain (took me forever to 'get it'... :) ). Something to do with how the graphics for an HDMV menu are 'compressed' into an .M2TS format. From left to right, each row of pixels (or maybe they are grouped into rows of 8 or something) has to be able to be compressed down to a certain size (obviously lossless), if it can't achieve this, you get this error. Has to do with buffers/bandwidth for the HDMV graphics.

Things that can fix it:
Re-slicing images (although this won't always work)
Dithering them differently in Designer (what I usually did, just playing with settings until it worked)
Simplify the design.

Lots of changes in the design are what cause it. The title I had the problem with had a menu bar that they wanted to look like water, so it had a wavy pattern in it (might have been an actual photograph of water, can't recall... It was called 'Water Life' iirc.). Just like in video, an image of water is difficult to compress... I think we ended up applying a slight softening filter to the original image, then dithering tweaks in Designer until I got it to work.

Obviously, if you can stick with solid color images, or ones with only subtle gradients, it'll work better...
It just takes some fiddling around to solve it...

srfscenar
25th April 2014, 08:40
Thanks for the info rik!
It kinda makes sense because the graphic has a lot of gradients.
I will try the one with the problem and try to play with the dither to see if it corrects it.

Thanks! ;-)