Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (54)

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

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

Sur d’autres sites (4968)

  • ffmpeg - Add, scale and set potision of multi watermarks by duration to video

    17 mars 2017, par Thanh Dao

    I have a video /path/to/video.mp4
    Now I want to place each watermarks for each 6 seconds. I used command as :

    "ffmpeg" -i /path/to/video.mp4
       -i /path/to/watermark-1.jpg \
       -i /path/to/watermark-2.jpg \
       -i /path/to/watermark-3.jpg \
       -i /path/to/watermark-4.jpg \
       -i /path/to/watermark-5.jpg \
       -i /path/to/watermark-6.jpg \
    -filter_complex \
       "[0:0] scale=210:192 [tmp], \
       [tmp][1:v] overlay=47:97:enable='between(t,0,6)' [tmp]; \
       [tmp][2:v] overlay=47:97:enable='between(t,6,12)' [tmp]; \
       [tmp][3:v] overlay=47:97:enable='between(t,12,18)' [tmp]; \
       [tmp][4:v] overlay=47:97:enable='between(t,18,24)' [tmp]; \
       [tmp][5:v] overlay=47:97:enable='between(t,24,30)' [tmp]; \
       [tmp][6:v] overlay=47:97:enable='between(t,30,36)' [output]" \
    -map [output] /path/to/output.mp4 2>&1

    I tried to scale my watermarks, but it scales the video, and the sound of video was lost.

    What is my wrong ?

  • Add watermark to video using ffmpeg in php not working

    2 mars 2017, par Remya

    I need to watermark a mp4 video , Currently i am using this code, but it is not working , please solve this

    <?php $msg = exec('/usr/local/bin/ffmpeg -i uploads/videos/profile/movie.mp4 -vf "movie=logo.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:10 [out]" uploads/videos/profile/output.mp4 2>&1', $output); var_dump($output);?>

    The error shows

    array (size=27)  0 => string 'FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers' (length=72)  1 => string '  built on Jan 14 2016 22:33:21 with gcc 4.4.7 20120313 (Red Hat 4.4.7-16)' (length=74)  2 => string '  configuration: --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared --enable-libx264 --enable-libtheora --enable-libfaac --enable-avfilter --enable-gpl --enable-nonfree --enable-x11grab --enable-libxvid' (length=220)  3 => string '  libavutil     50.36. 0 / 50.36. 0' (length=35)  4 => string ' libavcore      0.16. 1 /  0.16. 1' (length=35)  5 => string '  libavcodec    52.108. 0 / 52.108. 0' (length=37)  6 => string '  libavformat   52.93. 0 / 52.93. 0' (length=35)  7 => string '  libavdevice   52. 2. 3 / 52. 2. 3' (length=35)  8 => string '  libavfilter    1.74. 0 /  1.74. 0' (length=35)  9 => string '  libswscale     0.12. 0 /  0.12. 0' (length=35)  10 => string 'Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'uploads/videos/profile/movie.mp4':' (length=75)  11 => string '  Metadata:' (length=11)  12 => string '   major_brand     : isom' (length=26)  13 => string '    minor_version   : 512' (length=25)  14 => string '    compatible_brands: isomiso2avc1mp41' (length=39)  15 => string '    creation_time   : 1970-01-01 00:00:00' (length=41)  16 => tring '    encoder         : Lavf53.24.2' (length=33)  17 => string '  Duration: 00:00:05.31, start: 0.000000, bitrate: 1589 kb/s' (length=60)  18 => string '    Stream #0.0(und): Video: h264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc' (length=117)  19 => string '    Metadata:' (length=13)  20 => string '      creation_time   : 1970-01-01 00:00:00' (length=43)  21 => string '    Stream #0.1(und): Audio: aac, 48000 Hz, 5.1, s16, 384 kb/s' (length=62)  22 => string '    Metadata:' (length=13)  23 => string '      creation_time   : 1970-01-01 00:00:00' (length=43)  24 => string '[buffer @ 0x1e95f70] w:1280 h:720 pixfmt:yuv420p' (length=48)  25 => string 'No such filter: 'movie'' (length=23)  26 => string 'Error opening filters!' (length=22)
  • FFMPEG Control Duration Of Video Watermark ? [duplicate]

    20 février 2017, par Briana Wilson

    This question already has an answer here :

    So far I have this code which allows me to batch watermark videos using FFMPEG :

    for %%a in ("C:\filepath\*.mp4") do ffmpeg -i "%%a" -q 40 -s 640x480 -vf "movie=watermark.png [watermark]; [in][watermark] overlay=x=(main_w-overlay_w)/2:y=(main_h-overlay_h)/2 [out]" "C:\filepath\%%~na.mp4"

    What I’m trying to figure out is how I can control the duration of the watermark so that it appears 60 seconds into the video and disappears 15 seconds later.

    Any guidance or help in figuring this out would be greatly appreciated.

    P.S. I need the code to be able to be run in batch.