
Recherche avancée
Autres articles (70)
-
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 (...) -
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 (...) -
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 (10658)
-
Podcast Producer 2 tip - running xgrid jobs as logged in user
19 octobre 2009So I’ve been playing with an interesting "feature" in PCP2 - the "chapterize" command generates different results when it can talk to the window server versus when it can’t. In my case, it generates much better results in the case of the former.
"But," you say, "my PCP2 xgrid jobs can’t talk to the window server !"
Very true. However, you can change the user that PCP2 uses to submit Xgrid jobs, and Xgrid will run the job with that user’s permissions if everyone is single signon’d to the same kerberos domain.
So, now we’ve got PCP2 jobs running as a real user. Next, log into the GUI as that user.
Now, when PCP2 workflows run, they’ll be able to talk to the window server, and at least in the case of "chapterize," use what appears to be the "Good" code path. Faster, more accurate, more delightful.
-
Sync video only streaming using pts
26 février 2014, par user2846108I am using ffmpeg for streaming video alone (no audio) and SDL 2.0 for display. So far, I have decoded the packets as soon as they arrive and present it to the renderer. But I would like to display the video frames by syncing with PTS value so that the receiver does not go out of sync with the sender (Since I am streaming real time video over RTSP). I have read dranger tutorial but I cannot understand it. My pseudo code looks like this :
//Create SDL window
SDL_Window * window = SDL_CreateWindow("SDL",
SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, w, h, 0);
//Create renderer for the window
SDL_Renderer * renderer = SDL_CreateRenderer(window, -1, 0);
//Allocate frame
frame = avcodec_alloc_frame();
//Read frame
while (av_read_frame(format_context, &avpacket) >= 0) {
if (avpacket.stream_index == videostream) {
//Decode the frame
avcodec_decode_video2(codec_context, frame, &frame_finished,
&avpacket);
if (frame_finished) {
//update the YUV texture with the decoded frame (SDL_UpdateYUVTexture)
//Copy the texture to the renderer (SDL_RendererCopy)
//Present the rederer (SDL_RenderPresent)
}
//Handle SDL event
SDL_PollEvent(&event)
}Can one help me how and where I can use PTS in the above code (a pseudo code is much better) and implement the synchronization between sender and receiver (such that if more packets are accumulated in the buffer, I should drop some packets so that latency between sender and receiver does not grow up as the time goes) ?
Thanks in advance.
-
Recalculate cropdetect parameters from initial values
26 août 2020, par steviem1986I have a video that is 1920x1080, and cropdetect works great for this static size. My problem is that I am developing for the web, and I want to be able to re-calculate the best crop parameters when the window/video is resized.


Cropping the video, and running cropdetect each time the window is resized seems like overkill. Is there a way to do it from the initial cropdetect values and the resized video width+height ?