• Photography
  • Video
  • Blog
  • About
  • Contact
  • COVER

David Shelleny

Creative Production

  • Photography
  • Video
  • Blog
  • About
  • Contact
  • COVER

Flash Video Cue Points With XML Part 1

If you are working on video and flash productions, video cue points (event cue points to be specific) are an essential tool for synching videos with other on screen events.  We use it in our alpha-video productions, where the virtual host’s words are synched with flying in text, images, and backgrounds.  Your images are always in synch with your video, because the video triggers the actions.   

Here is an example…

Click on the picture to see the end results

When I first started producing these types of projects, I would painstakingly insert cue points by scrolling the video in the Flash Video Encoder to the place where I thought the cue point should go.  For projects that had 100-200 cue points, it was a daunting task.  Plus, if I needed to add more cue points later, I would have to re-insert EACH CUE POINT AGAIN…one at a time…FORGET IT!

Using XML files for cue points makes so much sense, because you are creating a separate list of cue points that you can simply import into the video, and save.  Using this method will save you a ton of time and effort for both the initial creation of the project, and subsequent updates (if needed)!  

Here is my method:

 

TOOLS:
Final Cut Pro
Flash CS3
Microsoft Excel
BBEDIT Lite

STEP 1 – Setup Your Spreadsheet:

In Excel, Set up a spread sheet like the one below.  Use the following headings:

STEP 2 – Record all video cue points, and assign each a cue number and a description:

In your video editor (We use Final Cut Pro) find the places that you want to sync action, and record the times in the “Video Time” column.  Be sure to keep them in numerical order.  Enter your description for each cue point.  Each time gets its own Cue #.  HINT: Use different color fonts for different actions.

 Spreadsheet with Video Time

STEP 3 – Convert video frames to Flash samples:

For our purposes, we will be talking about video time as seconds and frames.  For example, a video time of 12:07 is 12 seconds, 7 frames.  To convert video time to Flash time, we leave the seconds alone, and convert the frames to samples.  Here’s how:

There are 1000 Flash samples, and 29.97 video frames (NTSC) in one second.  To convert video frames to Flash samples, use the following formula 1000/29.97.  This equals 33.333.  With our example of 12:07, multiply 7 frames by 33.333, this equals 233.  Last step, simply put your new Flash sample number AFTER the seconds.  12 seconds 07 frames = 12233 samples.

Spreadsheet with Flash Time

To keep things simple, I created a cross reference chart of video frames and samples.

STEP 4:  Create your xml file

Using you text editor of choice like notepad, etc. (we like BBEdit Lite) Create your XML cuelist document by using the following code:

//HEADER CODE:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>

<FLVCoreCue points Version="1">

//CUEPOINT CODE:
<CuePoint>
<Time></Time>
<Type>event</Type>
<Name></Name>

</CuePoint>

//FOOTER CODE:

</FLVCoreCue points>

STEP 5:

COPY and PASTE the CUEPOINT CODE section for as many cue points which are in the video.  Then, key in the FLASH TIME and corresponding Cue # for each cuepoint like the example below. 

<CuePoint>
<Time>12233</Time>
<Type>event</Type>
<Name>3</Name>

</CuePoint>

NOTE:

Your CUEPOINT cue #’s and Flash times need to be in sequential order.  If not, you will get an error when you try to import the XML document into FLASH.  Be careful with your cutting and pasting, and double check your code!

STEP 6:

NAME and SAVE your XML document using  “.xml” as the DocType.  For example, “projectcues.xml”

STEP 7:

Open the Flash Video Encoder, and click on the Cue Points Tab.  Click on the UPLOAD (file folder) button.


If your XML file was created correctly, all your cue points will show up in the cue points window on the left side.  If not, see step 5.

STEP 8:

Tweak your video settings, and finish encoding your video into the final FLV file.

If all is well, all your cue points are embedded in your FLV file, and they are FRAME and SAMPLE ACCURATE.

This has saved me a lot of time when I have hundreds of cue points to import.  Once you get used to the technique, you will get faster, and may figure out a few other shortcuts of your own.  Let me know your thoughts.

Stay tuned for Part 2 where we will cover the next steps to putting the cue points to work.

Cheers for now!

categories: Technique
Saturday 11.29.08
Posted by David Shelleny
Comments: 1
 

Project: Metalforming

Metalforming Flash Project

Men, Women, and Machines is the title of our latest piece for Metalforming, Inc. located in Peachtree Georgia.  This Flash animation project was produced for Compass Communications, and will be located on the homepage of Metalforming's new website

Take a look!

categories: Projects
Thursday 11.06.08
Posted by David Shelleny
Comments: 3
 

Good Godin...

Is effort a myth?  Check out this recent post from "tha Man" Seth Godin.

http://sethgodin.typepad.com/seths_blog/2008/10/is-effort-a-myt.html

categories: Inspiration
Wednesday 10.08.08
Posted by David Shelleny
 

2008 Chicago New Media Summit - Notes

Click on the image to go to CNMS websiteRecently, I attended the Chicago New Media Summit (now officially the Chicago Convergence). Of the two day's worth of meaningful presentations, I noted some of the gems I took away from the conference.


Personal Branding
David Armano – Critical Mass

The 5 “B’s” of Brand U.0

1. Be ubiquitous- multiple streams
2. Be Social- manage social streams
3. Be interesting
4. Be remarkable
5. Be yourself


Simple Technology
Jason Fried - 37Signals

Marketing based on teaching.

Businesses are afraid of sharing information fearing that the competition will take and use it competitively against the business.

For smaller businesses, how do you get known? Go back to the office TODAY and start a blog. Teach the community about your process, and what works for you. You will then create an audience that comes back to you, which will build into a community that you can sell things to.

Share a process and educate! Let people behind the scenes.


Community Creative
Mike Samson and Ross Kimbarovsky - Crowdspring

You should be less concerned about people taking your ideas, and more concerned about sharing them.


Social Media Development
Rod Racik - myTransponder.com

Concentrate on Work/Life integration

How to build a social media site:
1.  Find an unmet need
2.  Invent
3.  Go beta
4.  Pay attention
5.  Evolve


TV’s Migration to Mobile
John Heinsen - Bunnygraph Entertainment

Media creation is not about making money, it's about bragging rights.


Social Media Marketing
Leah Jones - Edelman

“Viral is an outcome, not a strategy!”
Figure out the question “How do I fit in the lives of our customers?”
Learn RSS
Disclosure is important

Thursday 09.18.08
Posted by David Shelleny
Comments: 1
 

Project: myyoungchild.org

Click on the image to view the projectWe recently finished a project for myyoungchild.org, an organization that uses online stories to teach  the importance of  "being an honest, responsible, caring person, with values to lead an meaningful and important life."

The goal of the project was simple.  Use quotes, images, and music to portray the importance of a parent's involvement in their children's life.

Let us know what you think!

categories: Projects
Saturday 09.13.08
Posted by David Shelleny
 

Tracking Gustav


Pretty amazing tracking of Gustav and tropical storms in general at http://tgeo.com  If you click on the NRL link, you can see high resolution satellite images, and storm path graphics of the storm.

My geo-scientist neighbor turned me on to the website.  Pretty amazing stuff.

Good luck to everyone being affected by the storm...lets pray the levee's hold.

Monday 09.01.08
Posted by David Shelleny
 

Cut From The Same Cloth

  I just had to share this one...she is most definitely a Shelleny.

categories: Inspiration
Thursday 08.14.08
Posted by David Shelleny
Comments: 1
 

Ride The Wave

 I had a particularly stressful day today.  I have a tough deadline with an important client, and you could say I was feeling the pull we all get when we are challenged in one way or another.  I reached a point where I said to myself "enough.   I made a conscious decision to just "let the stress go."

I remember a family vacation in Maui back in 1982.  We were on Maui, and had ventured up the road to Hana.  On the way, we found a beach that had some pretty tall waves (at least six feet.)  To an eleven year old, they could have ben skyscrapers!  While we were getting our gumption up to try to swim in the surf, we saw a guy who couldn't have been younger than 70 years old just walk into the waves, and enjoy a leisurely swim amongst the undertow and crushing surf.  Wave after wave came, and he seemed to stay in the same place.  When he came out of the ocean for a break, my dad struck up a conversation with him, asking him how he managed to stay out of harms way, and in one spot among these monsters.  The old man said it was simple - don't fight the wave!  If it is breaking, dive into it, and if not, ride it out.  The wave will always put you right back where you started.

So, we managed enough courage to give it a shot, and I'll be damned, it worked!  We learned to relax and get in tune with the rhythm of the ocean, and let it take us for a ride, and bring us back.  It was really cool.

So today, I rode the wave, and gave up control.  As soon as I made the conscious decision to do this, I literally received an email from a prospect that (if the waves permit) will become a new client.

Dive in when you need to, but ride the wave when can, and pay attention to know the difference between the breakers, and the rollers.

Aloha!


categories: Inspiration
Monday 08.11.08
Posted by David Shelleny
 

A Moment...Diligently Prepared For

 

Backstory:

This is a picture of me and my favorite CART driver Paul Tracy.   As you can tell, I am a huge auto-racing fan.   For as long as I have been alive, my family has been carting me off to racetracks in Minnesota, Wisconsin, and Illinois to see a myriad of races from CART, to Trans-Am to LeMans.   The smell of the brakes and oil, along with the high-pitched scream of the turbo engines is a part of my upbringing, and always elicits a Tim Allen-esque growl when I get to the track.

A Family of Amateur Photographers:

Part of the fun of our race weekend activities is to take pictures.   We all carry around our SLR’s with huge lenses with the hopes that we will get that one shot of our favorite drivers, or the chance wreck at turn 5 at Road America.   On one particular day at a CART race, my dad and I were walking past “my” driver, Paul Tracy’s trailer in the paddock, where they prep the cars.   Naturally, I wanted to get a close-up picture of Paul, so I staked out a position behind the barrier of the trailer.

While standing there waiting, my dad and I had a chance to develop a plan for the photo we wanted:

  1. Because it was Saturday (and the races are on Sunday), the crowds were minimal.   This meant it was easier to get close up shots.
  2. Paul was scheduled to practice at one of the upcoming sessions
  3. There was only one exit of the trailer area where they bring the cars and drivers to enter the track, and we were standing at that spot
  4. Not many people saw Paul enter his trailer, so there were no other fans hovering around his trailer.

With our position set, my dad and I rehearsed what we were going to do to not only get a shot of my favorite driver, but my driver with me.   Pretty cool.

The Plan:

I handed my dad my SLR, and said “OK, when I see him come out, I will tell him I am a huge fan, and could I get a picture with him.   Then, I will hand you the camera, you take the picture, and we will be on our way.”   He got used to the camera, fired a couple test shots, and gave me the thumbs up.  

Paul’s crew started moving his car out of the paddock area into the pits.   Paul came out of his trailer, and approached the exit where we were.   Just like we rehearsed, I explained that I was a big fan, and could I get a shot with him.   He agreed, so I handed my dad the camera, he took the shot just before all the other fans realized Paul was outside.   This all took, maybe 5 seconds.

We were stoked!   Everything happened like clockwork, just as we anticipated.   It was a very cool moment.   Bragging rights ensued amongst our family of race fan/photographers!

In the grand scheme of things, this may seem like a small moment – a picture with a driver – big deal.   If you think about it though, the moment itself had some important ingredients of a successful moment.

PASSION:

We were enjoying things in life that we have a passion for – auto racing and photography.

RIGHT PLACE – RIGHT TIME:

For the picture, we had to stake out a position where we know our subject would be.   Because the driver was scheduled to practice, and we were between the trailer and the track, we were set.   We were where we needed to be, and we were “present.”

PATIENCE:

Some people may give up after standing outside a trailer for five minutes.   We knew the reward would be worth some time, so we stuck with it.

ANTICIPATION:

We knew the practice schedule, when my driver would be outside, and which entrance to stand by.   We mapped out a strategy using our experience and creativity.  

REHEARSAL:

My dad rehearsed taking the picture, knowing that it was a one-shot opportunity.   I rehearsed what I would say, so I wouldn’t have to think about it.   This put our actions on auto-pilot.

When the moment came, and everything worked out exactly as we planned, in our minds, we achieved a big success.   We were able to enjoy the moment, having taken care of variables ahead of time, like my dad fumbling with the unfamiliar camera, or me getting tongue-tied.

Maybe it is a presentation you have to give, or an upcoming sales call.   Either way, working these ingredients into your “system” could bring more successful moments in your life.

Try them.  Do you have a story where you used tactics like this?

categories: Inspiration
Sunday 08.03.08
Posted by David Shelleny
 

A Bug

 

I found this guy this morning while taking the garbage out.  Pretty amazing what you can see when you pay attention to your surroundings.

categories: Observations
Wednesday 07.30.08
Posted by David Shelleny
Comments: 1
 
Newer / Older