Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (55)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (5382)

  • How to complex the video and gif and make the watermark loop in FFmpeg ?

    19 août 2017, par Wooi

    I had complex video and gif but the gif was play once time, I also set the loop param , It seem didn’t work any more.

    ffmpeg -y -i /sdcard/Download/Test2/test2.mp4 -loop 1 -i /sdcard/Download/Test2/1.gif -loop 1 -i /sdcard/Download/Test2/2.gif -filter_complex [1:v]rotate=30*PI/180:c=none:ow=rotw(iw):oh=roth(ih)[rotete1];[0:v][rotete1]overlay=main_h-overlay_h-10:main_w-overlay_w-10[overlayout1];[2:v]rotate=30*PI/180:c=none:ow=rotw(iw):oh=roth(ih)[rotete2];[overlayout1][rotete2]overlay=20:20[out3] -map [out3] -map 0:a -codec:a copy /sdcard/Download/Test2/output.mp4
  • Python ffmpeg subprocess makes unplayable file, but is right size, and just hangs

    8 juin 2021, par nadermx

    I currently have this subprocess calling ffmpeg.

    


    print("Starting alphamerge")
cmd = "ffmpeg -y -nostats -loglevel 0 -i %s -i %s -filter_complex '[1][0]scale2ref[mask][main];[main][mask]alphamerge' -c:v qtrle %s" % (
            file_path, temp_file, output)
process = sp.Popen(cmd, shell=True, stdout=sp.PIPE, stderr=sp.PIPE)
stdout, stderr = process.communicate()
print('after call')

if stderr:
   return "ERROR: %s" % stderr.decode("utf-8")
print("Process finished")




    


    But the process ends up making a file over 2 gigs, unplayable, and just hangs. It never prints "Process finished", "after call", or an error, it just hangs.

    


    Am I calling subprocess with ffmpeg wrong ?

    


  • FFMPEG images to video with reverse sequence with other filters

    4 juillet 2019, par Archimedes Trajano

    Similar to this ffmpeg - convert image sequence to video with reversed order

    But I was wondering if I can create a video loop by specifying the image range and have the reverse order appended in one command.

    Ideally I’d like to combine it with this Make an Alpha Mask video from PNG files

    What I am doing now is generating the reverse using https://stackoverflow.com/a/43301451/242042 and combining the video files together.

    However, I am thinking it would be similar to Concat a video with itself, but in reverse, using ffmpeg

    My current attempt was assuming 60 images. which makes vframes x2

    ffmpeg -y -framerate 20 -f image2 -i \
     running_gear/%04d.png -start_number 0 -vframes 120 \
     -filter_complex "[0:v]reverse,fifo[r];[0:v][r] concat=n=2:v=1 [v]" \
     -filter_complex alphaextract[a]
     -map 0:v -b:v 5M -crf 20 running_gear.webm
     -map [a] -b:v 5M -crf 20 running_gear-alpha.web

    Without the alpha masking I can get it working using

    ffmpeg -y -framerate 20 -f image2 -i running_gear/%04d.png \
     -start_number 0 -vframes 120 \
     -filter_complex "[0:v]reverse,fifo[r];[0:v][r] concat=n=2:v=1 [v]" \
     -map "[v]" -b:v 5M -crf 20 running_gear.webm

    With just the alpha masking I can do

    ffmpeg -y -framerate 20 -f image2 -i running_gear/%04d.png \
     -start_number 0 -vframes 120 \
     -filter_complex "[0:v]reverse,fifo[r];[0:v][r] concat=n=2:v=1 [vc];[vc]alphaextract[a]"
     -map [a] -b:v 5M -crf 20 alpha.webm

    So I am trying to do it so the alpha mask is done at the same time.

    Although my ultimate ideal would be to take the images, reverse it get an alpha mask and put it side-by-side so it can be used in Ren’py