Recherche avancée

Médias (91)

Autres articles (56)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (9927)

  • FFmpeg - video frame cropped after rotating video ?

    20 juin 2021, par Md Yeamin

    I am using following command to rotate video :

    


    ffmpeg -i input.mp4 -c:v h264 -vf rotate=PI/2 -c:a copy output.mp4


    


    After processing the video, the frame get cropped. Please see the attached screenshot of the video for reference.

    


    Screenshot of original video
screenshot of original video

    


    Screenshot of rotated video
screenshot of rotated video

    


  • Extracting parts of video and make a new video with them [on hold]

    13 février 2014, par Filippo

    I need to extract parts of a video and make a video (in order to make a summary).
    My videos are mostly mpg, sometimes avi.

    I'm using ffmpeg to do it :

    Extraction : ffmpeg -ss XX -t XX -i video.mpg -vcodec copy -acodec copy partX.mpg

    Concatenation : ffmpeg -i concat:part1.mpg|part2.mpg|... -vcodec copy -acodec copy summary.mpg

    I have two problems :

    • ffmpeg only let me set position by time reference and not by frame number. I will prefere to set it by frame number, but it's not a big deal
    • the resulting video is...bad. The transitions between extracted parts are not smooth at all.

    What is the best way to do that ?
    I guess I need some kind of non-linear editing library : gnonlin, gtreamer-editing-services (but no package for Fedora 16 ?), MLT...

    But how I can do that easily ? (in preference in python)

    I can't find any good example.

    Thanks.

  • To concat two videos, one of which is the first video webcam recorder and the other is the normal video(Mp4) using ffmpeg

    8 décembre 2020, par Zargam Husayn

    Two videos have to be join in which the first video is a webcam recorder and the other is a normal video in which the first video I set up plays correctly but the second video does not play, only the audio is heard.

    


     foreach ($video as $value) {
            exec("ffmpeg -i ".$this->APP_PATH.$value." -c:v libx264 -c:a aac -b:a 192k ".$this->TEMP_PATH.++$this->temp_file.".mp4");
            exec("ffmpeg -i ".$this->TEMP_PATH.$this->temp_file.".mp4 -c:a aac -ar 48000 -ac 2 -c:v copy -video_track_timescale 600 ".$this->TEMP_PATH.++$this->temp_file.".mp4");
            $text .= "file '".$this->TEMP_PATH.$this->temp_file.".mp4'\n";
        }
        
        $file = $this->TEMP_PATH.++$this->temp_file.".txt";
        //chmod($this->TEMP_PATH, 0777);
        file_put_contents($file,$text);
        chmod($file, 0777);

        Log::info(" ********** file paths ********** ".$text);

        exec("ffmpeg -safe 0 -f concat -i ".$file." -c copy ".$this->TEMP_PATH.$this->final);