
Recherche avancée
Médias (1)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
Autres articles (74)
-
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (14003)
-
Ffmpeg not working for larger size file in PHP
29 juillet 2019, par MrinmoyMkI want to upload different audio formats files and compress and convert them into mp3 file using ffmpeg in php. I have already installed ffmpeg and is working fine for files below 0.9 mb. Whenever I try to submit files larger than 0.9 mb then the action is not completed. It may be there is some mistake in my VPS server configuration or mistake in my PHP codes. Could you please help me. My code is
if (isset($_POST['submit'])) {
$path = "song/"; //set your folder path
$mp3_local=$_FILES['mp3_local']['name'];
$tmp = $_FILES['mp3_local']['tmp_name'];
exec("ffmpeg -i ".$tmp." -ab 96k ./out96/$mp3_local.mp3");} -
Why doesn't the lame mp3 codec (libmp3lame) create XingHeaders ?
5 novembre 2012, par user784637I downloaded a video from youtube whose audio was encoded in aac and transcoded it to an mp3 using the libmp3lame codec.
$ ffmpeg -i video.mp4 -vn -acodec libmp3lame -- test.mp3
Now when I try to write id3 tags to it using the taglib example tagwriter I get the following warning :
$ ./testwriter -t 'stuff' test.mp3
TagLib: MPEG::XingHeader::parse() -- Xing header doesn't contain the total stream size.The id3 tags are written and display correctly, but the lack of the XingHeaders causes older players to loop the song several times.
Why doesn't the lame mp3 codec create XingHeaders ? How do I create XingHeaders ?
-
Batch convert MP3 and static image to AVI with FFMPEG
8 décembre 2013, par user3027136I'm tired of searching for this problem. I have found 2 solutions here, but both work only partially.
What I want to do is to convert all the MP3 inside a folder (if possible subfolders, too) to avi or anything else accepted by Youtube. I have created 2 .bat that should do this (according to the other threads here). They don't, one of them creates the avi without the image (black) and the other seems to capture the screen.
Here they are.
If you know about ffmpeg please point me to the right direction. Thank you.This one uses mp3info.exe - to be honest I have no idea what mp3info does, I just guess it finds the lenght of the song to be mathed later with the length of the video.
@echo off
for %%a in (*.mp3) do (
for /f "delims=" %%b in ('mp3info.exe -p %%S "%%a"') do (
ffmpeg -i "%%a" -loop 1 -r 1 -i "cover.jpg" -acodec copy "%%~na.mp4" -t %%b
)
)This seems more simple, runs faster but captures the screenshot and ignores the cover.jpg file.
@echo off
for %%A IN (*.mp3) DO ffmpeg -i "%%A" -i "cover.jpg" "%%A.mpg"
donemp2info.exe, cover.jpeg and the .bat scripts are in the same folder with the .mp3 files.