Recherche avancée

Médias (0)

Mot : - Tags -/performance

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

Autres articles (12)

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (4384)

  • Returning a success or failure from ffmpeg

    2 novembre 2017, par user3331834

    I have some code executed in PHP after meeting some criteria through if/then statements which looks something like this :

    if(in_array($ext,$video)&&($ext!=="mp4")){
       exec("ffmpeg -i ".$fileName.".".$ext." -s 640x360 ".$fileName.".mp4");
       /*
       if(successful){
           unlink($fileName.$ext);
           $status="Video entry approved. File converted.";
       }
       */
    }

    As you can see, the issue I’m having is trying to figure out what should go in place of if(successful). The point of this section of the code is to check the files extension against an array of known extensions that are in video format, and that aren’t already in the mp4 format. If it passes this check, ffmpeg should run and convert to mp4.

    So a few questions here. Firstly, how can I return a status to tell me if it is converting, succeeded, or failed ? Secondly, how can this be run asynchronously ? That is, if I wanted to convert multiple files, would I be able to do so ? Would I be able to limit ffmpeg to ensure it does not take up all of my server’s processing power and inadvertently bring the site to a grinding halt ?

    Or is there a better way to go about converting files than this ? I’m pretty sure my method must be crude.

    EDIT : In addition to this, how does one run ffmpeg in the background, so that the page can be closed, and/or another instance from the same page can be started up by the user for multiple simultaneous conversions ? Is it possible to include a real-time progress status of each conversion ?

  • FFMPEG cropping size is always wrong

    19 avril 2020, par Samsy

    I need a bunch of video to be EXACTLY 1024x512 ( power of 2 video ), not a pixel less, not a pixel more..

    



    I'm scaling them first to 1024 width

    



    Then cropping them to 1024x512

    



    Problem is..

    



    result always ends up with 1 pixel more or 2 less pixels in width etc...

    



    Source dimension : 1624 × 1080
Output dimension : 1022 × 512


    



    Source dimension : 1264 × 720
Output dimension : 1025 × 512


    



    rm -R ./output

mkdir output

cd input

for i in *.mp4;

  do name=`echo "$i" | cut -d'.' -f1`

  FILE="${name}"

  TMP="temp.mp4"

  INPUT="${FILE}.mp4"

  OUT_PUT="../output/${FILE}.mp4"

  JPEG_OUTPUT="../output/${FILE}.jpg"

  echo FILE

  echo INPUT

  ffmpeg -i $INPUT -filter:v scale=1024:-2 -c:a copy ${TMP}

  ffmpeg -i ${TMP} -filter:v "crop=1024:512:exact=1" -c:a copy ${OUT_PUT}

  # ffmpeg -loglevel panic -i $OUT_PUT -vframes 1 -f image2 $JPEG_OUTPUT

  rm ${TMP}

done


    


  • Demo of WebM Running on TI OMAP 4 Processor

    15 octobre 2010, par noreply@blogger.com (John Luther)

    Texas Instruments has made a video of HD-resolution (1080p) VP8 (WebM) video playing on their new TI OMAP™ 4 processor, in both Android and Ubuntu.

    (If you have a WebM-enabled browser and are enrolled in the YouTube HTML5 beta the video will play in WebM HTML5, otherwise it will play in Flash Player.)

    For more info about the OMAP 4 and the IVA 3 video accelerator that enables low-power HD playback of VP8 on the chip, see the TI web site.