
Recherche avancée
Médias (16)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (36)
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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 (6901)
-
ffmpeg create 2 videos from images with a consistent (exact same) duration
3 septembre 2021, par danday74I have exactly 1500 jpg's named rgb_00000.jpg rgb_00001.jpg etc. Each image has dimensions 1920 x 1440 (aspect ratio 4:3). These images are sequential and represent someone filming a car.


I have exactly 1500 png's named depth_00000.png depth_00001.png etc
Each image has dimensions 256 x 192 (aspect ratio 4:3). These images are sequential and represent a depth visual for the first set of images.


From these 2 sets of images I want to create 2 videos with the exact same length. The user will then be able to flip between videos.


So I ran this command to generate the first video


cat depth_*.png | ffmpeg -y -f image2pipe -framerate 30 -i - -pix_fmt yuv420p -c:v libx264 depth.mp4



Video created with success. Then I ran this command to output duration information


ffprobe -v quiet -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 depth.mp4



The duration was
51.534


I then repeated these exact same commands on the jpg set of images. Again video was created with success. But this time the duration is
51.905


Why is the duration different given an identical frame rate and image count ? How can I make it so that the duration is identical for both videos (to support jumping between them) ?


Note : I don't want to just truncate the videos to the same length since then they would not be parallel and flipping / jumping between the videos would not be smooth


Many thanks


-
libavcodec's AVRational vs 29.9 fps
29 mars 2014, par sigflupSo the AVCodecContext structure has a nice little member named time_base which is used to represent frames per second when encoding video, which is what I'm doing. time_base is an AVRational structure which consists of a numerator (num) and a denominator (den). I'm not good at math and so the only rational number I can think of for 29.9 is 29 and 9/10, which doesn't work. What should I fill num and den with ?
p.s the answer is not 299/10
-
Record and preview webcamera stream at the same time
11 juin 2019, par Vlad PopovI’m using ffmpeg and Windows 7/10 OS and going to save webcamera stream to file and preview it at the same time (from time to time, not constantly).
I can solve each of these tasks separately :- Saving webcamera stream to 1-minute files :
$ffmpeg_exe = "C:\ffmpeg.exe"
$video_source = "USB Video Device"
Start-Process $ffmpeg_exe -ArgumentList @("-y -hide_banner -f dshow -rtbufsize 100M -i video=``"$video_source``" -preset ultrafast -strftime 1 -f segment -segment_time 00:01:00 ``"$out_folder\%Y_%m_%d_%H_%M_%S.mp4``"") -Wait -NoNewWindow
- Preview webcamera using ffplay :
$ffplay_exe = "C:\ffplay.exe"
Start-Process $ffplay_exe -ArgumentList @("-hide_banner -f dshow -i video=``"$video_source``" -preset ultrafast") -Wait -NoNewWindow
Is there a way to do it using single command ? I think I have to use ffmpeg within named pipes but I don’t understand how to create/operate them. Maybe someone have already working Windows command which will 1) save webcamera video to file 2) also send it to named pipe for another applications like ffplay or VLC ?
Thanks for your answers,
—Vlad