Video Encoding

In order for the WP Media Player to play a video file, the file has to be encoded and saved in Windows Media Video (WMV) format. To encode a file you can use one of the following programs:

This article explains how to encode a video content for WP Media Player plugin by using the Windows Media Encoder.

Step 1: Download and install Windows Media Encoder.

Step 2: Download the Windows Media Encoder Profiles. These are used to help you run the Windows Media Encoder with the appropriate settings to output a media file in a format supported by Silverlight.

Step 3: Extract the contents of the Profiles.zip archive to the Profiles folder in your Windows Media Encoder program folder (typically C:\Program Files\Windows Media Components\Encoder).

Step 4: Start the Windows Media Encoder by clicking “Start” and typing “media encoder” in the search bar.

Step 5: Click “Custom Session” on the “New Session” dialog:

New Session Dialog

Step 6: In the “Session Properties” page, find the “Source from:” radio buttons and choose “File”. Then specify the input video file by either typing in the full path or by using the “Browse…” button.

Session Properties Dialog

Step 7: Click on the “Compression” tab and then click “Edit…” button next to the “Destination” drop down list:

Compression Tab Page

Step 8: In the “Custom Encoding Settings” dialog click “Import…” button and then choose the encoding profile that best suits your web server’s network bandwidth. I usually choose WMV Web Server 256k DSL because my server’s bandwidth is pretty low.

Custom Encoding Settings

Step 9: Click on the “Output” tab and then clear out the check box next to “Pull from encoder …”. Check the check box “Encode to file” and then specify the name of the output file. After that click “Start Encoding”:

Output Tab Page

The encoding will start and Windows Media Encoder will show the progress and a preview:

Video Encoding in Progress

After the encoding is done you can upload this file to your WordPress blog for playback with WP Media Player plugin.

18,464 views

ruslany on August 7th 2009

PoorFairAverageGoodExcellent (2 votes, average: 4.50 out of 5)

4 Responses to “Video Encoding”

  1. Gravatar Image@rg21 responded on 29 Sep 2009 at 5:49 am #

    Worked perfectly…thanks.

  2. Gravatar ImageVitaly responded on 09 Dec 2010 at 5:47 am #

    Hello, Ruslan!
    I have some questions.
    1. On step 2 when I went on link “Windows Media Encoder Profiles” I did not found Profiles.zip there.
    2. How can I decoder link of video from YouTube?
    3. I have tried to use plugin WP Media Player, but on my site video do not work. Maybe it’s because I do not use Windows Media Encoder?
    Thanks,
    Vitaly

  3. Gravatar ImageVitaly responded on 10 Dec 2010 at 3:10 am #

    Who can assist me in settings of plugin? Because I wrote Ruslan, he does not answer.

    Very urgently!

  4. Gravatar Imageruslany responded on 10 Dec 2010 at 7:52 am #

    Hi Vitaly,

    I have never tried encoding video from youtube. I am not sure if that is even possible

    To narrow down the problem I would suggest to temporarily configure the plugin to point to http://ruslany.net/wp-content/uploads/2009/04/bear.wmv

    If that works then the problem is definitely in the way the video is encoded. I do not think windows media encoder can work with youtube video format.

    Other option is to try Microsoft Expression Encoder to encode the video. It is not free but it has a fully functional trial period.

Trackback URI | Comments RSS

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

XML Markup: If You want to add XML code to the comment please XML encode it first, otherwise the code will not show up.

Recently Published Articles