
Recherche avancée
Autres articles (50)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (9375)
-
Realtime recording in multiple encodings python
3 janvier 2015, par eripI am working on a project that requires audio recording and am using python. I would like to use a start button to begin recording and a stop button to stop it. Additionally, I’d like to support multiple filetypes like .wav, .mp3, .aiff.
As far as I know, there doesn’t exist something that can do this "in one go", meaning I could record something as a .wav and then post-process the file to encode it in different formats using ffmpeg or a similar library.
This presents a small problem because my project is web-based, so I would have to save the .wav and then save the .*.
Does anyone know of another solution to my problem ?
Thanks, erip
-
How do I correctly pause and resume recording with ffmpeg without messing with the fps ? [closed]
8 mai 2024, par 10typesofpeopleI am recording desktop video and audio with ffmpeg. I am controlling the process with c#. Simplified, my ffmpeg arguments are "ffmpeg -f gdigrab -framerate 30 -i desktop -preset ultrafast -pix_fmt yuv420p output.mp4"


I have some functionality to pause and resume the recording, essentially just suspending and resuming the process. This works, however, it leaves the paused section in the video, just one frame for the entire duration. To fix this, I added "-vf setpts=N/FR/TB" yo the arguments. This resolved that issue, but while recording my framerate was 1.3 fps rather than 30 and the video duration was only a few seconds instead of the minute it so it should have been. The video was also obviously quite sped up.


How do I use "setpts" without it affecting the video in this way, or what alternative do I have to prevent an extended frame in the middle of the recording ?


TLDR : "-vf setpts=N/FR/TB" affects framerate and playback speed in ways I don't understand.


-
Mjpeg recording with FFMPEG preserving time information
14 septembre 2012, par Muhammad Adeel ZahidI am recording the MJPEG video from an IP camera and saving it to a file but the problem is that file's duration is way smaller than the actual recording time. Its around 9 seconds video for 2 minutes recording. I tried following commands in order
ffmpeg -f mjpeg -r 8 -i http://c-cam.uchicago.edu/mjpg/video.mjpg -vcodec mpeg4 -b 1000000 -r 8 video_file.avi
Then I omitted the most of the flags and tried like this
ffmpeg -f mjpeg -i http://c-cam.uchicago.edu/mjpg/video.mjpg video_file.avi
But the problem is that the duration of recorded file is 9 seconds where as the actual recording time is around 2 minutes. I finally tried setpts filter that is supposed to insert the timestamps. The command is as follows
ffmpeg -f mjpeg -i http://c-cam.uchicago.edu/mjpg/video.mjpg -vf "setpts=1*PTS" video_file.avi
But result was still the same. Recording time was way more than video duration. How can I add presentational time stamps when recording from mjpeg source using ffmpeg ?