Expressions/Scripts/Presets

Moderator: Paul Tuersley

 
cdinic
Topic Author
Posts: 12
Joined: Mon May 05, 2008 4:24 pm

free for you! movie barcode generator

Wed Mar 23, 2011 3:33 pm

Hey guys. I made a quick movie barcode generator to make these:
http://moviebarcode.tumblr.com/

It isn't very elegant and needs to handle large video formats, but it works! If you make any improvements please post back here so I can include them.
http://dinicolas.tumblr.com/post/405059 ... er-effects

best,
-Chris
 
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: Thu Jun 17, 2004 9:27 am
Location: New York City, NY
Contact:

Re: free for you! movie barcode generator

Fri Apr 01, 2011 2:02 pm

Those are some really cool looking results. Is the script available somewhere?

-Lloyd
 
philspitler
Posts: 39
Joined: Wed Nov 02, 2005 10:20 am
Contact:

Re: free for you! movie barcode generator

Fri Apr 01, 2011 4:45 pm

I did the same thing using expressions.

I used the sampleImage command to tint a single pixel solid that was duplicated 2000 times.

It takes a long time to process so I actually sequenced the layers to see the barcode build up.

LLoyd, I'll email you the project.

Phil
 
Dan Ebberts
Posts: 318
Joined: Sat Jun 26, 2004 10:01 am
Location: Folsom, CA
Contact:

Re: free for you! movie barcode generator

Sat Apr 02, 2011 10:18 am

This seems like it might be a good job for Pixel Bender. Here's a simple one-pixel slice with a control to let you set the y position for the sample:

<languageVersion : 1.0;>
kernel BarCode
<   displayname : "Bar Code";
    category : "Pixel Bender Effects";
    namespace : "AfterEffects";
    vendor : "Dan Ebberts";
    version : 1;
    description : "Create bar code from image";
>

{
    input image4 src;
    output pixel4 dst;

    parameter float2 center
    <
        aeDisplayName: "Center";
        aePointRelativeDefaultValue: float2(0.5,0.5);
        aeUIControl: "aePoint";
        parameterType: "position";
        defaultValue: float2(200.0,200.0);
    >;

    void
    evaluatePixel()
    {
        float2 p = outCoord();
        dst = sample(src,float2(p.x, center.y));
    }
}


Just save it as a .pbk and drop it into AE's Plug-ins folder.

Dan
 
becofuan
Posts: 2
Joined: Mon Dec 29, 2014 2:00 am

Re: free for you! movie barcode generator

Thu Jul 16, 2015 11:35 pm

Hi, cdinic
Thank you for sharing the movie barcode generator. I scan the barcodes with my phone camero, but they cannot be recognized. How do you scan it? Or this issue is caused by the barcode images are too large and is not clear when the camera captures the whole barcode image?

Who is online

Users browsing this forum: No registered users and 2 guests