
Recherche avancée
Autres articles (86)
-
Submit enhancements and plugins
13 avril 2011If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone. -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
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 (13117)
-
ffmpeg-python outputs black screen when trying to save as mp4
3 mars 2023, par SayaThis is my code. I am trying to make a video out of all pictures in the
pics2
directory using ffmpeg.

import subprocess

command = 'ffmpeg -framerate 1 -i "pics2/Image%02d.png" -r 1 -vcodec libx264 -s 1280x720 -pix_fmt yuv420p Output.mp4'
p = subprocess.call(command, shell=True)



This saves an Output.mp4 successfully but the video has no frames (It is completely black)


How do I solve this ?


-
arm : Use .data.rel.ro for const data with relocations
16 novembre 2014, par Martin Storsjö -
What is wrong part in my Android code with ffmpeg ?
6 janvier 2016, par Marko androshenkoI want to get mixed video.(Image + Video)
Total duration of original video is 180 sec. I want to put image to the front of video. So, I made some code in android studio.
But I can not look any toast.
What is wrong ? How to check the end of process ?...
path = "libray folder" ;
...private class ProcessVideo extends AsyncTask {
@Override
protected Void doInBackground(Void... params) {
Process ffmpegProcess = null;
try {
// initialize command for process video
// library is video process library.
String[] command ={path,"-i", input, "-r", "1", "-q:v", "2", "-f", "image", input};
ffmpegProcess = new ProcessBuilder(ffmpegCommand).redirectErrorStream(true).start();
OutputStream ffmpegOutStream = ffmpegProcess.getOutputStream();
BufferedReader reader = new BufferedReader(new InputStreamReader(ffmpegProcess.getInputStream()));
String line;
Log.v(THISTAG,"***Starting FFMPEG***");
while ((line = reader.readLine()) != null)
{
// in progress
Log.v(THISTAG,"***"+line+"***");
}
// finish all process
Log.v(THISTAG,"***Ending FFMPEG***");
videoProcessFinishFlag = true;
} catch (IOException e) {
e.printStackTrace();
}
if (ffmpegProcess != null) {
ffmpegProcess.destroy();
}
return null;
}
protected void onPostExecute(Void... result) {
// show result
Toast toast = Toast.makeText(VideoEditorActivity.this, "Done Processing Video", Toast.LENGTH_LONG);
toast.show();
}
}