Recherche avancée

Médias (91)

Autres articles (50)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (8970)

  • We're Creating a New AI tool and Got Stuck on This 1 Step [closed]

    22 février 2024, par Daniel

    Thanks for helping with this question,

    


    Anybody who knows PHP, React js, FFmpeg, or Open AI API can help here :

    


    We are currently creating a tool with PHP laravel and React JS. It lets normal creators input a simple text prompt and they'll get a fully original short (30 video fast-paced video) for their channel. But we have an output problem :

    


      

    • On the output of the videos, there's supposed to be AI generated images that have cool animations in order to make everything more fast paced. But our developers are making animations that are super slow and not dynamic or interesting enough. What open source library/tech could we use to create stunning animations and more action ?! Any suggestions would help here,
    • 


    



    


    We are currently using an FFmpeg to create a video automatically for our users. The videos consists of [images, captions, voiceover, background music, and animations) all generated by our AI tool and put together.

    


    Here's what we want as a video (dynamic, fast paced, and many animations) : https://drive.google.com/file/d/1ONCczJh_Uk9m6oRDPGFQYjJPWUhy8hdV/view?usp=sharing

    


    Here's what we're getting : https://drive.google.com/file/d/1sMKGB88ouTHsEdahc0Zyt8rKEvZWhTco/view?usp=sharing

    


    Thanks for any help here.

    


  • ffmpeg poor YUV to RGB in sws_scale() (was : ffmpeg blocky chroma decoding)

    12 septembre 2017, par noiseshaper

    I’m using ffmpeg-3.2.4-win32, static and dev versions from zeranoe page, to decode some h264 mp4 videos I have created with x264 encoder. The videos have lots of static zones, 2d videogame type.

    When I decode their frames using either ffmpeg.exe or avcodec_decode_video2() API function, I get poor chroma resolution, blocky and quite visible in the static zones of the video (edit : avcodec_decode_video2() returns correct YUV, the problem is the YUV->RGB conversion, see my own answer below).

    With ffmpeg.exe I get poor chroma only if I output the frames to png, but if I output them to jpg, chroma seems much better (edit : this is due to poor YUV to RGB conversion of ffmpeg’s sws_scale()).

    Here is an example of the same frame obtained from a mp4 video created with a static image, the output frame is zoomed in to clearly see the effect.

    https://drive.google.com/file/d/0B5KI1D-N1kHpV3lGaERJRjNkcms/view

    1 : Original frame before compressing.

    2 : YUV 4:2:0 conversion before compressing

    3 : Video output from MPC HC + LAV decoder. This is YUV decoded output.

    4 : Video frames decoded with ffmpeg.exe to jpeg, quality is mostly ok, just some jpeg macroblocking is visible.

    5 : Video frames decoded with ffmpeg.exe to png, very blocky chroma. This is RGB output, using avcodec_decode_video2() and sws_scale() conversion to RGB produces the same blocky chroma.


    The command lines for decoding the frames to jpg and png are these :

    ffmpeg -i testcase.mp4 -vframes 5 -qscale:v 2 output%03d.jpg

    ffmpeg -i testcase.mp4 -vframes 5 output%03d.png

    You can download mp4 and bat files that showcase the effect here :

    https://drive.google.com/drive/folders/0B5KI1D-N1kHpcUdGd2IyM2pXMTg


    I have tried with ffmpeg 3.2, but same thing happens.

  • Ffmpeg : How to transition 2 videos together with a custom alpha channel video

    9 janvier 2023, par Daniel Enrico Botta

    I have these files :

    


      

    • 1.mp4, 2.mp4 (video files)
    • 


    • wipe.mov (alpha channel wipe)
    • 


    


    I want to use the wipe.mov as a transition between 1.mp4 and 2.mp4
The wipe.mov should replicate the same feeling as the xfade=transition=wipeleft with the only difference that it should use wipe.mov as input

    


    I have tried to use alphaextract to extract the alphachannel from the wipe.mov and this seems to work well.

    


    The problem is I can't figure out how to overlay and make transparent the correct portions in order to make this.

    


    Unfortunately xfade does not accept a video as input... I had tried something like this :

    


    ffmpeg -y -hide_banner -i 1.mp4 -i 2.mp4 -i wipe.mov -filter_complex \ "[0:v]settb=AVTB,setpts=PTS-STARTPT[v0];[1:v]settb=AVTB,setpts=PTS-STARTPTS\[v1]; \ [v1]scale=1280x720,format=yuva420p,alphaextract[alpha]; \ [v0][alpha]xfade=transition=custom:duration=1[out]" -map "[out]" output.mp4

    


    Does anyone know a way to make this work ?

    


    I have also been looking into lumakey...

    


    UPDATE :

    


    this is what I want to achieve :

    


    https://drive.google.com/file/d/1fBu3bVmtbu5DtxEWAzADRmoVCeCg—tD/view?usp=share_link

    


    this is the wipe.mov :

    


    https://drive.google.com/file/d/1z83chzDe0Iw-oTEduWXBpueIAoZezODD/view?usp=share_link