
Recherche avancée
Autres articles (104)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (13028)
-
How seeking ffplay or pipe from ffmpeg to ffplay
5 décembre 2017, par liviomy goal is to check the file 10 minutes after the start. This is my script.
ffplay.exe -f lavfi "amovie=input.mov,showvolume=b=4:w=640:h=96"
If I add seeking, something like -ss 600, the file always starts from the beginning,
anyone know workaround ? thanks.
-
How is `ffplay` detecting that the sound file from pipe-connected ffmpeg has finished ?
20 novembre 2017, par Izumi KawashimaThe following code playes "sample.mp3", and terminates. This is so surprising because the data passed via pipe are binary streams, so ffplay should have no idea about the duration of "sample.mp3", but it terminates right after it reaches the end.
$ cat sample.mp3 | ffmpeg -i pipe:0 -f mp3 pipe:1 | ffplay -autoexit -
What binary signal is ffplay watching to detect the terminal of sample.mp3 ?
-
Android - How to direct the audio data from MediaRecorder as the input of ffmpeg command via Pipe ?
3 juin 2013, par Abner311I tried to publish audio stream to RTMP server via FFmpeg executable binary.
I have referred to Android AudioRecord to FFMPEG encode native AAC to create a pipe at Android side and assign the reader part of pipe to ffmpeg command.@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(com.example.processtest.R.layout.activity_main);
mediaRecorder = new MediaRecorder();
mediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
mediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
mediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC);
mediaRecorder.setAudioSamplingRate(44100);
mediaRecorder.setAudioEncodingBitRate(64);
final ParcelFileDescriptor[] pipe = getPipe();
mediaRecorder.setOutputFile(pipe[1].getFileDescriptor());
try {
mediaRecorder.prepare();
} catch (IllegalStateException e1) {
e1.printStackTrace();
} catch (IOException e1) {
e1.printStackTrace();
}
mediaRecorder.start();
TextView txt = (TextView)this.findViewById(com.example.processtest.R.id.output);
try {
p = Runtime.getRuntime().exec("/data/data/com.example.processtest/bin/ffmpeg -re -i pipe:"+ pipe[0].getFd() +" -c copy -f flv rtmp://192.168.2.224:1935/myapp/mystream");
} catch (IOException e) {
e.printStackTrace();
}
}
ParcelFileDescriptor[] getPipe()
{
final String FUNCTION = "getPipeFD";
//FileDescriptor outputPipe = null;
ParcelFileDescriptor[] pipe = null;
try
{
pipe = ParcelFileDescriptor.createPipe();
}
catch(Exception e)
{
Log.e("ProcessTest", FUNCTION + " : " + e.getMessage());
}
return pipe;
}However, I got the error msg like "pipe:55 : Bad file number" :
$/data/data/com.example.processtest/bin/ffmpeg -re -i pipe:55 -c copy -f flv rtmp://192.168.2.224:1935/myapp/mystream
E/ProcessTest(19150): libavutil 51. 65.100 / 51. 65.100<br />
E/ProcessTest(19150): libavcodec 54. 41.100 / 54. 41.100<br />
E/ProcessTest(19150): libavformat 54. 17.100 / 54. 17.100<br />
E/ProcessTest(19150): libavdevice 54. 1.100 / 54. 1.100<br />
E/ProcessTest(19150): libavfilter 3. 2.100 / 3. 2.100<br />
E/ProcessTest(19150): libswscale 2. 1.100 / 2. 1.100<br />
E/ProcessTest(19150): libswresample 0. 15.100 / 0. 15.100<br />
E/ProcessTest(19150): pipe:55: Bad file number<br />Please help me figure out how to assign right pipe fd to ffmpeg command-line process.