
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (70)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (9352)
-
Trying to trim a video using FFMpeg in Python in a loop using variables as the start frame and end frame
29 juin 2022, par LearningPythonI'm writing a program using Python. I need to use FFMpeg as part of a loop within my program. I want FFMpeg to take my video file and create a new output each loop, using variables as the start and end point (as specific frames) How can I do this ? I found some other code online which I think is on the right track but I need some help.


ffmpeg_start = start_sample / 29.97
ffmpeg_end = end_sample / 29.97

import os

path = '/Users/a/Downloads/Video'

for filename in os.listdir(path):
 if filename.endswith(".mp4"):
 command = "ffmpeg -fflags +discardcorrupt -i " + os.path.join(path, filename) + " -c copy -map 0 -ss {ffmpeg_start} -t {ffmpeg_end} -f segment -reset_timestamps 1 " + os.path.join(path, "output%03d.mp4")
 os.system(command)
 else:
 continue



The error I'm currently getting is : "Invalid duration specification for ss : ffmpeg_start"
Thanks in advance !


-
What is legacyNullReferencePolicy ?
22 février 2014, par SugrueWe are getting mysterious SEHExceptions in our C# application which may be coming from some unmanaged code (FFMPEG). Its not being caught by the try-catch blocks - so we are not certain what is causing it, but it is perhaps due to a null reference.
I found this on MSDN (SEHException MSDN Page) which says :
The .NET Framework often encounters unmanaged SEH exceptions that are automatically mapped to managed equivalents. There are two common unmanaged SEH exceptions :
STATUS_NO_MEMORY exceptions are automatically mapped to the OutOfMemoryException class.
STATUS_ACCESS_VIOLATION exceptions are automatically mapped as follows :If legacyNullReferencePolicy is applied, all access violations are mapped to the NullReferenceException class.
Now, this bit sounds interesting - if we could set this legacyNullReferencePolicy maybe these mysterious NullReferenceExceptions could be caught and we could find out where they are coming from.
But I can't find any information online about legacyNullReferencePolicy. What is it ? Where do I set it ?
-
FFMPEG : Get the Scene Change Detection value for all frame
14 novembre 2022, par celacantoI'm trying to measure how much a movies is "fast" (more action in the screen and quick scene chances). I don't want just a single value for the movie, but values along the movie to see how the action varies during it. After normalize the frame rate of the movies (10 fps), my idea is to compare each frame with the previous. I'm not only interest if the scene has changed, but also, if there was no cut, how much movement there is. Not only people/object movement but also, camera movement. In summary the paced (I think that the term) of the scenes.



My idea was to use the
scene
function from ffmpeg as a metric. But looking at the document and examples online I'm thinking I can only use the value of the Scene Change Detection as a threshold to return frames informations, but I can't get ffmpeg to return the value. Is that right ? There is any way I can make it return the value ?