
Recherche avancée
Autres articles (61)
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...) -
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
Sur d’autres sites (6954)
-
FFMpeg command in android tutorial
25 novembre 2013, par AzhagiriI want to write a android app that concats two videos
i tried the following code
InputStream in=null;
OutputStream os=null;
String appFileDirectory = getFilesDir().getPath();
final String executableFilePath = appFileDirectory + "/ffmpeg";
final String input ="concat:/mnt/sdcard/input1.mpg|/mnt/sdcrad/input2.mpg";
File executable=new File(executableFilePath);
try {
in = getAssets().open("ffmpeg");
os = new FileOutputStream(executable);
int read = 0;
byte[] bytes = new byte[1024];
while ((read = in.read(bytes)) != -1) {
os.write(bytes, 0, read);
}
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}finally {
if (in != null) {
try {
in.close();
} catch (IOException e) {
e.printStackTrace();
}
}
if (os != null) {
try {
// outputStream.flush();
os.close();
} catch (IOException e) {
e.printStackTrace();
}
}
}
executable.setExecutable(true);
Button b = (Button)findViewById(R.id.button);
b.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
try {
Process p = Runtime.getRuntime().exec(executableFilePath + "-i \""+ input + "\" -c copy /mnt/sdcrd/output.mpg");
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
});
}this code doesn't give any error or it is not crashing but nothing happens when i click the button. I created the ffmpeg build that is compatible with android. So can anyone help me out how to run the command from android java code.
-
rtmpproto : Move the flv header/trailer addition to append_flv_data
3 octobre 2013, par Martin Storsjörtmpproto : Move the flv header/trailer addition to append_flv_data
update_offset is also called from handle_metadata, where the
packet header sizes is already included in the size.Previously this lead to flv_data/flv_size including 15 uninitialized
bytes at the end after each call to handle_metadata, making the
flv demuxer lose sync with the stream.Also remove leftover copying in handle_metadata. This is a leftover
from the refactoring in 5840473. (Previously this final mempcy was
the one that copied all the packets at once, while this is done
within the loop right now.) After making sure flv_size is set to
the right size, this write was out of bounds.Signed-off-by : Martin Storsjö <martin@martin.st>
-
ffmpeg : combine two or three audios into one by lowering the volume of the other
15 juin 2016, par somya bhargavaWant to combine some audio files eg :
1) one long audio file which will act as a background audio
2) some audio files which will be replaced at specific intervals
like at 10 sec of the first oneSo final output required is
audio-1 60 sec
audio-2 starting from 10 sec to 20 sec with audio-1 at 0.1 volume