
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (52)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
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 -
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 (15231)
-
Applying the same filter many times before output [duplicate]
19 août 2019, par FabiánThis question already has an answer here :
In my video there’s an object that has shades of yellow (more orange-like) and has a solid yellow as background.
I need to output all frames into a png sequence, using a color key filter to replace the yellow from the background :ffmpeg -ss 4 -i original.mp4 -t 2 -filter_complex "[0:v]colorkey=0xfff31b:0.125:0[ckout]" -map "[ckout]" colorkey-%d.png
This removes all the yellow background. However, it leaves some pints of yellow behind, and some items are yellow-themed, so blending isn’t an option for this scenario.
In the end I need to get rid of 4 specific yellow-colors from the frames :
0xfff31b
,0xfae56b
,0xfaec46
and0xeee2a0
. My idea is to run the same filter for every color.So first I tried this :
ffmpeg -ss 4 -i original.mp4 -t 2 -filter_complex "[0:v]colorkey=0xfff31b:0.4:0[ckout1];[0:v]colorkey=0xfae56b:0.4:0[ckout2];[0:v]colorkey=0xfaec46:0.4:0[ckout3];[0:v]colorkey=0xeee2a0:0.4:0[ckout4]" -map "[ckout4]" colorkeyrefined-%d.png
Then this :
ffmpeg -ss 4 -i original.mp4 -t 2 -filter_complex "[0:v]colorkey=0xfff31b:0.4:0[ckout]" -filter_complex "[0:v]colorkey=0xfae56b:0.4:0[ckout]" -filter_complex "[0:v]colorkey=0xfaec46:0.4:0[ckout]" -filter_complex "[0:v]colorkey=0xeee2a0:0.4:0[ckout]" -map "[ckout]" colorkeyrefined-%d.png
But both display the same error :
Filter colorkey has an unconnected output.
Is there a way to apply the colorkey 4 times (with the mentioned values) in one go ?
-
Repeat/loop the video till audio file using ffmpeg
18 mars 2014, par M. Usman AfzalI am using this command to generate the video from silent video and audio but the problem is video is 3 sec and audio is 20 sec and final video generating is 20 sec but video is for 3 sec and the last frame of that video is repeat till end.
ffmpeg -i v.mp4 -i a.m4a -c:v copy -c:a aac -strict experimental -map 0:v:0 -map 1:a:0 output.mp4
I just want to repeat the whole video
-
Android FFMPEG : images to mp4 video converting
19 juillet 2017, par Giorgi AsaturyanI have tried many possible command line options with ffmpeg, however not getting this to work. Heres is my command file generator method :
private String[] generateCommandFile() {
ArrayList<string> cmd = new ArrayList<>();
cmd.add("-y");
cmd.add("-f");
cmd.add("concat");
cmd.add("-safe");
cmd.add("0");
cmd.add("-i");
String picturesTextFile = generateMergingFilesTexts();
if (picturesTextFile == null) {
return null;
}
cmd.add(picturesTextFile);
cmd.add("-i");
String audioTextFile;
if (numberOfAudioFiles > 1) {
audioTextFile = generateAudioFilesTexts();
} else {
audioTextFile = getAudioFilePath(audioRecordingFileName + Integer.toString(1));
}
cmd.add(audioTextFile);
cmd.add("-vsync");
cmd.add("vfr");
cmd.add("-pix_fmt");
cmd.add("yuv420p");
String currentDateTimeString = new SimpleDateFormat("dd MMMM yyyy", Locale.US).format(Calendar.getInstance().getTime());
File dirOut = new File(this.getExternalFilesDir(null), "D:T:" + currentDateTimeString);
if (!dirOut.exists()) {
dirOut.mkdirs();
}
directoryPath = dirOut.getAbsolutePath();
File fileOut = new File(dirOut, "T__" + Long.toString(totalTime) + "__P__" + Integer.toString(picturesModelInfo.getNumberOfShots()) + ".mp4");
cmd.add(fileOut.getAbsolutePath());
Log.d(TAG, "Saving File At " + fileOut.getAbsolutePath());
String[] finalCommand = new String[cmd.size()];
for (int i = 0; i < cmd.size(); i++) {
finalCommand[i] = cmd.get(i);
}
String finalString = "";
for (String command : finalCommand) {
finalString += command;
}
Log.d(TAG, "Final Command Is " + finalString);
return finalCommand;
}
</string>and here is my Final Command
-y-fconcat-safe0-i/storage/emulated/0/Android/data/com.essentialsln.memtalk/files/pictures_merging.txt-i/storage/emulated/0/Android/data/com.essentialsln.memtalk/files/AudioRecording1.3gp-vsyncvfr-pix_fmtyuv420p/storage/emulated/0/Android/data/com.essentialsln.memtalk/files/D:T:19 July 2017/T__2__P__3.mp4
The main problem is that video not playing in android default player - displays ("Cannot Play video, unsupported file type"), but it works with VLC program. ))
Anu Suggestions ?
Thanks