
Recherche avancée
Autres articles (75)
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP 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" (...)
Sur d’autres sites (4497)
-
ffmpeg - Convert MP4 to WebM, poor results
30 octobre 2022, par fightstarr20I am trying to encode a video to webm for playing through a HTML5 video tag. I have these settings...



ffmpeg -i input.mp4 -c:v libvpx-vp9 -b:a 128k -b:v 1M -c:a libopus output.webm




The results aren't great, video has lost lot's of it's sharpness. Looking at the original file I can see the bitrate is 1694kb/s.



Are there any settings I can add or change to improve the output ? Would maybe a 2 pass encode improve things ?


-
How do I merge an image to a video using the laravel/ffmpeg package ?
27 juillet 2020, par Ninja PotatoI have a requirement where I want to merge an image with a video in laravel. After searching I came to know that FFmpeg is the way to do this type of things, and apparently laravel has a package for it.


I went through the examples in readme of this package on github but couldn't find the function for my requirement. I also checked out their tutorial but it didn't explain this functionality. I also googled for it and got core PHP FFmpeg library solution for it, but I want to do it in laravel. So finally, I am landing here to know if it is possible with the laravel/ffmpeg package, then it would be a great help. :)


-
Can any part of an ffmpeg command use expressions ?
6 avril 2022, par corgrathI am still learning how expressions work with ffmpeg, whether any part of a command can be using expression or not.


As an example, I have this command :


ffmpeg -y -i input.mp3 -af "sofalizer=sofa=ClubFritz1.sofa:type=freq:radius=2:speakers='FL 45|FR 45|BL 45|BR 45'" output.mp3


(The file
CubFritz1.sofa
can by the way be downloaded here)

Which basically applies the sofalizer effect and specify that each channel should be heard / come from, the left side (45 degrees) of the audio.


This works as expected.


However, I cannot seem to get expressions working in the command at all.


For example this :


ffmpeg -y -i input.mp3 -af "sofalizer=sofa=ClubFritz1.sofa:type=freq:radius=2:speakers='FL if(0, 45, 45)'|'FR if(0, 45, 45)'|'BL if(0, 45, 45)'|'BR if(0, 45, 45)'" output.mp3


Which does an
if(0, 45, 45)
as a test, so regardless the outcome should be45
, right ?

However, when I run this command, it does not seem to work anymore, meaning the sound is not purely coming from the left side.


I have even tried changing the location of the single
'
in the command without luck :

ffmpeg -y -i input.mp3 -af "sofalizer=sofa=ClubFritz1.sofa:type=freq:radius=2:speakers=FL 'if(0, 45, 45)'|FR 'if(0, 45, 45)'|BL 'if(0, 45, 45)'|BR 'if(0, 45, 45)'" output.mp3


My question is, what are the rules for getting expressions working in an ffmpeg command ?


How would the command be rewritten so that the
if(0, 45, 45)
works ?