
Recherche avancée
Autres articles (31)
-
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 (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (4748)
-
Revision 36104 : Une petite erreur sur un message de la mutu grossissant pour pas grand ...
11 mars 2010, par kent1@… — LogUne petite erreur sur un message de la mutu grossissant pour pas grand chose le texte
-
Revision 31972 : Et maintenant on peut aussi importer les fichiers d’export. On peut aussi ...
8 octobre 2009, par rastapopoulos@… — LogEt maintenant on peut aussi importer les fichiers d’export.
On peut aussi supprimer entièrement un menu, ce qui n’était bizarement pas possible avant.
Pour la peine, on hausse la version, parce que c’est une nouvelle fonctionnalité d’ajoutée. -
Can ffmpeg trim the beginning of a video as it's written ?
3 janvier 2024, par ttshaw1I'm working on an Android app where I want to keep a 30s buffer of video, and at arbitrary times save it. I have a few requirements :


- 

- I want to make sure I don't miss or duplicate any frames. So I think periodically starting and stopping recording won't work
- I found that simultaneously encoding two video streams puts my CPU under a lot of strain, so I want to avoid doing that
- I don't want to store a ring buffer of 30s worth of frames in memory as that'll require too much memory. So I think I need to encode them to a video file on disk as they come in. (though I'm realizing maybe I could write the frames to disk and encode them when I have a 30s buffer I want to keep)








This all leads me to think the best solution would be something like a typical camera app where a video is written to an mp4 file as it's recorded. But to keep the filesize reasonable, I'd like to have the output file continuously trimmed to the last 30s, plus or minus a keyframe interval.


I know that ffmpeg can do that for a video that's not being currently written. But I don't know if something about the format of an mp4 would prevent doing that for a video that is being written. For example, if an mp4 was essentially a series of bitmaps with timestamps, I'd think it's easy for ffmpeg to chop off some number of frames at the beginning while the camera API is writing frames to the end. Is there anything about the mp4 format that makes it too complicated to do that in practice ? Or is this a question that depends on the camera API's implementation ?