
Recherche avancée
Autres articles (71)
-
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 (...) -
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (7713)
-
ffmpeg getting Invalid UE golomb code when saving udp multicast to file
30 août 2019, par StuartI am using ffmpeg to capture a UDP multicast stream and save it to a file but I’m having an issue with an "Invalid UE golomb code"
Command :
ffmpeg -i "udp://238.0.0.1:1234" -c copy -f segment -segment_time 900 -segment_atclocktime 1 -reset_timestamps 1 -strftime 1 $datestamp.mp4 -report
This works fine for around 3-5 minutes and then freezes without an errors or indication why, the only thing I think it could be is the following error is spammed in the log file ;
Invalid UE golomb code-1.0 size=N/A time=00:00:09.97 bitrate=N/A
The only other thing I can see is the following in the log file ;
unknown SEI type 229
If someone could point help me out here that would be great.
Thanks.
-
segment time in ffmpeg c code
10 mai 2018, par TraXxXI’m using remuxing.c
I’m trying to add segment option to code like this :
AVDictionary* headerOptions = NULL;
av_dict_set(&headerOptions, "segment_time", "10", 0);
avformat_write_header(&ofmt_ctx, &headerOptions);it’s not working
-
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.

-