
Recherche avancée
Autres articles (82)
-
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 (...) -
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 ; (...) -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)
Sur d’autres sites (5319)
-
FFmpeg causing AttributeError : __enter__ on Win10
11 juillet 2020, par MarciI have a python code which runs perfectly on win7, but i struggle for hours now making it work on my win10 laptop.


Before manually installing FFmpeg i receive the error


"assert _HAS_FFMPEG, "Cannot find installation of real FFmpeg (which comes with ffprobe)."
AssertionError: Cannot find installation of real FFmpeg (which comes with ffprobe)"



so i downloaded, unzipped FFmpeg and set up the PATH. From now on i always receive the following error :


with FFmpegReader(str(sourcepath)) as src:
AttributeError: __enter__



I red that this error has something to do with the open() function. But the code works fine on my other computer ?!


I would highly appreciate any hints. i am rather new to this field. Sorry if that is a senseless question.


-
Streaming .264 file while it is being encoded
1er décembre 2017, par 123435258I have been digging around on the internet for a solution of my problem but I still haven’t found any solution yet.
Let me describe my trouble.
I have an IP camera that is connected to the another system. The system has a UDP output and transmits every data that is taken from the camera at each 20ms in real-time.
I have written a Python code that takes the camera data from socket and turns it to a .264 video file while it is being encoded. To display it ;
I first create a rtp server for streaming and open the URL address in VLC and wait for the second command.
ffmpeg -i rtp://127.0.0.1:1234 -c copy -f flv rtp://127.0.0.1:1234/PSIA/Streaming/channels/2?videoCodecType=H.264
Then I give this second command as soon as I run my Python code.
ffmpeg -re -i C:\Python27\myVideo.264 -c copy -f rtp_mpegts rtp://127.0.0.1:1234 -c copy -f flv
What I would like to do is to display the video at real-time with 3 seconds delay forever. However, as mentioned above, the system gives the data at every each 20ms and ffmpeg can’t find the key frames to play the video at real-time at such a speed. I can display the video for 30 seconds with 5 seconds delay, then video turns into images in every 1s which is not a continuous video and which is not I want.
Any help would be appreciated. Thanks in advance !
-
Android ffmpeg - 3gp to mp4 videos not playing
17 juillet 2013, par santhoshI am doing an android application which is used to merge two videos and after merge completed play the result video. For this I am using ffmpeg.
When I record two mpeg or mp4 videos, the result merged video playing fine. Now I record the videos as 3gp and convert it into mp4 and merged it. Then the result video is not playing.
Can anybody help me What may be the problem ?