display heart rate data in video at DVinfo.net

Go Back   DV Info Net > Windows / PC Post Production Solutions > What Happens in Vegas...

What Happens in Vegas...
...stays in Vegas! This PC-based editing app is a safe bet with these tips.


Reply
 
Thread Tools Search this Thread
Old May 11th, 2010, 02:20 PM   #1
Regular Crew
 
Join Date: Apr 2010
Location: Erie, CO
Posts: 52
display heart rate data in video

I'm trying to figure out how to display heart rate data from a cyclist in a video of the ride. I have heart rate data along with time and can choose the correct data for a given section of video. I'm trying to figure out how to read that text data and display it as a value in the video and have it updated. The data set has heart rate every 5, 10, or 15 seconds depending on the setting of recording unit. has someone done this? Or have some ideas about how to read this information and then display it. My goal is have a small number (font = around 12) along with a red pulsing heart icon to indicate it is heart rate data. I have Sony Vegas Pro editing software. The heart rate and time data are in a space delimited text file but could be in a spreadsheet.

Mike Prendergast
Mike Prendergast is offline   Reply With Quote
Old May 11th, 2010, 09:22 PM   #2
Major Player
 
Join Date: Jun 2003
Location: Fredericksburg, VA
Posts: 244
I'm often obtuse and miss the point, so let me ask...
Are you seeking to display the heart rate information in some way other than manually entering/overlaying the data as text onto the screen?
or
Are you simply seeking how to add text overlaid onto video?
sorry if i'm off base...
Sam Houchins II is offline   Reply With Quote
Old May 12th, 2010, 09:45 AM   #3
Regular Crew
 
Join Date: Apr 2010
Location: Erie, CO
Posts: 52
Hi Sam, Thanks for asking. I'm sure it is confusing. Your first question is what i need to do. I do know how to display text as an overlay and how to move it around on the display. What i'm struggling with is how to display data that changes with time. I need the heart rate data to update (change) every 5 seconds for several minutes. I don't want to input a value with a duration of 5 seconds and then repeat this process hundreds of times manually. So i need a way to have a list of values update (in the same location on the screen). Once in place the result would be a blinking heart icon with data displayed above it. Every 5 seconds the value would change. Does that help?
Mike Prendergast is offline   Reply With Quote
Old May 12th, 2010, 11:10 AM   #4
Major Player
 
Join Date: Jun 2003
Location: Fredericksburg, VA
Posts: 244
Not knowing anything more sophisticated, i would merely manually enter the text (#) overlay on its own timeline (track), and manually change its value every 5 seconds...
..by dropping a text media onto its own time line, with screen placement, font, size, etc. to my liking.
Sizing it to 5 seconds
copying it
pasting it sequentially right after each other ad infinitum (cntrl,v?)
go back and change the texts (#'s) to their appropriate values.
On another time line. I'd have the blinking heart and position/size it relative to the heart rate value.
I'm sure i'm stating the obvious, so sorry.
I'm clueless on creating scripts if that's what you're looking for, and will be really surprised when someone produces the answer how that script would refer to a data base for it's values.
Even reading scripts people have provided in other threads was Greek to me.
I can imagine your goal is pretty cool, and hope it works out for you.
Sam Houchins II is offline   Reply With Quote
Old May 12th, 2010, 03:00 PM   #5
Trustee
 
Join Date: Jul 2007
Location: Novato, CA
Posts: 1,770
What format do you have the heart rate data in now? Is it a text file with a line for each reading?

Maybe try to use a credit role where the credits is the heart rate and have it flash for the interval of your data.

I'll have to play a bit to see how this could work.

Garrett
Garrett Low is offline   Reply With Quote
Old May 12th, 2010, 08:19 PM   #6
Regular Crew
 
Join Date: Mar 2007
Location: Denver, CO, USA
Posts: 85
Mike,

I'm not sure how to do this using Vegas. In After Effects you can use the effect Text -> Numbers.

Here's how I would do it:
  1. Create a new layer by choosing Layer New Solid from the menu
  2. Make the layer the same size as your composition
  3. Select the layer in the composition window by clicking on it
  4. Add the Numbers effect by choosing Effect Text Numbers from the menu
  5. In the effect control window - click the stop watch on the Value/Offset/Random field
  6. Move the timeline to 2 seconds
  7. Update the Value/Offset/Random field
  8. You should now have 2 key frames on the time line
  9. Start Microsoft Excel, then switch back to After Effects
  10. Select all the keyframes and copy to clipboard
  11. Switch to Excel, and paste from the clipboard
  12. Use your existing data, enter the frame and new heartbeat rate in the spreadsheet replacing the existing values and then insert new rows as necessary.
  13. Select all of the text in Excel and copy to clipboard
  14. Switch to After Effects, make sure the Numbers effect is active on the timeline and paste in the values

If you've only got a couple of clips you need this done on, you could send me the data and I could create an overlay you could import into Vegas. If its more than a few, we could work something out.

Roger Wilson
(303) 434-9151
Roger Wilson is offline   Reply With Quote
Old May 13th, 2010, 03:01 PM   #7
Regular Crew
 
Join Date: Apr 2010
Location: Erie, CO
Posts: 52
Quote:
Originally Posted by Garrett Low View Post
What format do you have the heart rate data in now? Is it a text file with a line for each reading?

Maybe try to use a credit role where the credits is the heart rate and have it flash for the interval of your data.

I'll have to play a bit to see how this could work.

Garrett
The data is on one line each so that might work. I will have to figure out how to time the data rate change. Maybe it will be as simple as: 100 heart rate values at 2 second update would be a total time of 200 seconds. Make the credit event that long and then paste in the values. I will give it a try.
Mike Prendergast is offline   Reply With Quote
Old May 13th, 2010, 03:05 PM   #8
Regular Crew
 
Join Date: Apr 2010
Location: Erie, CO
Posts: 52
Quote:
Originally Posted by Roger Wilson View Post
Mike,

I'm not sure how to do this using Vegas. In After Effects you can use the effect Text -> Numbers.

Here's how I would do it:
  1. Create a new layer by choosing Layer New Solid from the menu
  2. Make the layer the same size as your composition
  3. Select the layer in the composition window by clicking on it
  4. Add the Numbers effect by choosing Effect Text Numbers from the menu
  5. In the effect control window - click the stop watch on the Value/Offset/Random field
  6. Move the timeline to 2 seconds
  7. Update the Value/Offset/Random field
  8. You should now have 2 key frames on the time line
  9. Start Microsoft Excel, then switch back to After Effects
  10. Select all the keyframes and copy to clipboard
  11. Switch to Excel, and paste from the clipboard
  12. Use your existing data, enter the frame and new heartbeat rate in the spreadsheet replacing the existing values and then insert new rows as necessary.
  13. Select all of the text in Excel and copy to clipboard
  14. Switch to After Effects, make sure the Numbers effect is active on the timeline and paste in the values

If you've only got a couple of clips you need this done on, you could send me the data and I could create an overlay you could import into Vegas. If its more than a few, we could work something out.

Roger Wilson
(303) 434-9151
thanks for the detailed reply. I do need\want to learn how to do this as i make bicycle ride videos and want to use this technique to help viewers understand how much effort is being put out by riders on climbs and during fast paced riding. thanks for the offer. i don't have after effects so i'll work some more on a vegas solution.

mike prendergast
ChainRing Films's videos on Vimeo
Mike Prendergast is offline   Reply With Quote
Old May 14th, 2010, 02:21 AM   #9
Regular Crew
 
Join Date: Jan 2010
Location: Sætre, Norway
Posts: 27
This is interesting.
I want to overlay a speed reading from a downhill skateboard run.
I can extract the speed from a garmin gps to excell. 1 reading per second.

Just have to find a good way to do it. Copy/Paste seem tedious!

A script would be nice.
Cedric Cornell is offline   Reply With Quote
Old May 17th, 2010, 01:32 PM   #10
Regular Crew
 
Join Date: Nov 2008
Location: Torbay, UK
Posts: 170
Interesting post, would be nice to know if there was a quick way of doing this sort of stuff. Could be handy for creating on screen clocks for sports scoreboards as well. Like Cedric said copy and pasting or entering them manually seems tedious.
Jonathan Palfrey is offline   Reply
Reply

DV Info Net refers all where-to-buy and where-to-rent questions exclusively to these trusted full line dealers and rental houses...

Professional Video
(800) 833-4801
Portland, OR

B&H Photo Video
(866) 521-7381
New York, NY

Z.G.C.
(973) 335-4460
Mountain Lakes, NJ

Abel Cine Tech
(888) 700-4416
N.Y. NY & L.A. CA

Precision Camera
(800) 677-1023
Austin, TX

DV Info Net also encourages you to support local businesses and buy from an authorized dealer in your neighborhood.
  You are here: DV Info Net > Windows / PC Post Production Solutions > What Happens in Vegas...

Thread Tools Search this Thread
Search this Thread:

Advanced Search

 



Google
 

All times are GMT -6. The time now is 06:12 PM.


DV Info Net -- Real Names, Real People, Real Info!
1998-2017 The Digital Video Information Network