Recherche avancée

Médias (1)

Mot : - Tags -/embed

Autres articles (60)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (6844)

  • Creating a transparent video out of an input video

    28 juillet 2021, par poldown

    I'm trying to create a video with a transparent background out of an input video (with the same dimensions, etc.). I tried several strategies (using the chromakey filter and others) and none worked... I got this far :

    


    ffmpeg -i input.mp4 -filter_complex "color=color=black@0.0,format=yuva420p[bg],[bg][0:v]scale2ref[bg][0v],[bg]drawbox=x=10:y=10:w=100:h=100:color=pink@0.5;[0v]nullsink" -c:v qtrle -an "alpha.mov"


    


      

    • creating a video stream with transparency, and setting a transparent background (black@0.0)
    • 


    • scaling the transparent video according to the input video
    • 


    • [for testing purposes : drawing a box over the transparent video. I omitted the part in which I embed subtitles onto the video, for simplicity's sake]
    • 


    • discarding the input video stream
    • 


    • removing the audio stream
    • 


    


    It basically works, but the processing never ends - I can't manage to limit the output video length so it'll match the input video's length...
I've tried using the -shortest option anywhere in the command - with no success.

    


  • how to pass user input variable to ffmpeg in windows batch file

    7 décembre 2018, par lala

    Reffering to Answer here (Closest Search) i have in a batch file code(below). I tried every possible way to pass line1 value to text and it simply didn’t worked. clearly hardcoding text in ffmpeg line works. Any Ideas or Guideline.

    set /p dtp="DRAG A File:"
    set /p line1 = "Enter Top Text:"
    set /p line2 = "Enter Bottom Text:"
    ffmpeg -i %dtp% -filter_complex "[0:v]pad=iw:ih+100:0:(oh-ih)/2:color=white, drawtext=text='%%line1%%':fontfile=Mosk Bold 700.ttf:fontsize=24:fontcolor=black:x=(w-tw)/2:y=(50-th)/2, drawtext=text=`%line2%`:fontfile=Mosk Bold 700.ttf:fontsize=24:fontcolor=black:x=(w-tw)/2:y=h-25-(th/2)" %dtp%_tweaked.mp4
  • sh file imagemagick modification

    16 avril 2013, par Love

    I have an .sh script that generate thumbnail sprites' images from video. The below codes in the script will output the image similar this : http://s1-www.ltvimg.com/cdn/farfuture/7NO-FuBvaWJK_v34cJrAmHi6L3ywPn1YtImQNzXgTic/mtime:1362848979/sites/default/files/tooltipthumbs-sprite.jpg

    For now, the dimension of each thumbnail is 108x60, maximum 25 thumbnails(5x5) per image and per image dimension is 540x300. The thumbnail is capture every second of the video, which mean if i have a 75 seconds of video, it will output 75 thumbnails with 3 images.

    What i need now, i want the script generate only 1 image per video. Which mean 75 thumbnails all in 1 image. What i need to change on the below codes to make this works ?

    mogrify -verbose -resize 108x60 -gravity center -quality 100 -background black
    -extent 108x60 MONTAGE*.png

    numimages=`ls -1 *.png | wc -l | cut -d " " -f1`

    montage -verbose MONTAGE*.png -geometry +0+0 -tile 5x5 -quality 100 -background
    black "$basename"-%04d.jpg

    mogrify -verbose -resize 540x300 -gravity north -extent 540x300 -quality 100
    -background black "$basename"-*.jpg