prepare .mp4 video for flash video
by Jeff Pimentel
on
Oct 24, 2008 at 7:34:17 pm
I captured footage with my Sony HD AVCHD camcorder, which generated .m2t files. I then brought those into Sony Vegas Movie Studio Platinum 8 and rendered the clip as a Main Concept AAC/AVC (.mp4). So now I have a .mp4 video file that I want to insert into my webpage using Flash Professional CS3 and Dreamweaver CS3.
Can someone tell me the steps to go through starting with my .mp4 file to get the necessary flash video files for upload on my host ftp.
When I try to use the Flash Encoder it plays audio but the video is blank. I have figured out how to go from a .mov file and encode in the Flash Encoder to get a .flv for my webpage.
The reason why I am trying to do the .mp4 is because I understand rendering to that type of file will yield the best video quality. I may be wrong on that and if I am please correct me. I want to render my clip to a format in Sony Vegas that will eventually lead to the best video quality once in encode to Flash.
Thanks in advance for your help. I have spent hours trying to figure this out with no luck. Just the audio with a blank video screen is all I have been able to get.
General notice: from now on, I would like to ask everyone to put [AS2] or [AS3] (corresponding to the version of actionscript you are using on your project) in front of their post titles when the question is actionscript related! Please help us help you faster. Thank you.
Re: prepare .mp4 video for flash video by Jeff Pimentel on Oct 25, 2008 at 5:33:19 am
Thank you for providing that link to me, but I believe it is a little over my head.
You say there is no need to create an .flv file from my .mp4. When I try to insert a video in Dreamweaver it wants a .flv. How do I get it to accept a .mp4? Is there a way to import it and get dreamweaver to skin the video as well?
If you could give me more of a point and click tutorial or instructions that would be great. Sorry for being so difficult.
I am not tied to the .flv file I just want to preserve as much of my original video quality from my camcorder as possible. I think I have logged about 20 hours trying to figure out how to take my .mp4 file and incorporate in my webpage using a flash player.
Re: prepare .mp4 video for flash video by Pieter Helsen on Oct 25, 2008 at 11:49:45 am
If you want to use Dreamweaver to do this, just go ahead and safe it as an mpeg and convert it to .flv via flash/dw. That's the only way you're gonna be able to skin your player without having to use actionscript.
Difference in quality should be minimal. .mp4 is mainly used as a highdef format for flash and requires NetStream and NetConnection classes to work. So you're easier off just encoding to .mpg and converting to .flv.
Kind regards,
Pieter
General notice: from now on, I would like to ask everyone to put [AS2] or [AS3] (corresponding to the version of actionscript you are using on your project) in front of their post titles when the question is actionscript related! Please help us help you faster. Thank you.
Re: prepare .mp4 video for flash video by Jeff Pimentel on Oct 25, 2008 at 4:23:08 pm
When you say save it as .mpeg do you mean .mpeg2, which is DVD format? How would I save my .mp4 as an .mpeg or are you saying to render my original footage as .mpeg in Sony Vegas rather than .mp4...then convert the .mpeg to .flv in the Flash Encoder.
I did find a program online ($89) that will convert my .mp4 to .flv and I downloaded the trial version. I was able to take my .mp4 and convert to .flv using the h264 codec. The end result turned out pretty good, but I didn't want to have to pay more money for that. Something I did notice though when I used this trial version the video quality went down a little. Do I want the bitrate to be higher than 800?
Re: prepare .mp4 video for flash video by simon boyle on Jul 20, 2009 at 8:41:45 am
There are a number of options for converting mp4 to Flash video for the Web, all with different prices and varying degrees of control over your content. The most expensive option is to use Macromedia's Flash application, which offers a maximum amount of control over output options for around $400, Unless you make money from these Flash movies, that's expensive.
A second option is Sorensen Squeeze, which retails for around $120. Sorensen is well known for video compression efforts for a wide range of video formats.
The option I currently recommend for most people is Video Encoder for Adobe Flash, because it's affordable at $45 and offers most of the options people require for displaying video online. If you want a try, here: