
Recherche avancée
Médias (1)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
Autres articles (82)
-
Activation de l’inscription des visiteurs
12 avril 2011, parIl est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)
Sur d’autres sites (10040)
-
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