Archive for juin 2008

VLC an also be embedded in a web browser

juin 30, 2008

The Mozilla plugin

VLC can also be embedded in a web browser !

Install the plugin

GNU/Linux Debian

You should already have the following lines in your /etc/apt/sources.list file, if you run Debian Woody:

     deb woody main
     deb-src woody main

VLC’s latest packaged version is always in the official Debian unstable branch. However you should still use our apt-get line if you need libdvdcss in its latest version:

     deb sid main
     deb-src sid main

Install the mozilla-plugin-vlc package:

# apt-get update
# apt-get install mozilla-plugin-vlc


Quit Firefox or Mozilla

Copy the two files in VLC_Installation_folder\mozilla (usually C:\Program Files\VideoLAN\VLC\mozilla) to your mozilla plugins directory (Usually C:\Program Files\Mozilla\plugins or C:\Program Files\Mozilla Firefox\plugins).

Restart Firefox or Mozilla


The Mozilla/Safari plugin for MacOS X is only available from vlc version and onwards.

Quit Safari browser

Download the Mozilla/safari plugin package from MacOS X download page.

Run the installer from the dmg image.

Compile the sources yourself

Please look at the developers page for information on how to do this.

Use the plugin

If you open a link to a video file handled by the VLC plugin (To get the list of handled types, browse to about:plugins) or a page with an embedded video, the plugin should open and read the video.

Build HTML pages that use the plugin (version <= 0.8.5)

The following API description is only valid uptill version 0.8.5 of the mozilla plugin.

Additionally to viewing video on all pages, you can build custom pages that will use the advanced features of the plugin, using Javascript functions to control playback or extract information from the plugin.

The vlc plugin supports the following function calls:

  • play() : Start playing media in the plugin.
  • pause() : Pause playback.
  • stop() : Stop media playback.
  • fullscreen() : Switch the video to full screen.
  • set_volume(vol) : Set the volume. vol has to be an int in the 0-200 range.
  • get_volume() : Get the current volume setting.
  • mute() : Toggle volume muting.
  • set_int_variable(var_name, value) :
  • set_bool_variable(var_name, value) :
  • set_str_variable(var_name, value) :
  • get_int_variable(var_name) :
  • get_bool_variable(var_name) :
  • get_str_variable(var_name) :
  • clear_playlist() : Clear the playlist.
  • add_item(mrl) : Append an item whose location is given by the Media Resource Locator to the playlist.
  • next()
  • previous()
  • isplaying() : return true if the plugin is playing something.
  • get_length() : Get the media’s length in seconds.
  • get_position() : Get the current position in the media in percent.
  • get_time() : Get the current position in the media in seconds.
  • seek(seconds,is_relative) : If is_relative is true, seek relatively to current time, else seek from beginning of the stream. Seek time is specified in seconds.

Here are a few examples of HTML pages that use the Mozilla plugin.

Example 1

In this example, the plugin will read an HTTP stream inside the web page. If the user goes fullscreen, he will have to press f to go back in normal view.

<head><title>Demo of VLC mozilla plugin</title></head>


<h1>Demo of VLC mozilla plugin - Example 1</h1>

<embed type="application/x-vlc-plugin"
         autoplay="no" loop="yes" width="400" height="300"
         target="" />
<br />
  <a href="javascript:;" onclick=''>Play video1</a>
  <a href="javascript:;" onclick='document.video1.pause()'>Pause video1</a>
  <a href="javascript:;" onclick='document.video1.stop()'>Stop video1</a>
  <a href="javascript:;" onclick='document.video1.fullscreen()'>Fullscreen</a>


Example 2

In this example, the plugin will read a multicast RTP/UDP stream in a dedicated video output window.

<head><title>Demo of VLC mozilla plugin</title></head>


<h1>Demo of VLC mozilla plugin - Example 2</h1>

<embed type="application/x-vlc-plugin"
         autoplay="no" loop="no" hidden="yes"
         target="rtp://@" />
<br />
  <a href="javascript:;" onclick=''>Play video2</a>
  <a href="javascript:;" onclick='document.video2.stop()'>Stop video2</a>
  <a href="javascript:;" onclick='document.video2.fullscreen()'>Fullscreen</a>


Build HTML pages that use the plugin (version >

Additionally to viewing video on all pages, you can build custom pages that will use the advanced features of the plugin, using Javascript functions to control playback or extract information from the plugin.

The vlc plugin exports serveral objects that can be accessed for setting and getting information. When used improperly the API’s will throw an exception that includes a string that explains what happened. For example when asking for vlc.input.length when there is no playlist item playing.

The vlc plugin knows the following objects:

  • audio : Access audio properties.
  • input : Access input properties.
  • playlist : Access playlist properties.
  • video : Access video properties.
  • log : Access log properties.
  • messages : Access to log message properties.
  • iterator : Access to log iterator properties.

The following JavaScript code shows howto get a reference to the vlc plugin. This reference can then be used to access the objects of the vlc plugin.

<title>VLC Mozilla plugin test page</title>
<embed type="application/x-vlc-plugin" pluginspage="" version="VideoLAN.VLCPlugin.2"
<script language="Javascript">
var vlc = document.getElementById("vlc");;

Root object

readonly properties

  • VersionInfo : returns version information string

read/write properties

  • none


  • vlc.versionInfo() : returns version information string

Audio object

readonly properties

  • none

read/write properties

  • : boolean value to mute and ummute the audio
  • : a value between [0-200] which indicates a percentage of the volume.
  • : a value between [0-65535] which indicates the audio track to play or that is playing. (supported in vlc version > 0.8.6)
  • : an integer between 1 and 5 that indicates which audio channel mode is used, values can be: « 1=stereo », « 2=reverse stereo », « 3=left », « 4=right », « 5=dolby ». Use to check if setting of the new audio channel has succeeded. (supported in vlc version > 0.8.6)
Audio Channel:
<SELECT readonly onChange='doAudioChannel(this.value)'>
   <OPTION value=1>Stereo</OPTION'>
   <OPTION value=2>Reverse stereo</OPTION'>
   <OPTION value=3>Left</OPTION'>
   <OPTION value=4>Right</OPTION'>
   <OPTION value=5>Dolby</OPTION'>
<SCRIPT language="javascript"'>
function doAudioChannel(value)
   var vlc = getVLC("vlc"); = parseInt(value);


  • : boolean toggle that mutes and unmutes the audio based upon the previous state

Input object

readonly properties

  • vlc.input.length : length of the input file in number of milliseconds
  • vlc.input.fps : frames per second returned as a float
  • vlc.input.hasVout : a boolean that returns true when the video is being displayed, it returns false when video is not displayed

read/write properties

  • vlc.input.position : normalized position in multimedia stream item given as a float value between [0.0 – 1.0]
  • vlc.input.time : the absolute position in time given in milliseconds, this property can be used to seek through the stream
    <!-- absolute seek in stream !-->
    vlc.input.time = <absolute seek>
    <!-- relative seek in stream !-->
    vlc.input.time = vlc.input.time + <relative seek>
  • vlc.input.state : current state of the input chain given as enumeration (IDLE/CLOSE=0, OPENING=1, BUFFERING=2, PLAYING=3, PAUSED=4, STOPPING=5, ERROR=6)
  • vlc.input.rate : input speed given as float (1.0 for normal speed, 0.5 for half speed, 2.0 for twice as fast, etc.)


  • none

Playlist object

readonly properties

  • vlc.playlist.itemCount : number that returns the amount of items currently in the playlist
  • vlc.playlist.isPlaying : a boolean that returns true if the current playlist item is playing and false when it is not playing

read/write properties

  • none


  • vlc.playlist.add(mrl) : add a playlist item as MRL (Multimedia Resource Locator). The MRL must be given as a string.
  • vlc.playlist.add(mrl,name,options) : add a playlist item as MRL (Multimedia Resource Locator), with metaname ‘name’ and options ‘options’. All input values must be given as string.
  • : start playing the current playlist item
  • vlc.playlist.togglePause() : toggle the pause state for the current playlist item
  • vlc.playlist.stop() : stop playing the current playlist item
  • : iterate to the next playlist item
  • vlc.playlist.prev() : iterate to the previous playlist item
  • vlc.playlist.clear() : empty the current playlist, all items will be deleted from the playlist
  • vlc.playlist.removeItem(number) : remove the given item number (which cannot be greater then vlc.playlist.itemCount)

Video object

readonly properties

  • : returns the horizontal size of the video
  • : returns the vertical size of the video

read/write properties

  • : when set to true the video will be displayed in fullscreen mode, when set to false the video will be shown inside the video output size. The property takes a boolean as input.
  • : get and set the aspect ratio to use in the video screen. The property takes a string as input value. Valid values are: « 1:1 », « 4:3 », « 16:9 », « 16:10 », « 221:100 » and « 5:4 »


  • : toggle the fullscreen mode based on the previous setting

Log object

readonly properties

  • vlc.log.messages : returns a messages object

read/write properties

  • vlc.log.verbosity : write number [-1,0,1,2,3] for changing the verbosity level of the log messages. The numbers have the following meaning: -1 disable, 0 info, 1 error, 2 warning, 3 debug.


  • none

Messages object

readonly properties

  • messages.count : returns number of messages in the log
  • messages.severity : number that indicates the severity of the log message (0 = info, 1 = error, 2 = warning, 3 = debug)
  • : name of VLC module that printed the log message (e.g: main, http, directx, etc…)
  • message.type : type of VLC module that printed the log message (eg: input, access, vout, sout, etc…)
  • message.message : the message text

read/write properties

  • none


  • messages.clear() : clear the current log buffer. It should be called as frequently as possible to not overflow the plugins logging buffer. Call this method after the log messages of interest are read.
  • messages.iterator() : returns a messages iterator object, which is used to iterate over the messages in the log. Don’t clear the log buffer while holding an iterator object.

Iterator object

readonly properties

  • iterator.hasNext : returns a boolean that indicates when true, that wheter returns the next message.

read/write properties

  • none


  • : returns the next message object it the log


juin 30, 2008

VLC media player (VLC) est un lecteur multimédia libre issu du projet VideoLAN. Ce logiciel est multiplateformes puisqu’il fonctionne sous Windows, toutes les tendances GNU/Linux, BSD, Mac OS X, Solaris, QNX et même Pocket PC, soit en tout près de 20 plateformes. Il est distribué sous licence GNU/GPL.

Un des grands atouts de VLC est qu’il intègre les codecs nécessaires à la lecture de la plupart des formats audio et vidéo. De plus, le lecteur est capable de lire un grand nombre de flux réseaux.

VLC media player is a free software media player written by the VideoLAN project.

It is a portable multimedia player, encoder, and streamer supporting many audio and video codecs and file formats as well as DVDs, VCDs, and various streaming protocols. It is able to stream over networks and to transcode multimedia files and save them into various different formats.
It is one of the most platform-independent players available, with versions fo, BSD, Linux, Mac OS X, Microsoft Windows, Solaris and Windows CE, and is widely used with over 90 million downloads for version 0.8.6.[

VLC uses a large number of free decoding and encoding libraries. Many of its codecs are provided by the libavcodec codec library from the FFmpeg project, but it uses mainly its own muxer and demuxers. It also gained distinction as the first player to support playback of encrypted DVDs on Linux by using the libdvdcss DVD decryption library.

Version 0.8.6, which adds support for WMV version 9 and enhanced support for H.264, was released on 10 December 2006.
preview 0.9.0.


L’environnement graphique standard est basé sur wxWidgets pour Windows et Linux, Cocoa pour Mac OS X… Tous ces environnements donnent une interface standard similaire. Cependant, de nombreuses interfaces sont livrées avec le lecteur :

* Skins 2
* Raccourcis clavier
* Mouvement de la souris
* Interface de commande à distance
* Console

Comme VLC peut être utilisé en tant que serveur de streaming, il peut être utile de le commander à distance. L’interface de commande à distance permet cela.

Pour contrôler VLC à distance, il est possible d’utiliser les interfaces HTTP (et Telnet). La commande par interface HTTP se fait grâce au serveur HTTP fourni avec VLC et qui permet de contrôler le logiciel depuis un navigateur web.

Sous Windows, Linux et quelques autres plate-formes, VLC fournit un plugin NPAPI qui permet de visionner les fichiers QuickTime et Windows Media inclus dans les pages web sans utiliser les produits d’Apple ou de Microsoft. Il supporte Firefox, Mozilla Application Suite et Safari…

Ce plugin a été utilisé par Google pour créer le plugin web Google Video:


juin 29, 2008

Diffusez gratuitement sans logiciel votre télé, vos émissions, discutez avec vos téléspectateurs. Créer « votre télé en direct ».

« Créer » sa

télé en direct

avec une simple webcam.

Je suis bloggeur, je diffuse mes infos en vidéo live ! sur mon blog…

mais en fait c’est surtout une webcam

The Revver Video Plugin for

juin 29, 2008

for flv and quicktime video.


The Revver Video Plugin for WordPress

Creating an interactive video portal and vlog is now as easy as installing a plugin on one of the most popular blogging platforms around.

download plug-in :

upload video HD vimeo 500Mo by week

juin 29, 2008

upload video HD

  • What is HD?

    HD stands for “high definition”, it means much higher quality video than the old TV system we’ve been using since the 1940s. HD video is richer, clearer, and more life-like than standard TV and even DVDs. It’s a major leap that doesn’t take an expert to appreciate.

  • Is it the same as HDTV?

    HDTV is one of the first major applications of high definition video. Because HD requires so much more data than regular TV, engineers devised a way to broadcast TV signals as compressed digital information rather than directly over analog waves. They defined two video formats for HDTV called 720p and 1080i, which refer to the number of horizontal lines used to produce the image.

  • Is Vimeo HD the same as HDTV?

    Vimeo presents HD in the 720p format, exactly the same resolution (1280×720) used by major broadcast networks like ABC, FOX, and many cable & satellite providers.

  • How can I start watching HD right now?

    Visit the Vimeo HD Channel and watch any of the clips in full screen mode.

  • Can you show me a relative size comparison using nested rectangles?


    HD size comparison
  • But wait, it can’t really be HD… can it?

    Yes! It’s real, true, actual high definition. No tricks. Some other sites (we won’t name names) and even a few major media producers have been offering low resolution video as “HD” just because it’s slightly higher than the quality typically seen on video sharing web sites, hoping you won’t notice. Don’t be fooled, Vimeo HD is true 1280×720, up to 24fps.

  • Can I upload in HD right now?

    Yes. To take advantage of HD, all you have to do is upload a clip that’s 1280×720 resolution or better. Our servers will make a standard quality version first, then a little later your clip will appear in HD.

  • Can you recommend some encoding settings for HD?

    Yes. Your quota for the week is 500MB, so it’s a good idea to compress your video down from phenomenally high quality to just amazingly high quality. We recommend using the H.264 codec at size 1280×720, bit rate 3000-5000 kbits/sec (optimized for “download”), key frame every 30 frames (frame reordering on), using whatever frame rate you shot in. For sound, use AAC at 128kbps in stereo. This is what your export window should look like using Quicktime on a Mac:

    HD encoding settings in Quicktime
  • Should I deinterlace before I upload?

    It’s almost always a good idea. If you’re outputting 1080i, deinterlace and resize to 1280×720 before you upload. In many cases if your final outcome is a progressive medium (web, LCD TVs, HD-DVD, etc.) you might be better off deinterlacing before you even start editing.

  • Why is my video only 640×360?

    HD video is so big that it can’t fit in the width of a regular web page, so we show it at half size. To see the whole image, go into full screen mode by clicking the full screen button in the lower right of the player. The native size of Vimeo HD files is 1280×720.

  • What happens when I upload my HDV and AVCHD videos in 1440×1080?

    Recently, we decided to convert all HDV and AVCHD videos shot at 1440×1080 (aspect ratio 1.3333) to its correct and intended playback of 1280×720 (aspect ration 1.000). What that means in English, is that 1440×1080 videos are shot in anamorphic (wide) standards instead of 16:9, and previously those videos would appear squished upon conversion to Vimeo. This change will affect anyone uploading their videos in letterbox 1440×1080, so we recommend not to letterbox videos at that aspect ratio.

  • Can I watch HD in native 1280×720 with no scaling?

    Yep: after clicking the full screen button in the lower right corner of the player, click the button right above it to toggle scaling. Your preference will be saved for all HD videos.

  • Do I need any special software to watch HD?

    Nope, all you need is the current version of the Adobe Flash plugin, which you probably already have.

  • Do I need a fast computer?

    We’ve found that most computers made in the last two or three years (running either Mac OS X or Windows) are fast enough to play butter-smooth HD. In some cases, you may realize a major performance gain by quitting unused programs and closing extra browser windows. Our player is designed to degrade the video quality gracefully if it detects that it’s dropping frames.

  • Do I need a fast internet connection?

    Most residential cable and DSL connections should be more than adequate. If HD feels slow to load, trying turning off any background downloads or peer-to-peer sharing applications.

  • Is my monitor capable of showing HD?

    All modern computer monitors are similar in resolution to HD, if not better. Your computer is a sleeping HD beast, Vimeo will rouse it from its slumber.

  • Will Vimeo HD work with my HDTV?

    Absolutely. If you can connect your computer to your HDTV (for example, using an inexpensive DVI to HDMI adapter) Vimeo will look gorgeous in full screen, comparable with broadcast digital TV.

Embedded Player Parameters Google video

juin 29, 2008

Embedded Player Parameters Google video

If you go to Google Video, you can get a code that allows you to embed a video into your site. Although Google doesn’t mention that, the Flash player used by Google Video (googleplayer.swf) lets you customize many parameters. In the code obtained from Google, you’ll see in the src attribute: You can add more parameters to the player, not just docId and hl. Here are some of the more interesting.

* playerMode lets you change the skin of the player.

playerMode=simple (a basic version of the player without progress bar and volume control, you can see it in the screenshot below)
playerMode=mini (even more basic)
playerMode=clickToPlay (the skin used for video ads)
playerMode=embedded (the standard skin)

* autoPlay lets you control if the video starts automatically.
autoPlay=false (by default)

* loop lets you repeat a video indefinitely.
loop=false (by default)

* showShareButtons is useful if you want to add a button at the end of the video that says « Send link to a friend ».
showShareButtons=false (by default)

So here’s one of example of customized player, that repeats a video and shows a simplified skin: &loop=true&playerMode=simple

télévision kto

juin 28, 2008

pour les abonnées à neuf télécom:

quelques liens de quelques TV en France

juin 28, 2008
(en refonte: Sunvibz TV)
la chaîne de l’emploi et des initiatives : Demain
Nantes TV 7,
TV7 Bordeaux,
Bloomberg TV,
France 5,

liste des freeware pour regarder TV

juin 28, 2008
ROTV a été mis au point pour vous permettre de regarder des dizaines de chaînes TV en utilisant uniquement votre connexion Internet. Aucun matériel supplémentaire n’est nécessaire. En plus des chaînes télé, il est également possible d’écouter des stations radio. Les mises à jour régulières vous permettent de bénéficier en permanence de nouveaux programmes. Téléchargez
MAX-TV Online vous permet de visionner la télévision (+ de 200 chaînes), d’écouter la radio (une vingtaine de stations) de visionner des chaines de télévision sur le Web (AlloCiné, Canal+, TV5, etc.) sur votre PC. Il permet de visionner les vidéos (DivX, Mpeg) et d’écouter de la musique (MP3, WAV, WMA etc.) de lire des DVD, gérer les playlists M3U et MTV. Téléchargez
Web TV vous permet de visionner la télévision (54 chaînes) et d’écouter la radio (23 stations) sur votre PC. Ce logiciel vous permet aussi d’accéder à une liste de sites rigoureusement sélectionnés pour leur utilité et leur qualité. Une connexion câblée ou adsl est conseillée pour une bonne qualité de réception. Téléchargez
Web Media Player vous permet de regarder la télé et la radio via Internet. Retrouvez plus de 90 stations radio et 50 stations TV (TNT, Web TV, etc.)! Choisissez les émissions qui vous intéressent en cliquant sur la rubrique de votre choix : Divertissement, journaux, météo, autres, etc. Téléchargez
TVexe permet de regarder une multitude de chaînes télévisées (plus de 300) en direct sur votre ordinateur.
Vous pourrez facilement trouver les chaînes qui vous intéressent par l’intermédiaire d’un classement thématique et par pays. Téléchargez
Avec ADSL TV, vous pourrez regarder sur l’écran de votre ordinateur toutes les chaînes gratuites du bouquet Freebox TV et zapper très facilement de chaîne en chaîne grâce au mode télécommande.
Seulement pour les abonnés Free possedant la freebox. Téléchargez
Fritivi vous permet de regardez les chaines du bouquet Freebox (france 2, france 3, arte, nrj12, gulli, rtl9, MTV…), le logiciel propose de nombreuses fonctions comme la prise de capture d’écran ou encore l’enregistrement d’une émission directement sur le disque dur. Vous devez téléchargez VLC avec le pluging ActiveX. Plus d’informations sur le site officiel.
Seulement pour les abonnés Free possedant la freebox. Téléchargez

comparison of video service

juin 26, 2008

imeem est le seul en H264 et resolution max 768×576


Revver : quicktime


VReel is a website currently under construction in an effort to replace the now defunct Stage6 with a viable alternative. Using a similar style to the defunct site, VReel has received a licence from DivX

Vreel : xvid


if a video is longer than 30 minutes,only a 5 minute preview is shown for web-only viewing.

To see the full video, the user has to install the VeohTV client; resolution: 540×304


Vimeo resolution=1,280×720.


Tous les autres sont en FLV ON2 VP6:


User generated video sharing

User generated sites mostly offer free services whereby users can upload video clips and share it with the masses. Many sites place restrictions on the file size, duration, subject matter and format of the uploaded video file. Most sites don’t allow nudity, though each site makes judgement calls on what qualifies inappropriate content. Some sites also flag adult material to keep it out of their public pool of content. Some sites screen all their content before it is published and others approve first and use community features to filter out inappropriate content « after-the-fact. »

Web sites in this category include:

Some sites formally review content before it is screened, acting much more like traditional television sites, but with programming which is user-generated.

There are also sites that are intended more for private sharing of videos. Among sites in this category are:

Video Sharing Platform / White Label Providers

Platform and White Label Providers sell the technology to various parties that allow them to create the services of the aforementioned « User Generated Video Sharing » websites with the client’s brand. Just as Akamai and other companies host and manage video/image/audio for many companies, these white-labels « host video content ». Many of these companies also offer their own user-generated video sharing website both for commercial purposes and to show off their platform. Websites in this category include (in alphabetical order):

Open Source Video Sharing Platforms

Web based video editing

Web based video editing sites generally offer the « user generated video sharing » website in addition to some form of editing application. Some of these applications simply allow the user to crop a video into a smaller clip. Other services have invested much time and effort into replicating the same functionality that has previously only been available via Windows Movie Maker, iMovie and other client-side applications that run outside of a web page. Some of these applications are based in AJAX and others in Flash. Some websites also offer downloadable editors but they will not be listed here due to the number of pre-existing video editors.

Websites in this category include (in alphabetical order):

Service  ↓ Alexa Site Rank  ↓ Quantcast Site Rank  ↓ Monthly Unique Visitor (US)  ↓ 3,923 812 2,209,322 433 120 8,162,650 15,415
ClickCaster 174,200 183,990 7,397
Dailymotion 29 147 7,047,041
Google Video 3[44] 296 4,800,000
GoFish 2,287 2,286 985,040
iFilm 4,018 1,437 1,600,000
imeem 146 107 9,115,420
Internet Archive 372 1,582 1,600,000
Metacafe 182 104 9,192,447
Multiply 106 3,794 694,738
OneWorldTV 36,595[44] 1,332,511 < 2,000
Ourmedia 75,830 98,644 16,253
Phanfare 26,269 8,025 322,164
PornoTube 212 2,645 921,290
Putfile 2,266 3,452 772,083
Revver 3,861 4,210 606,734
RuTube 1,261 ? 4,000,000
sevenload 1,923 12,798 192,022
Stage 6 (closed) 133 1,547 1,400,000
Tudou 174 6,553 266,022
Twango 29,462 34,129 66,381
Veoh 77 233 5,429,576
Vimeo 5,963 7,237 351,665
vMix 85,339 52,751 25,798
Vreel ? ? ?
Yahoo Video 1[44] 760 2,400,000
YouAreTV 219,208 1,330,711 < 2,000 31 52 2,353,653
YouTube 2 4 52,436,820