
Recherche avancée
Autres articles (99)
-
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 (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
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 (12522)
-
Discord FFmpegPCMAudio bad audio quality
17 mars 2021, par YareyareI'm writing a discord music bot in python and encountered some audio quality issue. When I use
discord.FFmpegPCMAudio("song.mp3")
to play a mp3 file downloaded using youtube_dl in a channel, there're sometimes intermittent background noice and it sounds laggy and broken.

I tried to pass{'vbr':5}
as an argument, and also trieddiscord.FFmpegOpusAudio
, but doesn't do any better. The file itself is not corrupted, since it sounds normal when I play it using another app. Internet connection also isn't the cause, as each time I play the same file, the exact audio quality issue occurs at the exact same time.

I'm quite stuck right now. What other factors may caused this audio quality loss ?

-
How to send output stream from ffmpeg into a servlet
12 mai 2016, par Antonio MeleI am trying to get the video stream from an ip camera in my network and redirect it to a servlet.
Using this command to get the video and redirect the output to standard output
avconv -f mjpeg -y -i 'http://USER:PASSWORD@192.168.1.5/video.cgi' -r 3 -loglevel 16 -c:v mjpeg -an -qscale 10 -f mp4 -
Then I would like to call this from a java servlet using ProcessBuilder and sending the streaming to servlet output. So when I will open it from the browser I will get the video streaming.
I am trying to do this to be able to encode the video as I prefer and to be able to call my web server from Internet to access any camera in my network and avoid to have a port forwarding or nat for every camera.
If you have any suggestions for other solutions to expose my camera outside my local network having only my public ip (without having to configure my router) are well accepted :)
thank you
-
Open DivX/XVID videos in OpenCV Python
16 avril 2014, par b_mI started working on a new computer a tried to set everything as it used to be on my old one. Unfortunately switching to 64bit Windows made everything quite difficult.
With the current setup I can only open raw I420 videos converted with memcoder, but I can't open DivX/XVID videos, that I used to on my old PC. I tried ffdshow and K-Lite codec pack. Opening the videos in gspot shows that the codecs are indeed installed.
I've searched for solution all over the Internet, but I couldn't find the solution. I've tried copying the ffmpeg dll into the Python27 folder.
The environment is 64bits Windows 7 Pro
EDIT :
I tried saving a video using OpenCV :
I passed -1 to the cv2.VideoWriter function to get the codec selection dialog. The dialog dosn't show the ffdshow codecs.