
Recherche avancée
Autres articles (83)
-
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 (...) -
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 (...) -
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 (15127)
-
ffmpeg usb Web cam recording terminates randomly before set duration
16 mars 2018, par pomptondriveThe output of this script is just fine ; it’s pretty much what I want. But it seems to terminate randomly. My next step will be to try this on another computer to see if the issue persists.
My configuration :
Dell Precision laptop, m4400
2x Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
Linux Mint 18.3 Sylvia
Kernel : Linux 4.4.0-116-generic (x86_64)
Card : NVIDIA G96GLM [Quadro FX 770M]
ffmpeg version 2.8.11-0ubuntu0.16.04.1
USB Camera-B4.09.24.1 Sony Playstation EyeAnd this is the script that I’m running - the last time it recorded for about three hours and forty-five minutes, before that it was about 55 minutes ; once it ran five and a half hours :
#!/bin/bash
echo "This is a shell script to make a timelapse video."
ffmpeg \
-f v4l2 -input_format yuyv422 -video_size 640x480 -framerate 5 -t 09:00:00 -i /dev/video0 \
-vf "select=not(mod(n\,5)),setpts=N/(60*TB),fps=60, drawtext=fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf:text='%{localtime\:%T}':x=20:y=20:fontcolor=white" \
-c:v libx264 -preset superfast -crf 23 -pix_fmt yuv422p -g 15 -keyint_min 15 \
-f mpegts /media/dkm/OneTB/Video/Timelapse_$(date +%Y-%m-%d_%H.%M.%S).tsAny suggestions would be appreciated. Thanks !
-
Trying to stream H264 with Janus Gateway to web browser
15 mars 2021, par sibrownI have installed Janus-Gateway using the very comprehensive install instructions on an Ubuntu 18.04LTS machine.
I have configured the streaming config file (janus.plugin.streaming.jcfg) with :



gstreamer-sample: {
 type = "rtp"
 id = 1
 description = "H.264 live stream coming from gstreamer"
 audio = false
 video = true
 videoport = 5004
 videopt = 96
 videortpmap = "H264/90000"
 videofmtp = "profile-level-id=42e01f;packetization-mode=1"
}




(I didn't change the name because that required least changes to other files.)



Having then started the server, I then take a pre-encoded stream and send that to the server with ffmpeg :



ffmpeg -i udp://127.0.0.1:9034 -c:v copy -an -f rtp rtp://127.0.0.1:5004?pkt_size=1300




Opening up the demo webpage the server comes with, I go to streaming demos, and choose the "gstreamer" demo and click start. The right hand half of the screen produces a spinning circle, but tells me that it is receiving data at the appropriate rate for the stream I'm sending. So if it's receiving the stream, why isn't it playing it ?



Cheers,
Simon


-
ffmpeg player in discord.py (python) automatically leave
25 octobre 2018, par RastasplifI have created a discord bot that on certain messages either sends back a message or plays a sound (like a soundboard)
The crucial line of code is :
soundboard_player = voice_client.create_ffmpeg_player("doh.mp3")
soundboard_player.start()
await client.send_message(message.channel, "Playing DOH...")This works absolutely fine but i kept trying to add the line
after=voice_client.disconnect()
I put this inside the("doh.mp3", * I PUT IT HERE *)
brackets.
I wanted the bot to leave after it was done.When I run the code with the ’after’ statement included, the bot joins and I get the error message :
TypeError: disconnect() takes 1 positional argument but 2 were given
I know you can use
soundboard_player.is_done()
to check the status of the bot but I couldn’t figure out a way to check the status without trapping the code in a loopBy trapping the code in the loop I cant execute a STOP command to stop it playing the song (soundbite) half way through.
Any help with the
after=voice_client.disconnect()
command for the ffmpeg player
or a creative way to periodically check the status without getting trapped in the loop ?