
Recherche avancée
Autres articles (104)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ;
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
Sur d’autres sites (15858)
-
How I Can Run Some Part of the Code on another EC2 instance
4 mai 2021, par Not A Bot — ffmpegI have a NodeJS application running on an EC2 instance, which has some feature where users can record multiple videos.


When the user logs out I am using ffmpeg(version 4.2.4) to combine all those videos into single a video.


I am recording the video in
WEBM
format, and the final single video should be inMP4
format.

Suppose the user has recorded 3 videos of 10 minutes each, then in last when the user logs out, all these 3 videos should be combined into the single video on length of 30 minutes.


Now everything is working fine, but the CPU usage is high when all the conversation and concatenation are going around.


CPU usage is sometimes as high as
60-70%


The process I am following is


- 

-
Convert the
webm
file to themp4
file.

ffmpeg -i input_file.webm -c:v copy -c:a copy output_file.mp4



-
Convert MP4 to ts(Transport Stream) file.


ffmpeg -i output_file.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts OUTPUT_MP4.ts



I am following this process to concatenate all the mp4 files into one.


-
Concatenate files


ffmpeg -i "concat:OUTPUT_MP4_1.ts|OUTPUT_MP4_2.ts|OUTPUT_MP4_3.ts" -c copy -bsf:a aac_adtstoasc FINAL_MP4_SINGLE_FILE.mp4











All this process is time-consuming(but not a priority), however, this process is taking CPU usage a lot.


The server can crash or become slow if there are many users on my application and may video conversion is going on.


Now, my question is how I can run this conversion process on the dedicated
EC2 instance
where only conversions can happen and not any other work, from the same code that is running on the first EC2 instance.

-
-
can't load loadLibrary,Fatal signal 6 (SIGABRT), code -6
8 septembre 2015, par Android EmpireWhen I use
System.loadLibrary("ffmpeg-neon")
,there is a warninglibffmpeg-neon.so has text relocations. This is wasting memory and prevents security hardening. Please fix
and an erro
libc Fatal signal 6 (SIGABRT), code -6 in tid 10203
The source from https://github.com/appunite/AndroidFFmpeg.I build it on Unubtu-14.04.3-64bit,NDK-r10e
-
Revision 16204 : lorsqu’une table est finie et vide, comme -0==0 on met ’vide’. Il faut ...
18 septembre 2010, par cedric@… — Loglorsqu’une table est finie et vide, comme -0==0 on met ’vide’. Il faut ajouter du coup quelques is_numeric() pour ce cas particulier. Permet d’avoir un nombre fiable avec un intval()