
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (97)
-
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 (...) -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (7077)
-
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


-
MoviePY error when running in Docker Container using Amazon Elastic Container Service
27 mai 2023, par GibaI'm developing a script that generates a video with the information provided by the user using Moviepy. The application runs in a docker container.


In my test environment (locally) the application usually runs generating the videos as expected. However, when I deploy to the Amazon Elastic Container Instance environment, the application renders the following error :


/tmp/334.mp31boi_q7b: Invalid data found when processing input
Here are the file infos returned by ffmpeg: 
ffmpeg version 4.2.2-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 8 (Debian 8.3.0-6)

libpostproc 55. 5.100 / 55. 5.100
libswresample 3. 5.100 / 3. 5.100
libswscale 5. 5.100 / 5. 5.100
libavfilter 7. 57.100 / 7. 57.100
libavdevice 58. 8.100 / 58. 8.100
libavformat 58. 29.100 / 58. 29.100
libavcodec 58. 54.100 / 58. 54.100
libavutil 56. 31.100 / 56. 31.100

configuration: 
--enable-gpl 
--enable-version3 
--enable-static 
--disable-debug 
--disable-ffplay 
--disable-indev=sndio 
--disable-outdev=sndio 
--cc=gcc 
--enable-fontconfig 
--enable-frei0r 
--enable-gnutls 
--enable-gmp 
--enable-libgme 
--enable-gray 
--enable-libaom 
--enable-libfribidi 
--enable-libass 
--enable-libvmaf 
--enable-libfreetype 
--enable-libmp3lame 
--enable-libopencore-amrnb 
--enable-libopencore-amrwb 
--enable-libopenjpeg 
--enable-librubberband 
--enable-libsoxr 
--enable-libspeex 
--enable-libsrt 
--enable-libvorbis 
--enable-libopus 
--enable-libtheora 
--enable-libvidstab 
--enable-libvo-amrwbenc 
--enable-libvpx 
--enable-libwebp 
--enable-libx264 
--enable-libx265 
--enable-libxml2 
--enable-libdav1d 
--enable-libxvid 
--enable-libzvbi 
--enable-libzimg

OSError: MoviePy error: failed to read the duration of file /tmp/334.mp31boi_q7b.



To retrieve files sent by the user, I use tempfile.NamedTemporaryFile and manipulate them in memory. I make some slices in the audio to synchronize with images (as if they were slides) and to concatenate them I use the following :


audio_concat = concatenate_audioclips(audio_clips)



and at the end, I generate the video as follows :


with tempfile.NamedTemporaryFile(prefix=video_path, suffix='', delete=False) as data:
 video.write_videofile(data.name, fps=24, codec="libx264", ffmpeg_params=['-f', 'mp4'], threads=multiprocessing.cpu_count())



As said, everything works fine in the container locally, but the same does not happen in ECS.


Does anyone have any idea what I might be doing wrong ?


My Dockerfile


FROM ubuntu:latest
ENV DEBIAN_FRONTEND noninteractive

WORKDIR /video_composer

COPY requirements.txt /video_composer/requirements.txt

RUN apt-get update && apt-get install -y software-properties-common gcc && \
 add-apt-repository -y ppa:deadsnakes/ppa

RUN apt-get update && apt-get install -y python3.11 python3-distutils python3-pip python3-apt
RUN apt-get -y update
RUN apt-get install -y ffmpeg

RUN pip install -r /video_composer/requirements.txt

RUN python3 -m certifi

COPY . /video_composer/

EXPOSE 8003

CMD ["uvicorn", "video_composer:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "8003"]



Some solutions consulted and no success


Moviepy unable to read duration of file


https://github.com/Zulko/moviepy/issues/116


When trying to execute the mentioned solutions I continued to have the same error in the ECS but without errors locally.


-
How to run FFMPEG with —enable-libfontconfig on Amazon Lambda
20 avril 2024, par Adrien KaczmarekProblem


I want to run
FFmpeg
on AWS Lambda (Amazon Linux 2) with the configuration--enable-libfontconfig
enable.

Situation


I already have
FFmpeg
running on AWS Lambda without the configuration--enable-libfontconfig
.

Here is the step I took to run
FFmpeg
on AWS Lambda (see official guide) :

- 

- Connect to Amazon EC2 running on AL2 (environment used by Lambda for Python 3.11)
- Download and package
FFmpeg
from John Van Sickle - Create a Lambda Layer with
FFmpeg








Unfortunately, the version built by John Van Sickle doesn't have the configuration
--enable-libfontconfig
enabled.

Unsuccessful Trials


I tried to rebuilt it from scratch following the installation guide but without success (and the guide doesn't install font related dependencies)


I tried to install it with
brew
but the commandbrew install ffmpeg
didn't succeed on AL2.

I tried to install
ffmpeg
fromffmpeg-master-latest-linux64-gpl.tar.xz
. Unfortunately, this build offfmpeg
doesn't run on AL2 :

ffmpeg: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by ffmpeg)
ffmpeg: /lib64/libpthread.so.0: version `GLIBC_2.28' not found (required by ffmpeg)
ffmpeg: /lib64/libc.so.6: version `GLIBC_2.27' not found (required by ffmpeg)
ffmpeg: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by ffmpeg)



Any help would be greatly appreciated,


Please make sure your answer is up to date and tested. Too many answers out there are auto-generated, too generic, or simple redirect without context.


Thank you