Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (63)

  • 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 (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (9101)

  • Revision 7050074756 : Make the api behavior conform to api spec. When no more data is available, vpx_

    1er août 2014, par Hangyu Kuang

    Changed Paths :
     Modify /test/decode_test_driver.cc


     Modify /vp8/vp8_dx_iface.c


     Modify /vp9/vp9_dx_iface.c



    Make the api behavior conform to api spec.

    When no more data is available, vpx_codec_decode should
    be called with NULL as data and 0 as data_sz.

    vpx_codec_get_frame iterates over a list of the frames
    available for display. The iterator storage should be initialized
    to NULL to start the iteration. Iteration is complete when this
    function returns NULL.

    Also change the unit test to conform to the api spec.

    Change-Id : I4b258b309f5df3d37d10c82f01492c0394181c2a

  • Video processing with ffmpeg on Windows Azure

    29 août 2014, par alekz

    I am working on the project that needs to process videos that are already stored at the AzureBlob storage.

    The processing itself lookes following

    1. Grab frame with ffMpegFrameGrabber
    2. Draw some elements on top of the frame
    3. save it with the ffMpegFrameRecorder

    basicaly I have working version of this algorithm in Java (using java wrapper over native ffmpeg)

    Now I need to implement that processing with Azure Cloud Services.

    My question is
    What is a good ffmpeg wrapper for .net (console interface is not enough for my scenario) ?
    How to use it in Azure Cloud Service (sorry for noob question, but I am new to Azure) ?

  • FFmpeg not working

    22 juillet 2013, par matthew

    I own the website www.goploom.com which similarly to youtube, allows users to upload and view videos. The videos that are uploaded are converted to the mp4 format for compatibility with our site's html5 video player. My problem is that while FFmpeg successfully generates video thumbnails from the uploaded video and stores the image in the proper directory, The video conversion aspect of my code does not produce any output. I have tweaked the code for a couple hours, and I have not been able to resolve this issue, however, I am told that I can perform video conversion with html, php, and ffmpeg.

    My path to ffmpeg is correct as the thumbnail generation works perfectly.

    **Information collected from the uploaded video upon upload.
    $name = $_FILES['video']['name'] ;
    $title = $_POST['videotitle'] ;
    $type = explode('.', $name) ;
    $type = end($type) ;
    $size = $_FILES['video']['size'] ;
    $random_name = rand() ;
    $tmp = $_FILES['video']['tmp_name'] ;

                   if($type != 'mp4' && $type != 'MP4' && $type != 'flv' && $type != 'FLV' && $type != 'mov' && $type != 'MOV'){
                       $message = "Video Format Not Supported<br />";
                   } else {
               $username_query = mysql_query("SELECT `username` FROM `users` WHERE `user_id` = $session_user_id");
                       $username = mysql_fetch_assoc($username_query);
                       $username = $username[&#39;username&#39;];

    **Thumbnail generation that works perfectly.
    $ffmpeg = "/usr/local/bin/ffmpeg" ;
    $videoFile = $_FILES['video']['tmp_name'] ;
    $imageFile = "uploads/".$username."/thumbnails/".$random_name.".jpg" ;
    $size = "160x90" ;
    $getFromSecond = 5 ;
    $cmd = "$ffmpeg -i $videoFile -an -ss $getFromSecond -s $size $imageFile" ;
    if(!shell_exec($cmd))
    echo "Thumbnail Created !
    " ;
    else
    echo "Error Creating Thumbnail !" ;

    **Moves the uploaded file to its permanent directory for video conversion.
    $newFileLocation = "uploads/".$username."/temp".$random_name.".".$type ;
    move_uploaded_file($tmp, $newFileLocation) ;

    *Video Conversion code.
    $outputFile = "uploads/".$username."/".$random_name.".mp4" ;
    $databaseStoredVideoUrl = "uploads/".$username."/".$random_name.".mp4" ;
    $video_cmd = "$ffmpeg -i $newFileLocation $outputFile" ;
    echo $video_cmd ;
    if(!shell_exec($video_cmd))
    echo "Video Converted !
    " ;
    else
    echo "Error Creating Thumbnail !" ;

    **Properly stores the output src link in the database, but the video cannot be viewed because it does not exist.
    // Video Storage into database under correct username and user directory
    mysql_query("INSERT INTO videos VALUES('$session_user_id' ,'', '$name', '$outputFile', '$title', '', '$imageFile')") ;
    $message = "Video Upload Successful.
    " ;

    Any help or insight would be brilliant.
    Thanks.

    **EDIT : Fixed by using the following line.
    $video_cmd = "$ffmpeg -i $newFileLocation -vcodec libx264 -vpre normal -acodec libfaac $outputFile" ;

    and then inputting $video_cmd into shell_exec