Recherche avancée

Médias (91)

Autres articles (111)

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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

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

  • How to get video format from video URL (Any type, not just AVPlayer compatible)

    18 novembre 2022, par Bruno Pantaleão

    I want to get the format from a video URL (mp4, m3u8, mpeg etc...) to decided which player to use in my app (AVPlayer or third party).

    


    One option is to check if AVAsset(...).isPlayable, Im using this right now, but I want to improve my logic for when the AVPlayer can't be used.

    


    When I can't use AVPlayer then I encode the video using ffmpeg, if I could have the format of the video (and maybe even more information) I could improve the encode done by ffmpeg.

    


  • ffmpeg , copy 1st video "codec info" into 2nd video (change 2nd video codec)

    12 juillet 2016, par Tomer

    I’m having 2 videos.
    1st video is the master, it’s codec info needs to be encoded on the 2nd video.
    Means, 2nd video codec will be same as the 1st one.

    I’m having 15 "1st videos" for "Master" codec info and one file that needs to be converted to the various codecs that each file contain.

    Folder contains those files "1st video" :

    2CIF.h264 , 4CIF.h264 , 5MP.h264 , CIF.H264 , CUSTOM.h264 , CUSTOM2.h264 ,
    D1.h264 , HD1080.h264 , HD720.h264 , QVGA.h264 , QXGA.h264 , S5020_HD720_15FPS_1Min.mp4 ,
    SVGA.h264 , UXGA.h264 , VGA.h264

    and the "2nd video" that needs to be converted is : TOM.MP4

    An output of HD720.h264 for example is :

    Input #0, h264, from 'HD720.h264':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: h264 (Main), yuv420p, 1280x720, 25 fps, 25 tbr, 1200k tbn, 50 tbc

    An output of TOM.MP4 is :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'TOM.mp4':
       Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 1280x
    720, 14013 kb/s, 30.01 fps, 30 tbr, 90k tbn, 180k tbc (default)

    what will be the right way to convert those files ?

    I need to verify those settings ( got them through MediaInfo )

  • Converting a video to a vertical video with blurred sidebars

    28 mars 2020, par vinay jv

    I was trying to convert a video to a vertical video with blurred sidebars in the android app. I tried the following code in the windows cmd command it works like a charm but when I tried it on android it just stuck in the processing part. Snapshot of my code for converting a video into vertical video``

    String[] command = {"-i", inputfile,"-filter_complex","[0:v]scale=-2:iw*16/9,boxblur=luma_radius=min(h,w)/20:luma_power=1:chroma_radius=min(cw,ch)/20:chroma_power=1[bg];[bg][0:v]overlay=(W-w)/2:(H-h)/2,crop=w=ih*9/16",String.valueOf(outputFile)};

    Am I missing any codecs here like x264 ?