PDA

View Full Version : mencoder -lavcopts inter_matrix format?


agathorn
14th May 2008, 19:19
Hey all,

Been scouring everywhere but I can't seem to find a nice simple explanation of how to lay the inter_matrix option out.

What I want to do is use some of Sharktooth's custom matrices, I just don't know how to enter them into the CLI.

For example, here's the matrix I want to use:


8 10 10 10 11 11 13 15
10 10 10 10 11 12 14 16
10 10 11 11 13 14 16 18
10 10 11 13 15 17 19 23
11 11 13 15 19 22 26 29
11 12 14 17 22 28 34 41
13 14 16 19 26 34 44 55
15 16 18 23 29 41 55 72

15 15 15 15 16 17 19 22
15 15 15 15 16 18 20 23
15 15 16 17 19 20 23 27
15 15 17 19 22 25 29 33
16 16 19 22 28 32 38 43
17 18 20 25 32 41 50 60
19 20 23 29 38 50 66 81
22 23 27 33 43 60 81 106


So how would I go about entering those numbers? Do you just go left to right, one row at a time? so you would end up with:
8,10,10,10,11,11,13,15,10,10,10,10,11,12,14,16,10,10,11,11,13,14,16,18,10,10,11,13,15,17,19,23,11,11,13,15,19,22,26,29,11,12,14,17,22,28,34,41,13,14,16,19,26,34,44,55,15,16,18,23,29,41,55,72

Would that be correct? Is do you lay them out in some other way?

unskinnyboy
14th May 2008, 23:27
Would that be correct?Yes. And the same format for intra_matrix too.

You could also do it this way to make it more readable:

inter_matrix= 8,10,10,10,11,11,13,15,\
10,10,10,10,11,12,14,16,\
10,10,11,11,13,14,16,18,\
10,10,11,13,15,17,19,23,\
11,11,13,15,19,22,26,29,\
11,12,14,17,22,28,34,41,\
13,14,16,19,26,34,44,55,\
15,16,18,23,29,41,55,72

agathorn
20th May 2008, 19:46
Thank you very much!