Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Error Code -100, Getting error when encoding
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
heikon
Posted: Jun 11 2007, 09:06 AM


Member


Group: Members
Posts: 10
Member No.: 21570
Joined: 11-June 07



Hello,

I have a little problem and I would like to get some help.. problem is here..

1) I open the video file
2) I set filters (null transform and then cropping to cut away the banners, 4:3 > 16:9 or so)
3) I set XviD as video codec (restored settings to default, I have XviD installed with K-Lite Mega Codec Pack 1.7)
4) I set 128 kbps LAME MP3 as audio codec
5) I try to encode this stuff and I get "Error code -100"
user posted image


I also made video how I did these steps:
http://www.dailymotion.com/heikon/video/x2...-error-code-100
Better quality:
http://www.mediafire.com/?5svmjz3mnzy

I know that cropping caused the error (codec wants the image to be 4:3.. like source file.. but I want to but banners away!)

Im using VirtualDub 1.6.19

--------------------
Contact me via MSN if you need :)
 
       Top
foxidrive
Posted: Jun 11 2007, 10:47 AM


Advanced Member


Group: Members
Posts: 918
Member No.: 16996
Joined: 21-October 05



The codec needs multiples of either 2/4/8/16 in horizontal/vertical dimensions of the resolution - I'm guessing that the cropped dimensions are in error. Try changing the crop by small amounts to see if this is the issue.

There is normally a different error but I use the DivX internal cropping feature when I need to.

 
    Top
heikon
Posted: Jun 11 2007, 11:25 AM


Member


Group: Members
Posts: 10
Member No.: 21570
Joined: 11-June 07



QUOTE (foxidrive @ Jun 11 2007, 10:47 AM)
The codec needs multiples of either 2/4/8/16 in horizontal/vertical dimensions of the resolution - I'm guessing that the cropped dimensions are in error.  Try changing the crop by small amounts to see if this is the issue.

There is normally a different error but I use the DivX internal cropping feature when I need to.

Tried both things.. same thing.. but when leave all uncropped.. thing works.. cropped in filters or in DivX settings.. error!

I have tried LOADS of codecs for now.. all same results.. when I crop even 1 pixel.. it gives error.. but I have to crop like 75 pixels from up/down and 3 pixels from left!

By the way.. I havent seen any topics about this error on VirtualDub forum unsure.gif

Thanks for help cool.gif

--------------------
Contact me via MSN if you need :)
 
       Top
foxidrive
Posted: Jun 11 2007, 01:21 PM


Advanced Member


Group: Members
Posts: 918
Member No.: 16996
Joined: 21-October 05



QUOTE (heikon @ Jun 11 2007, 09:25 PM)

I have tried LOADS of codecs for now.. all same results.. when I crop even 1 pixel.. it gives error.. but I have to crop like 75 pixels from up/down and 3 pixels from left!

Have you tried 4 pixels and 80 pixels, just as a test?
 
    Top
heikon
Posted: Jun 11 2007, 01:50 PM


Member


Group: Members
Posts: 10
Member No.: 21570
Joined: 11-June 07



QUOTE (foxidrive @ Jun 11 2007, 01:21 PM)
QUOTE (heikon @ Jun 11 2007, 09:25 PM)

I have tried LOADS of codecs for now.. all same results.. when I crop even 1 pixel.. it gives error.. but I have to crop like 75 pixels from up/down and 3 pixels from left!

Have you tried 4 pixels and 80 pixels, just as a test?

HOLY CRAP huh.gif no way! It works! How did you do that? Okay.. now.. I dont want to cut 4px and 80px all the time.. is there anything to do to fix this -100 error?!

--------------------
Contact me via MSN if you need :)
 
       Top
foxidrive
Posted: Jun 11 2007, 02:51 PM


Advanced Member


Group: Members
Posts: 918
Member No.: 16996
Joined: 21-October 05



Make sure your cropping adds up to a multiple of 2 or 4 (depending on codec, but just try it) - say 3 pixels from the left and 1 from the right, 36 from the top and 42 from the bottom etc.
 
    Top
heikon
Posted: Jun 11 2007, 03:58 PM


Member


Group: Members
Posts: 10
Member No.: 21570
Joined: 11-June 07



Okay.. but it has to be like that sad.gif ? huh.gif Like.. 36 from top and 42 from bottom.. okay whatever dry.gif

Its realy complicated... very hard to understand.. wacko.gif ph34r.gif hehe.. cool smiles you got here rolleyes.gif

Anyway.. I have to search for resolution which is widescreen! For example: 624 x 352

One offtopic question: How do some people use XviD so 40 minutes long file will alway stay at 350 MB? I know they use MultiPass.. but when I use it I get 1 KB/s as video data-rate unsure.gif

Anyway.. thanks for helping smile.gif

--------------------
Contact me via MSN if you need :)
 
       Top
foxidrive
Posted: Jun 11 2007, 04:37 PM


Advanced Member


Group: Members
Posts: 918
Member No.: 16996
Joined: 21-October 05



QUOTE (heikon @ Jun 12 2007, 01:58 AM)
Okay.. but it has to be like that  sad.gif ? huh.gif  Like.. 36 from top and 42 from bottom..



No, any number can be cropped as long as it is an even number and is divisible by the appropriate limitation for that codec. You can have 12 from the top and 12 from the bottom, or 8 from the top and 240 from the bottom. Just make sure the total you are cropping vertically can be divided by 4 with no remainder left over, and the same for horizontally.

The real restriction is the absolute horizontal and vertical resolution, which must be divisible by 4 or 2/8/16 depending on the video codec and whether it is a horizontal or vertical dimension. Sorry I can't be more precise but it can be worked out by trial and error with a specific video codec.

You were trying to take 3 pixels from the horizontal dimension and that leaves an odd number of pixels which is illegal for the Xvid/DivX codec, whether or not the vertical dimension was correct or not. They must both be divisible by 2 or 4 etc. I hope I have made that clearer.
 
    Top
heikon
Posted: Jun 11 2007, 04:45 PM


Member


Group: Members
Posts: 10
Member No.: 21570
Joined: 11-June 07



Okay I think I understood huh.gif thanks

--------------------
Contact me via MSN if you need :)
 
       Top
foxidrive
Posted: Jun 12 2007, 03:35 AM


Advanced Member


Group: Members
Posts: 918
Member No.: 16996
Joined: 21-October 05



I still wasn't too straight forward, was I? cool.gif

Let me try again - when you crop:

The (x1 offset + x2 offset) divided by 4 should be a whole number.

The (y1 offset + y2 offset) divided by 2 should be a whole number.


The numbers above can be found in the compression dialogue window under the Video menu, listed under "Format Restrictions", and those above are for the DivX codec

 
    Top
heikon
Posted: Jun 12 2007, 06:20 AM


Member


Group: Members
Posts: 10
Member No.: 21570
Joined: 11-June 07



QUOTE (foxidrive @ Jun 12 2007, 03:35 AM)
I still wasn't too straight forward, was I? cool.gif

Let me try again - when you crop:

The (x1 offset + x2 offset) divided by 4 should be a whole number.

The (y1 offset + y2 offset) divided by 2 should be a whole number.


The numbers above can be found in the compression dialogue window under the Video menu, listed under "Format Restrictions", and those above are for the DivX codec

Yes I have saw these numbers.. but... when Im going to compress video with XviD.. I simply have to try.. I think.. wait.. when I crop 24 from top and 24 from bottom and 4 from left then I sould be fine? I mean the top+bottom=whole number, whole number : 2 or 4 = still whole number

Tell me if I got it tongue.gif biggrin.gif cool smilles cool.gif laugh.gif

TESTED: the one I tried.. like 35 from top and 35 from bottom and 4 from left = works fine.. thanks cool.gif I got it now!!

Okay now I got offtopic question for you... how can I double-pass with Divx or XviD? When I enable double-pass and select the filesize I want.. I get no video! When I enable double-pass and set the bitrate (700 kbps) then it comes bigger than without double-passing dry.gif at least when I tried it on cartoons

--------------------
Contact me via MSN if you need :)
 
       Top
foxidrive
Posted: Jun 12 2007, 07:01 AM


Advanced Member


Group: Members
Posts: 918
Member No.: 16996
Joined: 21-October 05



You forgot to divide by 4. smile.gif

No experience with dual pass encoding here.
 
    Top
heikon
Posted: Jun 12 2007, 08:21 AM


Member


Group: Members
Posts: 10
Member No.: 21570
Joined: 11-June 07



QUOTE (foxidrive @ Jun 12 2007, 07:01 AM)
You forgot to divide by 4. smile.gif

No experience with dual pass encoding here.

Ok I think I got it.. thanks biggrin.gif

--------------------
Contact me via MSN if you need :)
 
       Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
12 replies since Jun 11 2007, 09:06 AM Track this topic | Email this topic | Print this topic

<< Back to Newbie Questions