Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (57)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (7926)

  • Sync voice with the music through ffmpeg. live karaoke FMS

    26 mars 2015, par LifeSoul

    Using the AMS (FMS) server.

    User voice broadcasts to the server.
    ffmpeg does mix of voice from rtmp and music from disk, and sends to the server

    The problem is that the voice or music, do not coincide in time.

    Is there a way to sync via ffmpeg ?

    Example

    -re -i DISK:/path/music.mp3 -i rtmp://x.x.x.x/karaoke/voice -filter_complex amix=inputs=2:duration=first,volume=2.000000 -ar 22050 -q:a 2 -ac 2 -f flv rtmp://x.x.x.x/karaoke/stream

    Time difference between 0.0-0.5 seconds (random)

  • ffmpeg - make a slideshow images+music video with some transition effects

    8 septembre 2015, par Slim_user71169

    I can make a slideshow video like that but It’s just a simple image-to-image slideshow which has no effect. I don’t know how to add some transition effects into the video. For example : Fade in-out, 3D rotation, flip in-out, zoom in-out, bounce,...

  • 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);