
Recherche avancée
Autres articles (71)
-
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)
Sur d’autres sites (5986)
-
FFmpeg.wasm stopped working after adding cross origin headers
10 octobre 2024, par FnrI was having the SharedArrayBuffer error as described in this other issue and to fix I added the cross origin isolation as suggested (also suggested here) by adding the headers


Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Embedder-Policy: require-corp



After that, now when I try to run the code I just got Uncaught ReferenceError : FFmpeg is not defined. The error is happening on Firefox


My code is :


<code class="echappe-js"><script src="https://unpkg.com/@ffmpeg/ffmpeg@0.10.0/dist/ffmpeg.min.js"></script>

<script>&#xA; &#xA; const { createFFmpeg, fetchFile } = FFmpeg; //error happens here&#xA; const ffmpegInstance = createFFmpeg({&#xA; corePath: &#x27;https://unpkg.com/@ffmpeg/core@0.10.0/dist/ffmpeg-core.js&#x27;,&#xA; log: true,&#xA; });&#xA; </script>



Before that, on Brave browser the process ran ok without having to add the Cross origin headers and also
FFmpeg
variable was defined.

-
Cross-fading transition without duration reduction using ffmpeg
8 janvier 2020, par ArlienI want to concat two videos with a cross-fade transition in-between but (obviously) the total video lose a little time. However because my code also works with the audio, I really need to keep the same duration.
How could I do it ? Here’s my code for the fade but obviously the edited video lasts 0.5s less than the total of the two durations.
To be clear : I need to use cross-fading transition without reducing the duration of the video.
ffmpeg -i sample1.mp4 -i sample2.mp4 -filter_complex "color=black:1280x720:d=19.5[base]; [0:v]setpts=PTS-STARTPTS[v0]; [1:v]format=yuva420p,fade=in:st=0:d=0.5:alpha=1,setpts=PTS-STARTPTS+(9.5/TB)[v1]; [base][v0]overlay[tmp]; [tmp][v1]overlay,format=yuv420p[fv]; [0:a][1:a]acrossfade=d=0.5[fa]" -map [fv] -map [fa] outputwithfade.mp4
I thought about maybe slowing down the clips during the fade but I don’t really know how to do it. Anyone :) ?
-
Add a cross-fade to a ProRes clip
14 mars 2021, par David542I have a ProRes 422 HQ trailer clip that is about 70 seconds. I would like to add a 0.5s cross fade (to black/silence) at the head and tail of the clip. The output file must have the exact same characteristics as the input file.


Where I'm starting at is something like :


ffmpeg -i "concat:??|trailer.mov|??" -c copy output.mov



Is there a way to do this with ProRes 422 in ffmpeg. If not, what other tools might work for this kind of thing ?