
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 (73)
-
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" (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)
Sur d’autres sites (3405)
-
A ffmpeg command method into a webjob
2 juillet 2017, par FearhunterI am new with Azure Webjobs. I made an ffmpeg function to slice a stream into separate mp4 files :
public Process SliceStream()
{
var url = model_s.Url;
var cuttime = model_s.Cuttime;
var output = model_s.OutputPath;
return Process.Start(new ProcessStartInfo
{
FileName = "ffmpeg.exe",
Arguments = $"-i \"{url}\" -c copy -flags +global_header -f segment -segment_time \"{cuttime}\" -segment_format_options movflags=+faststart -reset_timestamps 1 \"{output}\"",
UseShellExecute = false,
RedirectStandardOutput = true
});
}The
var
properties are the variables for the user input on the front-end. I want to scheduled this method into a webjob. How can I achieve this ? I saw an article on googleNeed I just follow these steps to achieve my goal ? Or must I add some C# code to achieve this ?
-
Store image specific metadata in video
5 mai 2021, par VocoJaxI'd like to store XMP data in my PNG images and then compress my images using a lossless compression codec in a video for long-term storage.


Is this possible ? Is per-image metadata discarded when compressing into a video ?


For context, I need a pythonic solution utilizing FFMPEG to do the video compression. I'm aware that OPENCV discards VIDEO metadata. Further, I care not for VIDEO metadata, only per image metadata. Additionally, the type of metadata I'm storing is in reference to the timestamp of the frame, the camera it was taken on, and maybe even some information regarding on-prem AI detecting like bounding box of an object in frame or something like that.


My current approach is just to use OPENCV to get the frames and then record the time into a fat array. Once my video file gets to a specific size or frame count, I'll just prepend the json array of timestamps to the video file along with a 32-bit integer regarding how long the array is. This solution will definitely work, but, it's a hassle to record the timestamps in memory, plus write custom scripts to load my video again (parsing the timestamps off the front of it beforehand).


Who's got the magic solution ? Could I use the approach I'm currently using except attach the frame timestamps to the VIDEO metadata instead ?


-
python with ffmpeg fails randomly
8 juillet 2017, par Jim WeisbinPython 2.7.1 on Mac OS X 10.12.5, ffmpeg 3.3.2 (installed with Brew).
I’m calling ffmpeg on a loop though thousands of Apple Lossless files, converting to mp3 and tagging as I go. Here’s the call :
thecall = '/usr/local/bin/ffmpeg -hide_banner -loglevel error -i ' + <path to="to" m4a="m4a" file="file"> + ' -i ' + <path to="to" artwork="artwork"> + ' -map 0:0 -map 1:0 -id3v2_version 3 -map_metadata -1 -metadata album="xxx" -metadata artist="xxx" -metadata comment="Cover (Front)" -f mp3 -b:a 128K ' + <path to="to" mp3file="mp3file">'
os.system(thecall)
</path></path></path>this works perfectly from the command line, and also works from Python most of the time, but randomly fails with the message
[alac @ 0x7fc888858800] invalid samples per frame: 0
Error while decoding stream #0:0: Invalid data found when processing inputWhat’s strange is that on the files it failed on, if I run it from the command line it succeeds. I tried putting in
time.sleep(5)
but no change. And the failures are not always on the same file, so it seems like it’s a memory or threading issue. I also tried calling withsubprocess()
instead, no change.Any help would be appreciated.