
Recherche avancée
Autres articles (100)
-
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 (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (14942)
-
Get data from native process on Android
22 octobre 2013, par Gonzalo SoleraI´m converting a video with my app, and I got it using the FFmpeg library. I´m using a static compiled version of FFmpeg and I run my command like this :
//Conversion video
try {
Process p = Runtime.getRuntime().exec("data/data/package/cache/ffmpeg -i " path " -g " String.valueOf(keyFrames) " -s 720x480 -vcodec libx264 -an -y /sdcard/lowResolution.mp4");
p.waitFor();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Log.d(TAG, "Video convertido");It works well but it takes me too much time, so I would like to put a progress bar, so I should need to read output events of the process (the same output I can see when I execute the command in terminal) in order to know how long will it take or something like that.
Sorry for my english and thanks for help !!
-
Editing and restreaming rtmp stream in python
31 mai 2020, par REgorionThere is an nginx rtmp lan server that is being streamed from OBS. There is a Python script that determines whether there is nsfw content on the screen based on a screenshot. The result is calculated in real time and sent over tcp. The task of another script is to Get the result over tcp - it can do this. Receive a stream from an rtmp lan server and overlay the video stream a second before nsfw content appears. In theory, I need to receive the stream and send it with a delay of a second, and if the signal comes over tcp, then overlay the video.



I don't understand how I can implement this buffer, write stream to it, process it, and publish it. The overlay can be applied via opencv, but the issue of implementing the buffer and posting it remains open. I looked in the direction of ffmpeg, but I don't understand how to organize streaming.



What libraries can help me solve this problem ? Is there any related literature ?



Sorry for my english


-
getting ffmpeg progress and pid number in sperated files [closed]
12 décembre 2020, par kadirgecitHello sorry for my bad english.
I need to output file from ffmpeg and ffmpeg's pid number in seperated files. "output.txt" and "pid.txt".


I tried this command, but I guess it's wrong.


ffmpeg -i "input.mkv" {codecsandotherstuf} out.mp4 -y 1> output.txt 2>/dev/null & echo $! >pid.txt



this command gives me nothing.. How can i get theese sperated files ?


Edit : I need an output like this : https://pastebin.pl/view/6bb017a1


What i tried ? :


out.mp4 -y 1>/dev/null 2> output.txt & echo $! > pid.txt
out.mp4 -y 1> output.txt & echo $! > pid.txt
out.mp4 >& output.txt & echo $! >pid.txt



This codes alway giving me an empty output.txt