
Recherche avancée
Autres articles (111)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (11728)
-
ffmpeg play raw h264 stream, dts/pts problem
29 mars 2019, par LoganMiaI need to use ffmpeg to play the raw h264 stream, but there is no dts/pts inside, there is a timestamp
void h264_decode(void *h264_buffer, int buflen, double timestamp) {
...
AVStream * st = ic->streams[pkt->stream_index]; //video stream
double duration_s = av_q2d(st->time_base);
double duration = duration_s / av_q2d(st->time_base);
pkt_ts = pkt->dts = pkt->pts = frame_index * duration; // no B frame
...
}But the playback speed is too slow,
How can I use timestamp to set pts/dts correctly ?
Thanks . -
problem with moviepy.video.io.ffmpeg_tools.ffmpeg_movie_from_frames
7 mars 2023, par fjalwhen i try using this code it gives me this error


from moviepy.video.io.ffmpeg_tools import ffmpeg_movie_from_frames as a
a('file.mp4','New folder',24)



Traceback (most recent call last) :
File "C :\Users\lenovo\Desktop\fr.py", line 2, in 
a('file.mp4','New folder',24)
File "C :\Users\lenovo\AppData\Local\Programs\Python\Python37-32\lib\site-packages\moviepy\video\io\ffmpeg_tools.py", line 20, in ffmpeg_movie_from_frames
"-b", "%dk"%bitrate,
TypeError : %d format : a number is required, not str


-
Problem to capture a video in 4K with FFmpeg
16 mars 2020, par Ale7I am a new user of FFmpeg. I am trying to capture a ten minutes video in mp4 format, on 4 4K’s slot and 4 FHD’s slot with cards video Pro Capture by Magewell.
My machine has the following characteristics :- OS : Windows Server 2012
- RAM : 64 GB
- CPU : 2 processors Intel Xeon E5-2640 v3 @ 2.60 GHz
The FFmpeg script, for slot 4K (I change resolution for FHD), used is the following :
ffmpeg -rtbufsize 2048M -re -y -thread_queue_size 20384 -pix_fmt yuv420p -f dshow -video_size 3840x2160 -r 50 -i video="Video (05-0 Pro Capture HDMI 4K+)" -codec:v libx264 -preset ultrafast -threads 8 -pix_fmt yuv420p -tune fastdecode -bufsize 2048M output.mp4
This command is the best solution found at the moment, but the CPU goes up to 100% and the buffer fills up quickly and starts to drop the frames.
So, my question : Is there a way to improve it or is a limit, principally, of the my machine ?
If it is a machine limit, you would indicate me the minium requirments to do that.Thanks in advance to everyone.