Good evening,
I'm trying to figure out what the best method for converting my videos for a Wordpress website is. I record footage with my HD Camcorder and edit the video in Sony Vegas 9.
This is where I need help. How should I render the video?
The video player that I'm using on my wordpress website is
http://rodrigopolo.com/about/wp-stream-video
if you go there you will see that the author of the video player has two examples, one for HD and one for SD quality videos. That's what I want to do with my website.
He did give the commands used to convert the mp4 video to flv using the .264 codec - my question is how do I get the mp4 video from Sony Vegas?
the commands that the author provided were
# SD HQ (512kbps)
ffmpeg -y -threads 8 -i Input-For-Encoding.mp4 -s 640x352 -aspect 16:9 -r 24 -b 360k -bt 416k -vcodec libx264 -pass 1 -vpre fastfirstpass -an pre-SD-HQ-512kbps.flv && ffmpeg -y -threads 8 -i Input-For-Encoding.mp4 -s 640x352 -aspect 16:9 -r 24 -b 360k -bt 416k -vcodec libx264 -pass 2 -vpre hq -acodec libfaac -ac 2 -ar 44100 -ab 64k pre-SD-HQ-512kbps.flv
# HD (2mbps)
ffmpeg -y -threads 8 -i Input-For-Encoding.mp4 -s 1280x720 -aspect 16:9 -r 24 -b 1536k -bt 1792k -vcodec libx264 -pass 1 -vpre fastfirstpass -an pre-HD-2Mbps.flv && ffmpeg -y -threads 8 -i Input-For-Encoding.mp4 -s 1280x720 -aspect 16:9 -r 24 -b 1536k -bt 1792k -vcodec libx264 -pass 2 -vpre hq -acodec libfaac -ac 2 -ar 44100 -ab 128k pre-HD-2Mbps.flv
http://rodrigopolo.com/wp-content/uploads/video/BigBuckBunny/encoding-commands.txt
So if anyone and tell me how to accomplish getting the mp4 file to begin with I would greatly appreciate it.
Thanks a lot.
+ Reply to Thread
Results 1 to 6 of 6
-
-
You mean, how to render from Vegas to an MP4? BTW, Flash player doesn't care if your file extension is MP4 or FLV. It reads what's inside the file, so it seems redundant that the guy is posting ffmpeg commands converting MP4 to FLV. Rendering from Vegas to MP4, then converting via FFmpeg to FLV is a quality killer.
Just save in Vegas to an h264 MP4, using the same bitrate and size settings as the ffmpeg commands above. Then you can just rename the MP4 to FLV if you need to.
For your wordpress settings, you'll want to create a custom render template (see video below) with
SD
Size: 640x352
Frame Rate: 24
Bitrate: 512000
Audio: 44100, 128K
HD
Size: 1280x720
Frame Rate: 24
Bitrate: 1536000
Audio: 44100, 128K
Last edited by Soopafresh; 13th Mar 2010 at 00:07.
"Quality is cool, but don't forget... Content is King!" -
Thank you so much for that post.. I tried what you suggested and was very impressed with the quality and the size of the renders. One problem though, when I upload them to the website I have to wait for the video to finish downloading before I can view it.. with the FLV renders that I had they would play and download at the same time.. any suggestions?
Similar Threads
-
How can I convert a walmart security video .avi(sn40 codex) to normal video
By DrBaheim in forum Newbie / General discussionsReplies: 20Last Post: 14th Jan 2025, 18:58 -
Convert .exe video tutorials(built by Screencam) to video format
By cyforex in forum Video ConversionReplies: 3Last Post: 1st Apr 2012, 16:11 -
Wordpress Static Home Page
By sentient in forum ComputerReplies: 2Last Post: 3rd Nov 2009, 14:05 -
Video Streamer/player for my 1080p TV
By schwarznavy in forum Media Center PC / MediaCentersReplies: 1Last Post: 13th May 2009, 20:43 -
Wordpress categories pages as a list?
By lordsmurf in forum ComputerReplies: 2Last Post: 7th Aug 2007, 21:11