Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (47)

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (9057)

  • How to batch watermark a directory of videos with FFMPEG on a Mac [closed]

    13 août 2020, par analogvids

    I need to create a shell script that allows me to add a watermark (.PNG) to all of the video files in a given directory, and I need to do this on a Mac.

    


    I've successfully written and run a script to batch convert videos :

    


    for i in *.Avi; do ffmpeg -i "$i" -c:a aac -b:a 128k -c:v libx264  -preset veryslow "${i%}.mp4"; done)


    


    I have also successfully run a command to convert and watermark videos individually :

    


    ffmpeg -i test.MOV -i watermark.png -filter_complex "overlay=100:100" watermarked.mp4


    


    I combined them into the following script :

    


    # !/bin/bash

    


    for i in *.MOV ; do ffmpeg -i "$i" -i watermark.jpeg -filter_complex “overlay=0” ”$I%.mp4" ; done

    


    and this is the error message terminal spits out :
./batchwatermark10.sh : line 3 : unexpected EOF while looking for matching `"'
./batchwatermark10.sh : line 4 : syntax error : unexpected end of file

    


    This answer doesn't help, though I tried to adapt it for Mac. And this answer works, but it doesn't help me batch process a directory of video files.

    


    Any guidance would be greatly appreciated !

    


  • Best approach to apply watermark on Image/Gif/Video with JavaScript/Node.js/AWS or Any API

    24 août 2020, par Arhan Shahid

    I am developing an application using Node.js/Express and Angular latest. The required use case is all media (includes most common image & video formats etc jpg, jpeg, png, gif, mp4) needs to be watermarked when uploading to the app (uploaded on AWS S3).

    


    I have seen examples with ffmpeg & cloudinary offering similar API. I am not sure about the efficiency and performance of both options.

    


    https://davidwalsh.name/watermark-images-videos
https://cloudinary.com/cookbook/adding_video_watermark_as_an_overlay

    


    Above are a few links I have seen. I would like to know what would be the best approach to achieve this, either FFmpeg cloudinary or any other option.

    


  • Add 2 watermark with scale2ref 40 percent width of video and timeout using FFmpeg

    3 septembre 2020, par Arun Maurya

    Add 2 watermark with scale2ref 40 percent width of video and timeout using FFmpeg

    


    timeout for the top right corner (first 8 sec) then the bottom right corner till the end time.

    


    ffmpeg -i 1597739850_368007908.mp4 -i artistsharleen.png -i artistsharleen.png -filter_complex "[1][0scale2ref=w='iw*40/100':h='ow/mdar'[wm][vid];[vid][wm]overlay=10:40:enable='between(t,0,8)'"[v1];[v1][2]scale2ref=w='iw*40/100':h='ow/mdar'[a][b];[b][a]overlay=main_w-overlay_w-10:main_h-overlay_h-10:enable='gt(t,8)[v2]" -map "[v2]" -map 0:a 17780739871599156232.mp4

    


    I'm able to place 2 watermarks with keyframe

    


    ffmpeg -i video.mp4 -i image2.png -i image2.png -filter_complex "[0][1]overlay=10:10:enable='between(t,0,8)'[v1];[v1][2]overlay=main_w-overlay_w-10:main_h-overlay_h-10:enable='gt(t,8)'[v2]" -map "[v2]" -map 0:a output.mp4

    


    but my images are not getting scaled as per video resolution, that's why i want to integrate scale2ref in this command

    


    Hope someone also faces this problem, can help me.