
Recherche avancée
Autres articles (34)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (5561)
-
How to setup FFmpegMediaMetadataRetriever to a project with another native library
20 avril 2016, par kishidpSo I have a project that uses a native library that only supports arm.
I want to use FFmpegMediaMetadataRetriever for the metadata retriever, I added the dependency on build.gradle file. However, when I tried to run the application, the native library I’m using suddenly doesn’t work anymore.
There was an error that says "UnsatisfiedLinkError", I assume the library was not loaded. I also assume that it has something to do with the FFmpegMediaMetadataRetriever having support to other CPU (x86, mips, etc.)
I saw an option to use individual architecture, I added the arm aar as module to my project (I remove the FFmpegMediaMetadataRetriever dependency), I was able to run the app, but I don’t know what to do after that. Any help ?
-
Time-weighting frames of an animation using FFMPEG [duplicate]
12 mars 2020, par Rohan S ByrneI’m using ’ffmpeg’ to make an mp4 out of hundreds of individual frames, which are timeslices from an experiment I’ve run. My problem is that the time sampling is not regular. I would like to somehow ’weight’ the frames according to their time index so that the framerate is fast when the sampling rate was fast and slow when the sampling rate was slow.
I know how to do this sort of operation when taking, for instance, a time average using numpy arrays. I have no idea how to do it with ffmpeg.
Any tips ?
-
Having issues with exporting video in FFMPEG [closed]
3 avril 2024, par JakeI am developing an application that uses FFMPEG to take numerous videos and concatenate them into one file. The user has the ability to flip an individual video if they would like. From Landscape to portrait. The application works as planned and it produces one single file, with the orientation however the user set them.


The problem is, when I take that file that FFMPEG generated and tray to convert or copy it using FFMPEG. It will create a video file of all of the video prior to the segment where the orientation has been flipped. The flipped video as well as all of the other videos after it, will not be in the video.


Below are the parameters to export each individual video.


parameters = "-y -i " + '"' + frames[0].VideoPath + '"' + " -filter_complex " + '"' + @"[0:v]trim=" + frames[0].TimeCode.TotalSeconds + @":" + frames[1].TimeCode.TotalSeconds +
 @", setpts=PTS-STARTPTS[trimedv0];[trimedv0]yadif," + orientation + @"setsar=1/1, eq=contrast=1:brightness=" + video.Brightness + @", drawtext=text=\'%{pts\:localtime\:" + ToUnixTimestamp(frames[0].FrameTime) +
 @"\:'" + CurrentDisplayDateFormat.DateOutputFormat + @"'}\'" + @":fontfile =\'Fonts/" + font.FirstOrDefault() + @"\':fontcolor=" + fontColor + ":x=" + DATEXOFF +
 ":y=" + DATEYOFF + " -th:fontsize=" + tempFont +
 @":box=1:boxcolor=" + boxColor + @"@" + opacity + @", drawtext=text=\'%{pts\:localtime\:" + ToUnixTimestamp(frames[0].FrameTime) + @"\:'" + CurrentDisplayDateFormat.TimeOutputFormat + @"'}\'" + @":fontfile =\'Fonts/" + font.FirstOrDefault() + @"\':fontcolor=" + fontColor +
 ":x=" + TIMEXOFF + ":y=" + TIMEYOFF +
 " -th:fontsize=" + tempFont + @":box=1:boxcolor=" + boxColor + @"@" + opacity + ", " + fadeString + " -sn " + mapVar + " -progress - -nostats -an -c:v libx264 -b:v " + video.BitRate + " -preset ultrafast -profile:v baseline -level 3.0 " +
 @"-pix_fmt yuv420p -f mpegts " + vidPath + @"\v" + outputFile.ToString() + ".MP4";



Below are the parameters to concatenate all of the videos :


string parameters = "-y -probesize 100M -analyzeduration 100M -i concat:" + '"' + concatString + '"' + @" -c:v copy " + '"' + ExportOptions.CompleteDestinationPath + '"';



Any ideas of what is going on and hopefully a solution ?