
Recherche avancée
Autres articles (105)
-
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 (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (11017)
-
How to reencode a h264 wiiU to a standar format video
25 juin 2016, par didix16I’m trying to make a bridge between wiiU and web interface to view the video h264 signal. I’m not familiar with video programming but I’m searching some info about it. Following this documentation :
- http://libdrc.org/docs/re/sc-vstrm.html
- http://libdrc.org/docs/installation.html#patched-dependencies
It says that wiiU works with a H.264 variation. So since there is someone who made a h264decoder of wiiU in python (https: //github.com/justjake/drc-sim-keyboard/blob/master/H264Decoder.py) I’ll want to decode that kind of h264 and transform it to some kind of standard video for stream and get it over tag on a html5 web page. It is possibly do it with ffmpeg libraries ?
If it, can someone tell me how ? I’m programming the bridge in C++.
Oh yes, at the moment I’m capturing the data from udp socket, so I just need transform the incoming data detailed in sc-vstrm.html documentation into some web stream video standard.
Thank you so much guys :).
-
ffmpeg : record 1 hour segment, right on the hour, no/little frame lost [closed]
2 septembre 2024, par Jean-MichelI need to record 24/7 an incoming SRT stream into 1 hour chunks, starting right on the hour.
The start needs to be as close as XX:00:00.000 as possible and little to no frame lost between the recordings.


For now I am using a systemd service with that ExecStart command :


/usr/bin/ffmpeg -fflags +discardcorrupt -i 'srt://:4010?pkt_size=1316&mode=listener' -c copy -map 0:v:0 -map 0:a? -f segment -strftime 1 -segment_time 3600 -reset_timestamps 1 -segment_format ts '/somefolder/recording_%%d%%m%%Y_%%H%%M00.ts'



And using a crontab to restart the service on the hour to insure the next file properly starts at the expected time.


0 * * * * cd /etc/systemd/system && systemctl restart srt_recorder_4010.service



Unfortunately, the restart of the service takes 5 to 10 seconds and we are loosing that duration in the recorded file.
If I'm not using the crontab, I get 1 hour files but I have no control on the start time.


Any suggestion to get something more accurate ?
Could there be a way to combine ffmpeg internal ability to exactly segment 1 hour file but enforce to do it on the hour ?
Or externally, if there was a way to send a "next file" command (api, signal) to a perpetual running ffmpeg to change recording file ?


Thanks


-
MoviePy : Concatenating video clips causes weird glitches in final video
16 mai 2022, par JohnSmithy1266Is there a way to successfully always patch up any clips together in such a way that prevents weird glitches ? I put together a
.mp4
from smaller.mp4
files and I got a final video with weird glitches. I am running Python 3.6.1 on Windows 10 through Sublime Text 3. I used MoviePy to do the concatenation.


The code :



from moviepy.editor import VideoFileClip, concatenate_videoclips
import os.path

path = "C:/Users/blah/videos/out/"

cliparray = []

for filename in os.listdir(path):
 cliparray.append(VideoFileClip(path + filename))

final_clip = concatenate_videoclips(cliparray)

final_clip.write_videofile(path + "concatenatedvideo.mp4", codec = "libx264")




The weird glitches :



- 

- One of the clips turns into a 3x3 grid of smaller clips.
- Another has the audio not lined up with the video
- Another is sped up faster than what was normal.