How to encode video and use the plug-in

How to insert video on a post or page:

You need to install or upgrade Flash Player to view this content, install or upgrade by clicking here.

To use the Stream Video Player you need to encode your video and inject the video with his metadata, for this task I use FFmpeg and Yamdi, both programs can be downloaded from this site in the fallowing links:

http://rodrigopolo.com/about/wp-stream-video/ffmpeg-binary-installers-for-win-mac-and-linux

If you want to learn how to encode and inject your videos and how to use the Stream Video Player Tag Generator you can watch this screencasts to learn how to install FFmpeg and Yamdi and how to use them in order to work with the Stream Video Player:

Install FFmpeg and Yamdi on Windows:

You need to install or upgrade Flash Player to view this content, install or upgrade by clicking here.

Encode and inject video on Windows:

You need to install or upgrade Flash Player to view this content, install or upgrade by clicking here.

Install FFmpeg and Yamdi on Mac OS X:

You need to install or upgrade Flash Player to view this content, install or upgrade by clicking here.

Encode and inject video on Mac OS X:

You need to install or upgrade Flash Player to view this content, install or upgrade by clicking here.

Install FFmpeg and Yamdi on Ubuntu:

You need to install or upgrade Flash Player to view this content, install or upgrade by clicking here.

Encode and inject video on Ubuntu:

You need to install or upgrade Flash Player to view this content, install or upgrade by clicking here.

It is very important to know that the player needs at last one injected FLV video to work, and for customization you can add more formats to the player:

  • A preview image.
  • An iPod/iPhone version of the video which need to be encoded different.
  • An HD version of your video, 1280×720px

I use all the possible video versions on the demo page where you can download all the commands needed:

encoding-commands.txt

You can also use the FFmpeg little helper I’m working on or check the FFmpeg Cheat Sheet:
http://rodrigopolo.com/ffmpeg/
http://rodrigopolo.com/ffmpeg/cheats.html

Versión en español

11 Comentarios en relación a “How to encode video and use the plug-in”

  1. How do I put videos from sevenload.com? placed from youtube.com does not pose any problems, but the other party after such http://pl.sevenload.com/filmy/Z4WoDPl-Peoples-Choice-Awards-Mariah-Carey video unfortunately does not work.

    • The only third party place where you can actually load videos is YouTube, if you want to load videos from other sites you need first to put a pseudo-streaming script and put the URL of the streamer and the FLV video in the video tag generator.

      I check the URL you send me and they are using a special security to prevent the loading of their content from other sites, you can download the video and then upload the video to your site but be careful about copyrights.

  2. Hey. I wanna ask you if it’s possible to change the url share?
    For example. Here you got link with video:
    http://www.mmavideos.pl/mamed-khalidov-vs-michal-garnys/
    the share link is :
    http://www.mmavideos.pl/?p=123
    It’s possible to change chare link with /%postname/ ? no number?

  3. Thx for the plugin! Btw, what program did you use to grabb video from monitor?
    Greets
    Konstanty

  4. why for gods sake are you telling people to use two pass x264 encoding for web streaming in your.
    http://rodrigopolo.com/wp-content/uploads/video/BigBuckBunny/encoding-commands.txt

    EVERYONE KNOWS your FAR better off using CRF quality Number start at around between 26 and 21

    you can use -crf with maxrate/bufsize

    to get a far better fixed quality and single pass at the same time, its optimised
    to make the most out of your originals and the ONLY way to get even better is to use x264 Directly rather than through ffmpeg as you get access to newer x274 options like
    –intra-refresh –tune zerolatency –slice-max-size 1500 –keyint 30

    see
    http://x264dev.multimedia.cx/?p=249

  5. after reading my post back i think i came across badly ,sorry about that if so :)

    my main point being don’t waste bit rates were your video will probably not need it, using fixed two pass is Very wasteful and i get sick of seeing crappy encodes such as that http://(LinkRemovedByAdmin) link

    with a simple x264 crf and this plug-in these crappy pixelated wasteful fixed bitrate Peoples-Choice-Awards type encodes should become a thing of the past.

    you CAN get very Good AVC/h.264 quality when you use x264 the right way and that involves telling people to always use crf were possible Unless you have a Very good reason not to use it.

    put simply, using crf gets you a better fixed quality for a lot less bitrate for your streaming so use it.

  6. Hey there,
    I am using videos from youtube on my blog. And on the main page it says:
    “You need to install or upgrade Flash Player to view this video, install or upgrade here: ” and no link comes after all. When I click on the topic and open the post in its own window the video plays. What is the solution to solve this ?

  7. I found my solution:

    using this code in the loop, and adding a custom field to posts named klip I can use the_content() if it is a video or the_excerpt() if it is not.

Deja un comentario