
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (105)
-
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer -
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 -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (10244)
-
How to extract video clip from larger video based on specific time and duration
26 juillet 2022, par user19019404I have video clips that get created. Each video is recorded for 5 minutes and starts at a time e.g. 10:01:20 to 10:06:19 then the next video from 10:06:20 etc. These videos are recorded at a specific frame rate, be it 5 frames or 30 frames (its dependent on the platform making the recording). The net result is NOT a 5 minute video clip but might be a 2 minute video clip (where everyone moves very quickly in the view as a result of the frame rates). I cannot restrict a 1 to 1 recording as these are generated by external systems.


I need to extract specific portions out of the video. For example I need to extract from 10:03:10 to 10:03:35 (25 seconds). This would equate to 10 seconds into the video up to 14 seconds into the video, in those 4 seconds of video, 25 real world seconds are displayed.


My question is do you have any guidance as to how I can calculate that each second of recording actually means 10 or 12 seconds in real life, therefore go to this frame and record to this frame for example.


I have been looking at cv2.CAP_PROP_FPS to get the video frame rates, CAP_PROP_POS_MSEC and CAP_PROP_FRAME_COUNT and believe the answer might lie there, but not sure.


The thinking being if I work out the frame rate of the video, the total frames then I can divide the one by the other to get to how many frames make up real world seconds (this is where I fail). This way I can run from frame to frame as a result.


Thank you


-
Declaring Variables in ffmpeg in a batch file
8 juillet 2020, par John SmithSo I wanted to declare a variable and then use that variable throughout my ffmpeg commands in a batch file. I've seen another question about using the duration of the video, but I want to be able to change the timecode I want to cut at myself.


However, the problem is I don't think I'm declaring the variable properly because it says it 00:52:00 is unrecognised, this is what I've tried so far.


$timecodeToCut = 00:52:00

rem The following command can be used to trim an mp4 file at a specified position. In this example it copies the first 42 minutes of the input.mp4 file and copies it to the output.mp4 file.
ffmpeg -i input.mp4 -c copy -to $timecodeToCut tmpOutput1.mp4



EDIT :
I found this from another answer, but couldn't find much information on how variables work with
ffmpeg
. Sorry about that, I'm a beginner when it comes to coding, do you happen to know how I could correct it to use it in a batch file ? I've tried usingset timecodeToCut = 00:52:00
and then in place of$timecodeToCut
used%timecodeToCut%
, but it still gives me an error ?

-
vulkan_decode : ensure there's at least one context per decode thread
27 novembre 2024, par Lynne