
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (66)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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
Sur d’autres sites (10424)
-
ffmpeg concat with filter eats up all memory
12 juin 2023, par Bardan PokhrelI have been trying to produce a indefinite loop of a list of videos in a folder. For testing purpose, I am using only 2 videos as input. I then concat them to produce an output of 1280X720 output.


However, when I do that, I notice that it eats up all my memory of the server which has 16GB of memory and swp memory of 4GB.


Before I start encode process, swp memory is 2.95 GB and memory is about 1 - 1.5GB.


The encoding works for approximately 7 mins 37 seconds everytime I run it. Then the memory and swp memory is all filled and ffmpeg exits with no response.


My ffmpeg command is


`ffmpeg -hide_banner -y -stats -fflags +genpts+discardcorrupt -nostdin -re -i /home/bardan/content/BBB.mp4 -re -i /home/bardan/content/TOS.mp4 -filter_complex "[0:v]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1,fps=25,format=yuv420p[v0];[1:v]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,setsar=1,fps=25,format=yuv420p[v1];[0:a]aformat=sample_rates=44100:channel_layouts=stereo[a0];[1:a]aformat=sample_rates=44100:channel_layouts=stereo[a1];[v0][a0][v1][a1]concat=n=2:v=1:a=1[vconcat][aconcat];[vconcat]split=2[vloop0][vloop1];[aconcat]asplit=2[aloop0][aloop1];[vloop0][aloop0][vloop1][aloop1]concat=n=2:v=1:a=1[vlooped][alooped]" -map "[vlooped]" -map "[alooped]" -c:v libx264 -b:v 2500k -c:a aac -movflags +faststart -f flv -flvflags no_duration_filesize -shortest -max_delay 0.5 -vsync 0 rtmp://{rtmp_url}:1935/livehd/livestreamloop_720p2500kbs`



I have been struggling to find a solution to this for the past few days. Been searching the web for solutions and I even tried getting solution using chatgpt. The above command is the last suggestion made by chatgpt. I could not even find any answer to my problem on stackoverflow.


However, to no avail, I am bound to seek suggestions from my friends on stackoverflow to help me overcome the issue.


BTW, I have been using ffmpeg for simple encoding. But concat and filter together is something I haven't understood fully yet.


Can anyone help ?


-
Ffmpeg compression cron cutting video to 1 second
6 août 2022, par BlackThornI have a cron setup to take locally uploaded videos, create a screengrab, compress the video and upload to online storage. I am using ffmpeg with php and have tried a few different ways but though it does compress the file size I keep getting a saved file of just the first second of the video. I tried delaying the process in case it just didn't have enough time to do the video and that was the cause but it didn't seem to do much. Here are some of the examples of the code I've tried all together (commented out as tried each but you can see the different ways) :


try {
 // compress video if needed
 $bitrate = "5000k";
 // $command = "ffmpeg -i ".($temp_dir."/".$folder."/".$sub_file)." -b:v $bitrate -bufsize $bitrate ".$temp_dir."/".$folder."/edit-".$sub_file;
 // $command = "ffmpeg -i $temp_video -qscale 0 ".$temp_dir."/".$folder."/edit-".$sub_file;
 $command = "ffmpeg -i ".($temp_dir."/".$folder."/".$sub_file)." -vf scale=1280:-1 -c:v libx264 -preset veryslow -crf 24 ".$temp_dir."/".$folder."/edit-".$sub_file;
 //system($command);
 $output=null;
 $retval=null;
 exec($command, $output, $retval);
 $temp_video = $temp_dir."/".$folder."/edit-".$sub_file."";
} catch (Exception $e) {
 // log output
}



Is there a known issue with this or something I'm missing ?


Thanks


-
Announcement of a new Translation platform for Piwik translators : Transifex
21 avril 2015, par Piwik Core TeamTo our dear Translators community,
Thank you for helping us to translate Piwik into one of the many languages Piwik is available in.
In this blog post, we are happy to announce a new and better way for you to contribute translations to Piwik.
From today onwards, all the translations for the Piwik platform, plugins and for the Piwik Mobile app are managed in the public Piwik Transifex project.
As part of a community request, we decided to switch to a more modern translation tool in order to provide everyone with an easier and better way to contribute to translations. Transifex provides us with a powerful and flexible online translation platform.
It’s easy to contribute to Piwik translations : sign up to our Transifex project at https://www.transifex.com/projects/p/piwik/ to get started.
If you have any questions, feel free to come back to us.
Happy translating !