
Recherche avancée
Autres articles (80)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (13813)
-
FFMPEG set -ss and -to with string
12 mai 2017, par NewUserI know I can set the start with -ss and end with -to but can someone please help me to format the following so that I can enter the
-ss
and-to
with a string ?I want
-ss
to come fromString start = editStart.getText().toString();
and
-to
to come fromString end = editEnd.getText().toString();
Here is my ffmpeg string I want to edit, I have entered
-ss
and-to
to show where I want the above strings to be.String s = "-i" + " " + mVideoUri.toString().replace("file:///", "") + " -i " + newBackgroundBitmap.getPath() + " -filter_complex [1:v][0:v]scale2ref=iw:ih[ovr][base];[ovr]colorchannelmixer=aa=0.7[ovrl];[base][ovrl]overlay[v] -ss -to -map [v] -c:v libx264 -preset ultrafast " + directoryToStore + "/" + FileName + mp4;
String[] arguments = s.split(" ");
ExecuteFFMPEG(arguments);EDIT
Here is the full ffmpeg
//Button onclick
public void onButtonClicked(View view) {
switch (view.getId()) {
//WHEN THE EXPORT BUTTON IS CLICKED
case Export:
String s = "-i" + " " + mVideoUri.toString() + " -i " + newBackgroundBitmap.getPath() + " -filter_complex [1:v][0:v]scale2ref=iw:ih[ovr][base];[ovr]colorchannelmixer=aa=0.7[ovrl];[base][ovrl]overlay[v] -map [v] -c:v libx264 -preset ultrafast " + directoryToStore + "/" + lastSaved + mp;
String[] arguments = s.split(" ");
ExecuteFFMPEG(arguments);
}
}
//Added onLoad FFMPEG
public void LoadFFMPEG() {
FFmpeg ffmpeg = FFmpeg.getInstance(getBaseContext());
try {
ffmpeg.loadBinary(new LoadBinaryResponseHandler() {
@Override
public void onStart() {
super.onStart();
}
@Override
public void onFailure() {
super.onFailure();
}
@Override
public void onSuccess() {
super.onSuccess();
}
@Override
public void onFinish() {
super.onFinish();
}
});
} catch (FFmpegNotSupportedException e1) {
e1.printStackTrace();
Log.d("[FFMPEGMain Exception]-", e1.toString());
}
}
//Added Exceute FFMPEG
public void ExecuteFFMPEG(String[] command) {
FFmpeg ffmpeg = FFmpeg.getInstance(getBaseContext());
try {
ffmpeg.execute(command, new ExecuteBinaryResponseHandler() {
@Override
public void onStart() {
super.onStart();
Log.d("[Start]", "start");
}
@Override
public void onProgress(String message) {
Log.d("[Progress]", message);
}
@Override
public void onFailure(String message) {
Log.d("[fail]", message);
}
@Override
public void onSuccess(String message) {
Log.d("[Success]", message);
}
@Override
public void onFinish() {
super.onFinish();
Log.d("[Finish]", "file output done");
}
});
} catch (FFmpegCommandAlreadyRunningException e) {
// Handle if FFmpeg is already running
Log.d("[FFMPEG Exception]-", e.toString());
}
}The above works perfectly as I was hoping. Now I want to set the start and end of the video (depending on the position the user selected). I get the start and end of the video back as a string, like this :
String valueRight = formatter.format(getValueRight);
String valueLeft = formatter.format(getValueLeft);
//this strings will return 00:00:00.000 DEPENDING on the position from the user
//just like when you would normally call -ss 00:00:50.849 -to 00:02:05.100As I mentioned above that I know it should be set as -ss and -to but I am looking for a wat to format my string to enter -ss and -to with a string, somthing like this :
-ss valueLeft -to valueRight
-
Anomalie #4306 : Erreur détection code mal formé
11 avril 2019, par b bSuper, merci pour le retour, ça va permettre de tester le truc sur un site de plus avant de décider de son "éventuelle" intégration dans le core.
-
Anomalie #4468 : CSS colonne gauche du privé
7 avril 2020, par RastaPopoulos ♥Super, peut-être une variante "important" qui justement là prend la couleur principale ? Amélioration mais comme il y a déjà quelques ajouts…