
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (98)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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 -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)
Sur d’autres sites (9325)
-
FFMPEG and AWS : What's the most efficient way to handle this ?
28 mai 2022, par Red VicI'm new to AWS and I originally built the FFmpeg functions on my Node.JS API. But I realized this is the wrong way to do it in a real-world app, and that you need to use separate Lambda functions in AWS that handle the video editing separately from the main server.


I'm mainly a front-end developer but I'm open to learning new things.


I basically have the following process in my app :


- 

- User uploads video.
- I need to take that video and add a watermark to it.
- I then need a copy of the watermarked video in a smaller resolution.
- I then need a 6 seconds GIF of the smaller resolution video.
- Finally, I need to upload the 3 edited files (2 .mp4's and 1 .gif) to S3, and remove the original, non-watermarked video.












Here are my questions to be clear :


- 

- Should I upload the original file to S3 or to the server ? And why ?
- Is the process above doable in a single Lambda function ? Or do I need more Lambda functions ?
- How would you handle this problem, personally ?








I originally built it by chaining one function to the next with promises, but AWS seems like a different world of doing things and the way I originally built it would not work.


Thanks a lot.


Update
Here are some tests I did with a couple videos :







 

Test 1 

Test 2 

Test 3 

Test 4 

Test 5 







 Original video resolution 

1080p 

1080p 

1080p 

1080p 

480p 




 Original video duration 

23 minutes 

15 minutes 

11 minutes 

3.5 minutes 

5 minutes 




 Step 1 duration (Watermarking original video) 

30 minutes 

18 minutes 

14 minutes 

4 minutes 

2 minutes 




 Step 2 duration (Watermarking lower resolution) 

5 minutes 

3 minutes 

3 minutes 

1 minute 

skip (already low res) 




 Step 3 duration (6 seconds GIF creation) 

negligible (15 seconds) 

negligible (10 seconds) 

negligible (7 seconds) 

negligible 

negligible 




 Total 

35 minutes 

21 minutes 

17 minutes 

5 minutes 

2 minutes 







-
How do I use ffmpeg to chop up video files in a folder for instagramstoris ?
12 mai 2022, par Mikhail EliseevThere are a lot of *mov videofiles in the folder. (there are two of them on the screenshot).


I want to cut all these *mov files for Instagram storisvideo long 59 seconds (it does not matter which frame to cut). As a result there will be a lot of video files of 59 seconds.




I want to cut each videofile to have on each final videos these parameters :


MP4 Container format
H.264 Video Codec
AAC Audio
3500kbps bitrate
30 FPS
60 seconds maximum in length
1080p 9:16 ( 1080 х 1920 px)
enter code here



I made this CMD file for ffmpeg :


@echo off
for %%i in (*.mov) do (
ffmpeg -i "%%i" -vf scale=ih*9/16:ih,scale=iw:-2,setsar=1,scale=-2:1080, -f segment -segment_time 59 -segment_format_options movflags=+faststart -force_key_frames "expr: gte(t, n_forced * 0.5)" -y "^%03d.mp4"
)
pause



How to pass an error ? Screenshot of the error :
error screenshot


-
HLS "bufferStalledError" / "bufferNudgeOnStall"
20 avril 2022, par YagoI'm trying to stream videos with HLS.js, and it works perfectly fine, but when I separate the audio from the video to support multiple audio tracks, it returns these two errors at random times in the video ("bufferStalledError" and "bufferNudgeOnStall").


I've tried using pure ffmpeg, I've tried using shaka packager, and I'm currently using bento4, but this error always occurs


(my bento4 code)


mp4hls --hls-version 4 -o "${outputFolder}" -f
[type=audio,+language=Japanese]"${inputFolder}${epFolder}/1080p.mp4"
[type=video]"${inputFolder}${epFolder}/1080p.mp4"
[type=video]"${inputFolder}${epFolder}/720p.mp4"
[type=video]"${inputFolder}${epFolder}/480p.mp4"
[type=video]"${inputFolder}${epFolder}/360p.mp4"
[type=video]"${inputFolder}${epFolder}/240p.mp4"