Recherche avancée

Médias (91)

Autres articles (28)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (4307)

  • ffmpeg not creating video from images

    16 décembre 2014, par Knight Rider

    I have read this Create Video using ffmpeg

    Stack Question for the Same

    Wiki Page for the same

    Still I am not able to get it.
    I have written this shell command in PHP

    echo $make_movie = "$ffmpeg -framerate 1/5 -i $folder_name/img%03d.png -c:v libx264 -r 25 -pix_fmt yuv420p $folder_name/output.mp4";

    This gives output

    ffmpeg\bin\ffmpeg.exe -framerate 1/5 -i ankit/img%03d.png -c:v libx264 -r 25 -pix_fmt yuv420p ankit/output.mp4

    if(shell_exec($make_movie)){
       echo "<br />Movie Created..<br />";
    }
    else{
       echo "<br />Movie Creation Error..<br />";
    }

    The Output is Movie Creation Error that means the Shell Command is not executing ?

    Questions :

    1. What is wrong ?
    2. For future use, any debugging methods for this ?

    I ran the same command on cmd and it made the video..!!!

  • How to stream video using C/C++

    19 janvier 2015, par Arif Ali Saiyed

    I want to stream video to a file/ or memory buffer using VC++ on windows.
    Can anyone suggest easy to integrate library ?(that has one H,one LIB and one DLL).

    I am exploring the libVLC right now and gonna explore FFMPEG also.
    dont want to spend time in building these complex software fully myself, would appreciate any help/pointer/ references.


    My ultimate goal is to stream a video and consume the stream on HTML5 viewer.
    I tried streaming using VLC media player and streamed to a OGG file, I used same OGG file in a HTML5-Video tag and it worked.

    Now I want to do the streaming part using libVLC instead of VLC media player.
    I want to stream the video file to File or memory stream.

    I have found this sample https://wiki.videolan.org/Stream_to_memory_(smem)_tutorial/

    BUt unsure of how to get started ?
    1) Where do i get the libVLC.dll, libVLC.lib, libVLC.h , Is there any sample visual studio that has everything setup and I can straight begin to write the code using libVLC etc.

    2) Since libVLC is said to depdend on 200+ other libraries/modules/plugins, what will I have include and distribute with my application ?
    http://www.enjoythearchitecture.com/vlc-architecture.html
    https://wiki.videolan.org/Contrib_Status/

    3) streaming format : above example seems to stream into PCM format, cant I get it stream in some format that has better codec and regonized by HTML5 ? For example when i tried using VLC media player , my options were as following
    :sout=#transcodevcodec=theo,vb=800,acodec=vorb,ab=128,channels=2,samplerate=44100:filedst=C :\Users\testUser\stream-output.ogg,no-overwrite :sout-keep

  • Anomalie #3456 (Nouveau) : bug sur |liens_absolus

    26 mai 2015, par Fil Up

    La fonction des liens absolus recherche bêtement src=… sur tout le contenu de la balise img, ce qui fait que si on a un data-original-src="xxxx", il ne trouve pas le src= et rate sa cible.

    Proposition de patch :

    ```
    // ne s’applique qu’aux textes contenant des liens
    // http://doc.spip.org/@liens_absolus
    function liens_absolus($texte, $base=’’)
    - if (preg_match_all(’,(<(a|link|image):space :+[^<>]*href=["\’] ?)([^"\’ ><[:space :]]+)([^<>]*>),imsS’,
    + if (preg_match_all(’,(<(a|link|image|img|script)\s[^<>]*(href|src)=[^<>]*>),imsS’,
    $texte, $liens, PREG_SET_ORDER))
    foreach ($liens as $lien)
    - $abs = url_absolue($lien3, $base) ;
    - if ($abs <> $lien3 and !preg_match(’/^#/’,$lien3))
    - $texte = str_replace($lien0, $lien1.$abs.$lien4, $texte) ;
    + foreach(array(’href’, ’src’) as $attr)
    + $href = extraire_attribut($lien0, $attr) ;
    + if (strlen($href)>0)
    + $abs = url_absolue($href, $base) ;
    + if ($href != $abs and !preg_match(’/^#/’,$href))
    + $texte = inserer_attribut($texte, $attr, $abs) ;
    +

    +

    +



    - if (preg_match_all(’,(<(img|script):space :+[^<>]*src=["\’] ?)([^"\’ ><[:space :]]+)([^<>]*>),imsS’,
    - $texte, $liens, PREG_SET_ORDER))
    - foreach ($liens as $lien)
    - $abs = url_absolue($lien3, $base) ;
    - if ($abs <> $lien3)
    - $texte = str_replace($lien0, $lien1.$abs.$lien4, $texte) ;
    -

    -

    +
    return $texte ;

    ```