How to encode video and use the plug-in
UPDATE: Check this little updated guide to understand some key factors of the streaming video online.
How to insert video on a post or page:
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:
Encode and inject video on Windows:
Install FFmpeg and Yamdi on Mac OS X:
Encode and inject video on Mac OS X:
Install FFmpeg and Yamdi on Ubuntu:
Encode and inject video on Ubuntu:
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, 1280x720px
I use all the possible video versions on the demo page where you can download all the commands needed:
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







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.
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?
I’ll see if I can make some way to do what you want or something similar.
Thx for the plugin! Btw, what program did you use to grabb video from monitor?
Greets
Konstanty
Most of the times recordmydesktop for Linux using virtual box for virtual Windows
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
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.
Can you give me a good URL with useful instructions, it would be cool if you enter a real email address in your comments next time, thanks.
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 ?
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.
Hi Rodrigo,
my player dont show a timecode…it show only 00:00…thanks for help
cherio
Check in the FAQs
http://rodrigopolo.com/about/wp-stream-video/faq#i-cant-seek
Hi Rodrigo, I’ve been using your plugin a bit and say when it works it’s sweet. Thanks.
I’m trying to find some code for ffmpeg that i’m sure i saw you post here or somewhere to use ffmpeg to convert a handbrake encoded .m4v to a flv without recompressing. Just the container info.
Would you mind reposting? Thanks very much.
http://rodrigopolo.com/support/topic/mp4m4v-to-flv-without-recompressing
Rodrigo:
On my test videos, the permalinks aren’t showing. Instead the regular links that have /?p=88 (for example) are showing. I’ve tried to figure out why this could be but so far no luck. Permalinks are set up and showing in the address bar on my browser. Ayn help would be very much appreciated.
Thanks,
John
hi Rodrigo..I have problem with your plugin I try to insert some movie online then i got msgs “FLV MISSING”, wht should i do then ..?? thks for your attention.
Check the required fills for any video, the ones with an “*”
tks for your respon, but now i have another problem coming msgs “video not found”??
thanks for help..
Hi Rodrigo, I just started using the Stream Video plugin and it works great! Thanks for all the video tutorials. I was wondering if you know of a way to stream video to an Android mobile phone? The videos display fine on the computer and iPhone but only a “missing plugin” or the preview image display on Android. Just wondering if there is some configuration I can add to be able to stream onto a Android device .. thanks,norm
I don’t know, I don’t have an Android phone to make the tests, because it is designed to work with or without the Flash Plugin it is supposed to work with devices that can handle an MP4 embed tag, I’m considering adding the HTML5 video tag to the plugin in the near future.
Thanks Rodrigo, it looks like it’s trying to find the Flash Player plugin on Android’s native browser but there is not one yet. Reading from Android Developer’s website (http://developer.android.com/guide/topics/media/index.html), it looks like Android can play .mp4 but maybe the “MediaPlayer” class is not being called. Will have to play around .. thanks so much for you quick response, norm
Hi,this plug-in is great. I use it to stream movies with captions on my site. I am wondering how to enable background for captions. Thanks
Rodrgigo my compliment very well done Plugin probably my all time favourite . just one option i would miss ,same as you can include youtube videos it would be nice to play Facebook videos in your player . Facebook allow embedding of there videos now so it should easy be possible with your player.
Friendly Greets
Great job with the plugin I am enjoying it but am having some issues.
I got the videos to play, closed captioning working and it to play on my mobile device of choice… then when i tried to scrub every time i clicked the scrubber it jumped back to the beginning of the video. I then went through and injected the video using the method for applying the meta data as you state on your site. and the scrubbing worked.. GREAT… BUT now the closed captioning only works for the first title, fades out and doesnt come back… having a problem getting them both to work at the same time. any ideas?
Thanks again for the plugin
Well, first I have to know which mobile device are you using, there are two different ways to get both, the desktop/flash experience and the mobile experience with subtitles, for the flash/desktop experience I use FLV files encapsulating H.264-AAC video with metadata injected, the subtitles I use are SRT subtitles converted to XML for the JW Player, you can convert any SRT subtitle to XML with this tool
http://tools.rodrigopolo.com/srt2xml/
For the mobile experience I encode separately an iPhone/iPod touch/iPad version and then I inject the subtitles with “Subler” which is sadly an application for OS X, there are other options but again sadly with the other options the video get stuck in the middle, you can download Subler here:
http://code.google.com/p/subler/
You can see how it works this solutions on some videos I have posted today:
http://rodrigopolo.com/opinion/documentales-necesarios.html
I’m going through the various video player options with WordPress widgets, and yours looks very sweet.
One thing that all seem to be missing is the option of displaying a small thumbnail image and text wrap options which then trigger either a Thickbox effect for playing, or an expanding div effect as used in Facebook. Do you have plans to add either of these to your plugin?
Thanks
Not for this plug-in but for another one always for video but with HTML5 support.
Hey Rodrigo…I’m having an issue for some reason getting videos to play on an iphone/ipad. I had it working before then changed the video and something is not working now. I works fine in flash but not on iphones.
Also, is it possible to integrate videos from amazon s3 and use your plugin as the wrapper?
Here’s the site that the video isn’t working on too by the way…
http://www.playworshipguitar.com
thanks a ton…love the plugin!
Check this page: http://rodrigopolo.com/about/wp-stream-video/encoding-stream-video
Hi Rodrigo,
I have problem with this plugin
I cant share videos on facebook like as youtube. I could watch that video shared on facebook
FaceBook have a way to recognize the YouTube embed links to change it their way, sorry.