
Recherche avancée
Autres articles (61)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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 -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (5894)
-
Amazon S3 : how to combine all images into a video ?
9 septembre 2021, par scientifficI'm in my Rails app, I enable users to upload images, which get processed using ffmpeg to create a video slideshow.



I have this working locally, but am wondering how to do this when deploying the app using Heroku. In particular, I know Heroku has limited storage and has a read-only filesystem, so using Carrierwave without S3 or an external storage option doesn't seem like an option.



But how would I run a task like the following using S3, where I combine all images into a video ?



The ffmpeg command is



ffmpeg -r 5 -i https://s3.amazonaws.com/[]/uploads/image/image_file/26/img%03d.jpg output.mp4 -y




And the AWS "folder" contains the following :
https://s3.amazonaws.com/[]/uploads/image/image_file/26/img001.jpg
https://s3.amazonaws.com/[]/uploads/image/image_file/26/img002.jpg
https://s3.amazonaws.com/[]/uploads/image/image_file/26/img003.jpg



When I try to do the following, I get an error with ffmpeg not knowing what to do with :



https://s3.amazonaws.com/[]/uploads/image/image_file/26/img%03d.jpg




Note, this whole video compilation process works fine for me locally, so I know in theory it should work.


-
install ffmpeg on amazon ecr linux python
27 mai 2024, par Luka SavicI'm trying to install ffmpeg on docker for amazon lambda function.
Code for Dockerfile is :


FROM public.ecr.aws/lambda/python:3.8

# Copy function code
COPY app.py ${LAMBDA_TASK_ROOT}

# Install the function's dependencies using file requirements.txt
# from your project folder.

COPY requirements.txt .
RUN yum install gcc -y
RUN pip3 install -r requirements.txt --target "${LAMBDA_TASK_ROOT}"
RUN yum install -y ffmpeg

# Set the CMD to your handler (could also be done as a parameter override outside of the Dockerfile)
CMD [ "app.handler" ]



I am getting an error :


> [6/6] RUN yum install -y ffmpeg:
#9 0.538 Loaded plugins: ovl
#9 1.814 No package ffmpeg available.
#9 1.843 Error: Nothing to do



-
Upload a LIVE HLS output from FFMPEG to Amazon S3 bucket
22 janvier 2023, par Pit DiggerI have an ffmpeg command that outputs live hls stream from a vod file to local disk. I would like to upload the HLS chunks and manifest file in real time to Amazon S3 Bucket. Is it possible to upload it directly from memory ?


Here is the ffmpeg command


ffmpeg -stream_loop -1 -re -i bunny_1080p_30fps.mp4 -c:v libx264 \
-x264opts keyint=30:min-keyint=30:scenecut=-1 -tune zerolatency -s 1280x720 \
-b:v 1400k -bufsize 1400k -hls_start_number_source epoch -f hls stream.m3u8



Note that I have checked all questions here but none of them do that for a live stream and for multiple files output like hls or dash stream.


One option that I have tried is using node-watch module and upload file on change notification, but that does introduce some buffering. But if there was any better option. https://github.com/yuanchuan/node-watch