
Recherche avancée
Médias (1)
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (84)
-
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 (...) -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)
Sur d’autres sites (8872)
-
How to dump the H264/RTP stream to a file without losing time info ?
3 février 2014, par Fernando SilveiraI coded an application to receive RTP packets via TCP (no packets are lost) from a hardware camera and dump its H264 packets to a file so I could play the video using MPlayer or VLC. This is already working and I pretty much did the steps described here. The commands to play the video are
mplayer -fps 24 -demuxer h264es foobar.h264
andvlc foobar.h264
.The issue is now when I play the video. The camera changes the FPS frequently and because I drop the RTP info when writing the H264 file, the timestamp of each frame is lost. My question is : what do I have to do to fix the frame frequency ? Should I create empty/blank P-frames (if that is possible) ? If so, how would I do it ?
Any solution using Linux compatible tools or libraries (like ffmpeg, libx264, libavcodec) using shell, C/C++ or Python is very much welcome.
PS : I have almost no experience with video encoding and RTP.
-
How to dump the H264/RTP stream to a file without losing time info ?
3 février 2014, par Fernando SilveiraI coded an application to receive RTP packets via TCP (no packets are lost) from a hardware camera and dump its H264 packets to a file so I could play the video using MPlayer or VLC. This is already working and I pretty much did the steps described here. The commands to play the video are
mplayer -fps 24 -demuxer h264es foobar.h264
andvlc foobar.h264
.The issue is now when I play the video. The camera changes the FPS frequently and because I drop the RTP info when writing the H264 file, the timestamp of each frame is lost. My question is : what do I have to do to fix the frame frequency ? Should I create empty/blank P-frames (if that is possible) ? If so, how would I do it ?
Any solution using Linux compatible tools or libraries (like ffmpeg, libx264, libavcodec) using shell, C/C++ or Python is very much welcome.
PS : I have almost no experience with video encoding and RTP.
-
FFMpeg : CUDA_ERROR_NOT_SUPPORTED on ubuntu20.04
22 décembre 2020, par SuperminarenI've been trying to get CUDA working on Ubuntu 20.04 for a while now.


ffmpeg -vsync 0 -hwaccel cuvid -c:v h264_cuvid -i input.mp4 -c:a copy -c:v h264_nvenc -b:v 5M output.mp4



Running the sample command linked above, I get the following error :




[AVHWDeviceContext @ 0x5618466f7f80] cu->cuCtxCreate(&hwctx->cuda_ctx, desired_flags, hwctx->internal->cuda_device) failed -> CUDA_ERROR_NOT_SUPPORTED : operation not supported
Device creation failed : -1313558101.
[h264_cuvid @ 0x561846731940] No device available for decoder : device type cuda needed for codec h264_cuvid.




I am not sure what causes this.


All relevant environment parameters look like this.


CUDADIR=/usr/local/cuda-11.2/ LD_LIBRARY_PATH=/usr/local/cuda-11.2/lib64 CUDA_HOME=/usr/local/cuda-11.2/ PATH=/usr/local/cuda-11.2/bin:/opt/ffmpeg/bin/


Running 'nvidia-smi' gives this response :


This looks rather normal afaik too.


If someone with more experience could help me that'd be greatly appreciated.