
Recherche avancée
Autres articles (94)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (14080)
-
C run linux shell command(fmpeg) 10x slower than typing directly in terminal
14 novembre 2014, par dadylonglegsCLOSED
I’m writing an application that execute a linux shell command (ffmpeg) from my C code. Such as :
char command[2000];
sprintf(command, "ffmpeg -i %s/%s -r 1 -vf scale=-1:120 -vframes 1 -ss 00:00:00 %s.gif", publicFolder, mediaFile, mediaFile);
system(command);To extract video thumbnail from a specific video. But the strange that it is too much slower when executing shell command form C compare to typing directly to the terminal. I have no idea about this.
Can anybody help me pls ?. Thanks in advance. -
What does the variable ${i%.*} mean in terminal ?
17 mars 2020, par wongzThis shell command converts all .avi to .mp4 as per this answer by @llogan
Can someone explain how $i%.* works ?
In particular, what does % do ?for i in *.avi; do ffmpeg -i "$i" "${i%.*}.mp4"; done
-
How to install MPD filter "ffmpeg" into MPD running on RaspberryPi [closed]
13 mai, par Weston MitchellI’m using Moode audio player OS on a Raspberry Pi 5 to play audio through two USB devices : headphones (card 3 : Device_1) for the full spectrum and a subwoofer (card 0 : Device) for low frequencies (20–100Hz) in a meditation lounge setup. The audio source is a NAS on a Mac. My goal is simultaneous playback : headphones in stereo, subwoofer in mono with low-pass filtering. I have configured the mpd.conf file to setup audio ouputs for both devices. Now I need to apply a lowpass filter to the subwoofer device. I tried using MDP's "ffmpeg" as a lowpass filter, but the logs say :




Failed to initialize filter chain for "Subwoofer" : No such filter plugin : ffmpeg




So I checked MPD's list of filters using
mpd --version
and it shows only one filter :



Decoder plugins :

[mpg123] mp3

[mad] mp3 mp2

[vorbis] ogg oga

[oggflac] ogg oga

[flac] flac

[opus] opus ogg oga

[dsdiff] dff

[dsf] dsf

[faad] aac

[wavpack] wv

[adplug] amd d00 hsc laa rad raw sa2

[ffmpeg] 264 265 ...

Filters :

soxr

Tag plugins :

id3tag

...




So it's listed as a Decoder, but not a as a filter. MPD docs says it can be used as a filter : MPD Docs - Filters


So how do I add the ffmpeg to the list of filters ?