
Recherche avancée
Autres articles (104)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (10391)
-
ffmpeg to make black video with multiple audio and subtitles [closed]
9 septembre 2024, par Tony MI want to use ffmpeg to make a video with only audio and subtitles in different languages. The video part can be a simple black background. I want to be able to switch between languages in video players like QuickTime.


I've tried to get help from posts like this, but I couldn't figure out how to get it to work.


To demonstrate that I've worked a long time on this, I'm showing what I've come up with below — but only steps (1) & (2) work. I can't get the subtitles step (3) to work.


I've used ffmpeg for a long time, but never really understood it... I've only recently started to build my own commands, so the following probably looks awful to an expert :


- 

-
make a silent video using


ffmpeg -loop 1 -i black.jpg -i silent.mp3 -acodec copy -shortest -vf scale=1000:136 silent.mov






where m.jpg is a 500x68 black image and m.mp3 has 5 min of silence


- 

-
add 3 language (italian, french, german) using


ffmpeg -i silent.mov -i ita.mp3 -i fre.mp3 -i ger.mp3 -map 0:v -map 1:a -map 2:a -map 3:a -metadata:s:a:0 language=ita -metadata:s:a:1 language=fre -metadata:s:a:2 language=ger ita-fre-ger.mov


-
add subtitles using (doesn't work)








ffmpeg -i ita-fre-ger.mov -i ita.srt -i fre.srt -i ger.srt -map 0 -map 1 -map 2 -map 3 -c copy -c:s mov_text -metadata:s:s:0 language=ita -metadata:s:s:1 language=fre -metadata:s:s:2 language=ger final.mov


-
-
images->video->web canvas : RGB/YUV issues
5 février 2016, par nrobWe’ve written an web app which :
- takes 3D, time dependent weather data
- tiles each 3D time point to make a 2D frame (written out as a png image)
- stitches these frames together into a video (using ffmpeg/avconv)
- streams this video into a web app
- polls the canvas for frames
- sends the frames to the GPU where they are converted back to 3D and ray traced
You can see the app here, code here and you can see the data video here
Currently the pngs are written as RGB images, the video codec is in YUV and getting frames from the canvas returns RGB. As such there is a significant loss of information due to the conversion between image spaces.
Does anyone have suggestions what is the best way round this ?
I’ve tried a bunch of RGB video codecs, but I can’t get any to work, and I don’t know if the web browser will support it anyway. Can anyone suggest a good RGB codec (both lossy and lossless would be great)
Also, is it possible to write to YUV images/read them from a video canvas in HTML5 ?
Ultimately, I don’t even want anything to do with images/videos, I’m just hacking the codecs to stream/compress large animated 3D data volumes
-
how to list filenames and durations of a various audio files on a server using PHP [duplicate]
7 avril 2015, par user1522247This question already has an answer here :
-
PHP Function to get MP3 duration
6 answers
I have a folder full of audio files, a mix of mostly wma, mp3, wav, but also some obscure files like DS2 and aiff, on a VPS. The folder updates every day.
I am running a php based website using apache and MYSQL.
Is there anyway I can extract or somehow display a list of the audio files along with file durations for each ?
I ideally need a solution that would allow a relatively non technical person to extract the data on a daily basis. So I’m thinking of displaying the data via a php file ?
-
PHP Function to get MP3 duration