
Recherche avancée
Autres articles (48)
-
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
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 (...) -
Configuration spécifique d’Apache
4 février 2011, parModules spécifiques
Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
Création d’un (...)
Sur d’autres sites (5817)
-
FFMPEG - ogg av_write_frame/av_interleaved_write_frame delay with gop_size
6 juin 2016, par Rameez UsmaniI am working on a screen casting application. I am using libavcodec to encode captured images into ogg video frames. I am opening AVIOContext using in memory buffer and a write callback [write_buf].
AVIOContext *octx=avio_alloc_context(tbuff,bsize,1,dc,NULL,write_buf,NULL);
and I set this to my AVFormatContext->pb=octx ;
My codec is AV_CODEC_ID_THEORA. After encoding image to theora using avcodec_encode_video2 I pass output AVPacket to av_write_frame or av_interleaved_write_frame.
My problem is that when I set gop_size to 0 , my callback is called immediately after av_write_frame but if I set gop_size to any number X then after first frame my callback is called after every X frames. I debugged and avcodec_encode_video2 is returning 0 on every call which means no error.
How can I make my callback called after every call of av_write_frame with gop_size set to any number. This is seriously giving my live stream a big lag. Please help
-
How to use ffmpeg commnad in android with input and output file path ?
27 mai 2016, par GajuI want use ffmpeg command in android app.i am using this library to start with ffmpeg.
http://writingminds.github.io/ffmpeg-android-java/
i have developed a demo app and also run the command
ffmpeg -version
this command also giving exact ouput. but when i am giving any file path with name my command always fail for this i am using :
String cmd[] = new String[]{"ffmpeg", "-i", "/storage/emulated/0/Videos/dheere.mp4", "-c:v", "libx264", "/storage/emulated/0/Videos/dheere2.3gp"};
execute(cmd);
private void execute(String cmd[]) {
try {
// to execute "ffmpeg -version" command you just need to pass "-version"
FFMpegApp.getFfmpeg().execute(cmd, new ExecuteBinaryResponseHandler() {
@Override
public void onStart() {
Log.e("gc", "Command Started");
}
@Override
public void onProgress(String message) {
Log.e("gc", "onProgress" + message);
}
@Override
public void onFailure(String message) {
Log.e("gc", "onFailure command" + message);
}
@Override
public void onSuccess(String message) {
Log.e("gc", "onSuccess command" + message);
}
@Override
public void onFinish() {
Log.e("gc", "onFinish command");
}
});
} catch (FFmpegCommandAlreadyRunningException e) {
// Handle if FFmpeg is already running
e.printStackTrace();
} catch (Exception e) {
e.printStackTrace();
}
}please give me any suggetion how to use command in android ?
thanks in advance. -
how to use ffmpeg commands in php
11 mai 2016, par Angry KhanI have to execute some ffmpeg command using PHP, by giving some input parameters and a output file parameter. How would I be doing it. I dont know much about php.
Help will be appreciated.ffmpeg32 -i in.mp3 -metadata title="The Title You Want" -metadata artist="Artist Name" -metadata album="Name of the Album" out.mp3
I tried this so far but it didn’t worked.
<?php
$output = shell_exec("ffmpeg32 -i $mp3 -metadata title="$row_sr['dbtitle'];" -metadata artist="$row_sr['dbartist'];" -metadata album="$row_sr['dbalbumb'];" $mp3");
echo "<pre>$output</pre>";
?>