
Recherche avancée
Autres articles (75)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (14177)
-
Is there a way to convert uploaded videos to browser MP4 using most basic ffmpeg ?
22 janvier 2016, par PeterTheLobsterI am trying to convert videos uploaded to my website to browser friendly mp4 using ffmpeg.
The Problem : the website is hosted by a company and it seems like it does not have the codecs I need (the ones I’m aware to be browser-friendly.) I have learned that h264 and libx264 are the codecs I would want to encode the mp4 videos to, but libx264 is not present and h264 is decodable only. Doing :
exec("ffmpeg -codecs", $output);
tells me that :
D V D h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
I have tried converting the videos using mpeg4 codecs, but those are not supported natively in browsers it appears :
$command ="$ffmpeg -i $target -b 1500k -vcodec mpeg4 -pix_fmt yuv420p -acodec aac -strict experimental $converted2 2>&1";
exec($command, $output);The videos converted using the method above play only audio in chrome for example (the mpeg4 codec encoding is supported).
Edit : I was able to convert videos to ogg and webm, but those won’t cover all browsers as far as I’m aware. Especially not the mobile ones anyway.
Question : is there another type of basic ffmpeg, browser friendly mp4 codecs that I am not ware of or was there something wrong with my conversion $command above ? Or would I have to somehow try to install libx264 codecs and libraries ? (My guess is, that I probably cant do that to their servers, right ?)
-
FFmpeg : Batch convert all audio (mp3) in folder to video (mp4) with album artwork
4 novembre 2024, par coden00bI'm looking to batch convert all audio (mp3) in folder to video (mp4) with album artwork. This for uploading audios to youtube. I have pretty much a working code but I want to automate the whole thing.





Here's the code from .bat file I'm using.





(source :FFMpeg Batch Image + Multiple Audio to video)



echo off
for %%a in ("*.mp3") do "C:\ffmpeg\bin\ffmpeg" -loop 1 -i "C:\ffmpeg\bin\input.jpg.jpg" -i "%%a" -c:v libx264 -preset veryslow -tune stillimage -crf 18 -pix_fmt yuv420p -c:a aac -shortest -strict experimental -b:a 192k -shortest "C:\mp4\%%~na.mp4"
pause




- 

- "C :\ffmpeg\bin\ffmpeg" the folder of codec
- "C :\ffmpeg\bin\input.jpg" image path
- "C :\mp4\%% na.mp4" output folder
- -vf scale=854:480 you can specify the resolution of your video 16:9 for youtube video
- -c:a aac -shortest use aac codec, by specify -shortest the video length will match the audio length













This works great except I have to manually put the album art each time. I want ffmpeg to automatically extract the album art from each audio file and then convert it to video in batch.





This is the code for extracting album art from .mp3 files





ffmpeg -i input.mp3 -an -vcodec copy cover.jpg




Thanks.


-
configure : Rename cmov processor capability to i686
26 avril 2013, par Diego Biurrun