Recherche avancée

Médias (91)

Autres articles (29)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

Sur d’autres sites (5441)

  • ffmpeg+php Add Music to video

    19 septembre 2013, par user2792392

    Dear Sir i create this code for simple video convert from one to another.
    i want to add more feature like
    ffmpeg+php Add Music to video

    how to do it ??
    convert request to begin encoding the video, and status request that retrieves
    * the current encoding status so the progress bar can be updated.
    *
    * The $outfile variable should be changed to an input value, but is set this way
    * for now for testing purposes.
    *
    * @ver 0.1
    */
    require 'config.php' ;
    require 'functions.php' ;

    //<<-- CHECK FOR ERRORS -->>//
    $type       = _chkVal('type', '');
    $fkey       = _chkVal('fkey', '');
    $infile     = _chkVal('filename', '');
    $outfile    = 'testing.mp4';
    $params     = _chkVal('params', '');

    // Check Request Type
    $validTypes = array('convert', 'status');

    if( !in_array($type, $validTypes) )
       json_response(array('fkey' => $fkey, 'msg' => 'Invalid process type!'), true);

    // $fkey will always be 8 characters.
    // It's created with PHP's hash() function using 'crc32' algorithm in index.php
    if( strlen($fkey) != 8 )
       json_response(array_merge(array('fkey' => '', 'msg' => 'Invalid fkey given!')), true);

    // Filename should be at least 5 (1 character + 4 character extension. EX : i.mp4)
    if( $type == 'convert' && ( strlen($infile) < 5) )
       json_response(array('fkey' => $fkey, 'msg' => 'Invalid input filename given!'), true);

    // Filename should be at least 5 (1 character + 4 character extension. EX : i.mp4)
    if( $type == 'convert' && ( strlen($outfile) < 5) )
       json_response(array('fkey' => $fkey, 'msg' => 'Invalid output filename given!'), true);

    if( $type == 'convert' && (strlen($params) < 1) )
       json_response(array('fkey' => $fkey, 'msg' => 'Invalid parameters given!'), true);

    //<<-- END OF ERROR CHECK -->>//


    $ffmpegConvert = new ffmpegConvert($fkey);


    //<<-- PROCESS REQUEST -->>//

    // Start the video conversion
    if( $type == 'convert' )
    {
       $ffmpegConvert->exec( $infile, $outfile, $params, $fkey );
       // Add 2 second delay to give the server time to start writing the status log,
       // otherwise $ffmpegConvert->jsonStatus() will trigger an error...
       sleep(2);
       $ffmpegConvert->jsonStatus();
    }

    // Check on video conversion progress
    if( $_POST['type'] == 'status' )
    {
       $ffmpegConvert->jsonStatus();
    }

    //<<-- END OF PROCESS REQUEST -->>//

    // Shouldn't get to this, but if so, let's send a message for debugging reasons....
    json_response(array('msg' => 'Unhandled request type!'), true);
  • Test if YouTube stream key is still active

    17 avril 2022, par codingmaster398

    I'm making a service to stream to YouTube, simply put.

    


    If the live stream ends or the stream key is no longer being used, we need to know. So far, it plays a short 3 second clip every once in a while, and if FFMpeg stops before it streams, we assume that the stream key is invalid. However, once we start a stream with the correct stream key, then end it and reset the stream key in another stream, the stream key still is being picked up as active.

    


    Is there any API to see if the stream key is still being used ?

    


  • avcodec/gif : add support for alpha

    11 décembre 2018, par Paul B Mahol
    avcodec/gif : add support for alpha
    

    Based on patch by Bjorn Roche.

    Fixes #6813.

    • [DH] libavcodec/gif.c