
Recherche avancée
Autres articles (30)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Création définitive du canal
12 mars 2010, parLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)
Sur d’autres sites (4987)
-
libavfilter/dnn/dnn_backend{openvino, tf} : check memory alloc non-NULL
14 octobre 2020, par Chris Miceli -
movdec : handle 0x7fff langcode as macintosh per the specs
21 mars 2012, par Baptiste Couduriermovdec : handle 0x7fff langcode as macintosh per the specs
The correct point that seperates ISO and MAC language codes is 0x400
according to the current QT spec. Old QT specs did not list where this
seperation is but apparently only defined the meaning of the first 137. -
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 ?