Recherche avancée

Médias (91)

Autres articles (7)

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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (3190)

  • PHP ffmpeg - save mp4 as H.264 in Baseline profile

    2 mai 2020, par Pikaboo

    I'm trying to play a mp4 file in android but it's not working.

    



    According to Android VideoView Cannot play video mp4

    



    the file needs to be H.264 in Baseline.

    



    I don't know what the hell this means.

    



    This is the PHP code I'm using to create mp4 :

    



    $videoname = str_replace('.gif', '.mp4', $picname);
$ffmpeg = FFMpeg\FFMpeg::create(array(
    'ffmpeg.binaries'  => 'ffmpeg/bin/ffmpeg.exe',
    'ffprobe.binaries' => 'ffmpeg/bin/ffprobe.exe',
    'timeout'          => 6600, // The timeout for the underlying process
    'ffmpeg.threads'   => 12,   // The number of threads that FFMpeg should use
), $logger);

$video = $ffmpeg->open('memes/' . $folder . '/' . $picname);
$video
    ->save(new \FFMpeg\Format\Video\X264(), 'memes/' . $folder . '/' . $videoname);


    



    How can I set it to be H.264 in Baseline profile ?

    


  • How to save only the error message in a log file ?

    24 septembre 2021, par user12733526

    ffmpeg ... -loglevel +error FFREPORT=file=test.log

    


    ffmpeg ... -FFREPORT=file=test.log:level=verbose

    


    ffmpeg ... FFREPORT=file=test.log:level=error

    


    None of these work.

    


    This works :
ffmpeg ... -loglevel +error -report =file=test.log

    


    But it does save everything in the log file and not only the error message, and the log file created contains a different name.

    


  • Revision f00d157c12 : Moving eob array to the encoder. In the decoder we don't need to save eobs, we

    4 décembre 2013, par Dmitry Kovalev

    Changed Paths :
     Modify /vp9/common/vp9_blockd.h


     Modify /vp9/decoder/vp9_decodeframe.c


     Modify /vp9/decoder/vp9_detokenize.c


     Modify /vp9/decoder/vp9_onyxd_if.c


     Modify /vp9/decoder/vp9_onyxd_int.h


     Modify /vp9/encoder/vp9_block.h


     Modify /vp9/encoder/vp9_encodeframe.c


     Modify /vp9/encoder/vp9_encodemb.c


     Modify /vp9/encoder/vp9_firstpass.c


     Modify /vp9/encoder/vp9_quantize.c


     Modify /vp9/encoder/vp9_rdopt.c


     Modify /vp9/encoder/vp9_tokenize.c


     Modify /vp9/encoder/vp9_tokenize.h



    Moving eob array to the encoder.

    In the decoder we don't need to save eobs, we can pass eob as an argument.
    That's why removing eob arrays from VP9Decompressor and TileWorkerData,
    and moving eob pointer from macroblockd_plane to macroblock_plane.

    Change-Id : I8eb919acc837acfb3abdd8319af63d1bbca8217a