VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. Member
    Join Date
    Mar 2010
    Location
    Kent, WA
    Search PM
    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.
    Quote Quote  
  2. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    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!"
    Quote Quote  
  3. Member
    Join Date
    Mar 2010
    Location
    Kent, WA
    Search PM
    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?
    Quote Quote  
  4. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    You may have to remux it with yamb to get the bits and pieces into the file to make it stream correctly
    Read my blog here.
    Quote Quote  
  5. Member
    Join Date
    Mar 2010
    Location
    Kent, WA
    Search PM
    Originally Posted by guns1inger View Post
    You may have to remux it with yamb to get the bits and pieces into the file to make it stream correctly
    yea, I just read that some where... thanks for the quick reply

    I'm using this command
    mp4box -inter 500 name_of_the_video.mp4

    does that seem right?
    Quote Quote  
  6. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    Not done it, so I can neither confirm nor deny . . . . . .

    But I am sure someone who has will be along shortly
    Read my blog here.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!