Advanced search

Medias (1)

Tag: - Tags -/epub

Other articles (21)

  • MediaSPIP Core : La Configuration

    9 November 2010, by

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes; une page spécifique à la configuration de la page d’accueil du site; une page spécifique à la configuration des secteurs;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques de (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 September 2013, by

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo; l’ajout d’une bannière l’ajout d’une image de fond;

  • Librairies et logiciels spécifiques aux médias

    10 December 2010, by

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel; FFMpeg avec le maximum de décodeurs et (...)

On other websites (7079)

  • Merge commit ’b564784a207b1395d2b5a41e580539df04651096’

    3 July 2013, by Michael Niedermayer
    Merge commit ’b564784a207b1395d2b5a41e580539df04651096’
    

    * commit ’b564784a207b1395d2b5a41e580539df04651096’:
    jpeg2000: Check that there is a SOT before SOD
    jpeg2000: Remove unneeded returns

    Conflicts:
    libavcodec/jpeg2000.c
    libavcodec/jpeg2000dec.c

    Merged-by: Michael Niedermayer <michaelni@gmx.at>

  • How can I find out what this ffmpeg error code means?

    27 September 2018, by Asik

    I’m using the function avcodec_decode_video2. On an encoding change in the stream, it returns -1094995529. The documentation only states:

    On error a negative value is returned, otherwise the number of bytes
    used or zero if no frame could be decompressed.

    But there doesn’t seem to be an enum of return codes or any other form of documentation. What does the error mean and how can I determine that in general?

  • PHP FFMPEG not working when I upload mp4 file

    9 August 2013, by Chris

    To convert video to formats compatible with HTML5 video I wrote the following script:

       $srcFile = "name/of/the/video.mp4";
       $destFile = "/media/video/newfilename";
       $ffmpegPath = "/usr/local/bin/ffmpeg";
       $flvtool2Path = "/usr/local/bin/flvtool2";

       // Create our FFMPEG-PHP class
       $ffmpegObj = new ffmpeg_movie($srcFile);
       // Save our needed variables
       $srcWidth = makeMultipleTwo($ffmpegObj->getFrameWidth());
       $srcHeight = makeMultipleTwo($ffmpegObj->getFrameHeight());
       $srcFPS = $ffmpegObj->getFrameRate();
       $srcAB = intval($ffmpegObj->getAudioBitRate()/1000);
       $srcAR = $ffmpegObj->getAudioSampleRate();
       $srcVB = floor($ffmpegObj->getVideoBitRate()/1000);


       // Call our convert using exec() to convert to the three file types needed by HTML5
       exec($ffmpegPath . " -i ". $srcFile ." -vcodec libx264 -vpre hq -vpre ipod640 -b ".$srcVB."k -bt 100k -acodec libfaac -ab " . $srcAB . "k -ac 2 -s " . $srcWidth . "x" . $srcHeight . " ".$destFile.".mp4");

       exec($ffmpegPath . " -i ". $srcFile ." -vcodec libvpx -r ".$srcFPS." -b ".$srcVB."k -acodec libvorbis -ab " . $srcAB . " -ac 2 -f webm -g 30 -s " . $srcWidth . "x" . $srcHeight . " ".$destFile.".webm");

       exec($ffmpegPath . " -i ". $srcFile ." -vcodec libtheora -r ".$srcFPS." -b ".$srcVB."k -acodec libvorbis -ab " . $srcAB . "k -ac 2 -s " . $srcWidth . "x" . $srcHeight . " ".$destFile.".ogv");

    It is supposed to take any input video type and convert it to mp4, ogv and webm. When I run the script on a .mov file it returns a mp4 and ogv file, but not webm. When I run it on a .mp4 file it returns no converted files at all. Is there something wrong with the way I am converting the files? Any help?