Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (48)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Initialisation de MediaSPIP (préconfiguration)

    20 février 2010, par

    Lors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
    Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
    Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
    Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (8069)

  • Efficient command line to crop a video, overlay another crop from it and scale the result with ffmpeg

    26 mai 2018, par Witek

    I need to convert many videos in such a way that I take 2 different crops from each frame of a single video, stack them one over the other and scale down the result, creating a new smaller video.
    I want to convert this fullHD frame (two crop areas are marked red) to this small stacked frame.

    Right now I use the following code :

    ffmpeg  -i "video.mkv" -filter:v "crop=560:416:0:0" out1.mp4
    ffmpeg  -i "video.mkv" -filter:v "crop=560:384:1060:128" out2.mp4
    ffmpeg  -i out1.mp4 -vf "movie=out2.mp4[inner]; [in][inner] overlay=0:32,scale=280:208[out]"  -c:v libx264 -preset veryfast -crf 30 result.mp4

    It works but it is very inefficient and requires temporary files (out1 and out2). And the problem is I have over 100.000 of such videos (they are big and stored on a NAS and not directly on my computer’s HDD). Converting all of them with a Windows batch script (for loop) will take...48 days. Can you help me to optimize the script ?

  • Why am I unable to scale a 4-second 60 fps clip down to exactly 1 second ?

    20 mai 2018, par joeycato

    I’m currently using the setpts filter to speed up or slow down different clips and accuracy is very important to me ( context : I’m concatenating these into a final clip that needs to be perfectly in sync with a separate video.) I’ve been using this as a general approach :

    setpts=(targetDuration/totalFrameCount)*N/TB" -r targetDuration/totalFrameCount

    While it’s fairly accurate most of the time, I’m wondering if I can get better results. For example, if I attempt to scale a 4-second 60fps clip down to exactly 1 second, i.e. :

    ffmpeg -y -i clip_4sec.avi -filter:v "setpts=(1/240)*N/TB" -r 240/1 clip_4sec_scaled_to_1sec.avi

    I actually end up with a 992ms clip. Does anyone know why this happening ? From my understanding, as long as the target duration is a multiple of frame duration ( 1/60 seconds ) this shouldn’t be an issue, correct ?

    Is there a better approach I can take to improve the accuracy ?

    Note : FWIW I already double-checked that the input clip has an actual frame count of 240

  • avfilter/vf_mix : add scale option

    24 avril 2018, par Paul B Mahol
    avfilter/vf_mix : add scale option
    

    Signed-off-by : Paul B Mahol <onemda@gmail.com>

    • [DH] doc/filters.texi
    • [DH] libavfilter/vf_mix.c