Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (11)

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

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

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

Sur d’autres sites (4072)

  • Integrate necessary ffmpeg libraries in own project for MCU (microcontrolers) [closed]

    16 septembre 2023, par Borel Kamnang

    I use two ffmpeg commands here :

    


    ffmpeg -i BigBuckBunny_320x180.mp4 -vf scale=192:96,setsar=1:1 outputBBB.mp4
ffmpeg -i outputBBB.mp4 -vf "fps=12,scale=-1:96:flags=lanczos,crop=192:in_h:(in_w-192)/2:0" -c:v rawvideo -pix_fmt rgb565be BigBuckBunny_192x96_12fps.rgb


    


    The first is to downscale an original video and the second is to convert the scaled video to a .rgb format.

    


    As anew user of ffmpeg, I would like to know what are libraries used for that two command to just integrate them in my Arduino IDE C++ project an just call the necessary functions to do the downscale and the conversion.

    


    And another of my concerns is knowing how I can run any ffmpeg in an Raspberry Pi Pico W (RP2040) or ESP32 microcontroller ?

    


    I tried to include the ffmpeg libraries folder in a created Arduino IDE project for Raspberry pico w and the link for files doesn't work. In addition to having the config.h and config components.h files missing in the folder downloaded from the ffmpeg site, there are too many dependencies between .h and .c files.

    


    extern "C" {
  #include "src/ffmpeg/libavcodec/avcodec.h"       
  #include "src/ffmpeg/libavutil/mathematics.h"
}
void setup() {
   Serial.begin(115200);
   delay(10000);
 }
 loop(){
 }


    


    It's been three days today that I've been trying to compile from Arduino IDE, and correct the links in the files.
The problem is also that I don't even have the certainty of what it will work in the Raspberry Pi PicoW or ESP32 afterwards.

    


  • use PHP ffmpeg to split a video into many clips of X minute [duplicate]

    23 août 2017, par TakiDDine

    This question already has an answer here :

    i have a lot of videos in a folder , and i want to split each one of them into many clips of 5 minutes and delete the original video after, i have tried many codes here , but it didn’t work for me

    now my code cut’s the video to the only first 5 minutes , any help please , this toke 3 days from me, any help will be much appreciated

    these is my code

    /******** Cut All The Videos To 5 min and send them to output folder *****/

    foreach ($files as $file ) {          

               $path_parts = pathinfo('../../videos/'.$file);
               $vids       = '../../videos/';
               $outpt       = '../../output/';
               $ext        = $path_parts['extension'];
               $name       = $path_parts['filename'];
               $to = $vids.$file;

               // add old_video_ prefix
               rename($to , $vids."old_vid_".$name.".".$ext);

               $video = $vids."old_vid_".$name.".".$ext;
               $to =  $outpt.$name.".".$ext;

               // To prevent white space error.
               $video = "\"$video\"";
               $to = "\"$to\"";

               //ffmpeg command , to cut video
               $cmd = "$ffmpeg -i   $video   -ss 00:00:00 -t 00:05:00 -async 1 -c copy $to";

               $return = `$cmd`;

       }
  • FFmpeg output doesn't match source

    10 octobre 2019, par Patrick O'Brien

    I can’t seem to match the ffmpeg output with the source exr. Linking to the source exr and movie here : https://www.dropbox.com/sh/mc19q5m9bf17goi/AAAfs4o_vxnAePIZVrOBrEZRa?dl=0. I’ve tried a lot of flags, the closest seems to be this :

    C :\PyAniTools\apps\pyShoot\ffmpeg\bin\ffmpeg.exe -apply_trc iec61966_2_1 -i C :\Users\Patrick\Downloads\050_020_render_layer\char_back\char_back.1062.exr -vcodec libx264 -pix_fmt yuv420p -preset slow -crf 18 -r 25 C :\Users\Patrick\Downloads\050_020_render_layer\char_back\char_back.1062.mp4

    It’s still different though. Source exr :
    enter image description here

    It’s hard to tell probably but parts of the image get darker :
    enter image description here

    Any help would be greatly appreciated, I’ve been trying things for days. Thanks,
    Patrick