
Recherche avancée
Autres articles (31)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (5604)
-
MoviePy ImageSequenceClip doesn't create a video with transparent background even though the images have transparent background
20 août 2020, par EmilioExpected Behavior


I am creating a video using moviepy ImageSequenceClip. The input are the images found on this link : https://drive.google.com/drive/folders/1hQ3pfGPMvDAijS4IUcbu5hVy_HmrfCOh?usp=sharing.


All the images are png and have some pixels with the alpha channel set to 0 (the background is transparent).


The created video should keep those background pixels with alpha channel set to 0 (the video background should be transparent).


Actual Behavior


The created video is not transparent. The background pixels show their RGB values.


Steps to Reproduce the Problem


"images" folder should contain this images : https://drive.google.com/drive/folders/1hQ3pfGPMvDAijS4IUcbu5hVy_HmrfCOh?usp=sharing.


import moviepy.editor as mpy

clip = mpy.ImageSequenceClip("images", fps=24, with_mask=True)
clip.set_opacity(0)
clip.write_videofile("video_test.mp4")



Specifications


Python Version : 3.7
Moviepy Version : 1.0.3
Platform Name : MacOS Catalina
Platform Version : 10.15.6
I also tried it with Docker using this image and the issue was still there : tiangolo/uvicorn-gunicorn-fastapi:python3.7


-
Can you call out to FFMPEG in a Firebase Cloud Function
15 mai 2017, par Dave ParksPer the Firebase Cloud Functions documentation, you can leverage ImageMagick from within a cloud function : https://firebase.google.com/docs/functions/use-cases
Is it possible do something similar but call out to FFMPEG instead of ImageMagick ? While thumbnailing images is great, I’d also like the capability to append incoming images to a video file stored out on Firebase Storage.
-
Java, FfMPEG : Gson not found even though it's there.
19 avril 2018, par We are BorgI am working on a Spring-MVC application in which we are using FFProbe to get media information. Unfortunately, it’s not working on our live instance. We have ffmpeg & ffprobe installed on same path. The error we get is GSON is not foudn, although we have it.
Error log :
Caused by:
java.lang.NoSuchMethodError: com.google.gson.Gson.<init>(Lcom/google/gson/internal/Excluder;Lcom/google/gson/FieldNamingStrategy;Ljava/util/Map;ZZZZZZLcom/goo
gle/gson/LongSerializationPolicy;Ljava/util/List;)V
at com.google.gson.GsonBuilder.create(GsonBuilder.java:545)
at net.bramp.ffmpeg.FFmpegUtils.setupGson(FFmpegUtils.java:124)
at net.bramp.ffmpeg.FFmpegUtils.<clinit>(FFmpegUtils.java:23)
at net.bramp.ffmpeg.FFprobe.<clinit>(FFprobe.java:29)
</clinit></clinit></init>POM.xml :
<repositories>
<repository>
<id>apache.snapshots</id>
<name>Apache Development Snapshot Repository</name>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<parent>
<groupid>io.spring.platform</groupid>
<artifactid>platform-bom</artifactid>
<version>2.0.8.RELEASE</version>
<relativepath></relativepath>
</parent>
<dependencies>
<dependency>
<groupid>net.bramp.ffmpeg</groupid>
<artifactid>ffmpeg</artifactid>
<version>0.6.2</version>
</dependency>
<dependency>
<groupid>com.google.code.gson</groupid>
<artifactid>gson</artifactid>
</dependency>
</dependencies>Usage :
Error thrown on first line.
FFprobe ffprobe = new FFprobe("/usr/bin/ffprobe");
FFmpegProbeResult probeResult = ffprobe.probe(filePath);I can confirm that ffprobe file is available on
/usr/bin
. What am I doing wrong here ? Thank you.