
Recherche avancée
Autres articles (58)
-
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 (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 (...)
Sur d’autres sites (8778)
-
How to merge a segmented webvtt subtitle file and output a single srt file ?
24 janvier 2019, par DobbelinaHow to merge a segmented webvtt subtitle file and output a single srt file ?,
m3u8 looks like this example :#EXTM3U
#EXT-X-VERSION:4
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-MEDIA-SEQUENCE:1
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-TARGETDURATION:4
#USP-X-TIMESTAMP-MAP:MPEGTS=900000,LOCAL=1970-01-01T00:00:00Z
#EXTINF:4, no desc
0ghzi1b2cz5(11792107_ISMUSP)-textstream_swe=2000-1.webvtt
#EXTINF:4, no desc
0ghzi1b2cz5(11792107_ISMUSP)-textstream_swe=2000-2.webvtt
#EXTINF:4, no desc
0ghzi1b2cz5(11792107_ISMUSP)-textstream_swe=2000-3.webvtt
#EXTINF:4, no desc
0ghzi1b2cz5(11792107_ISMUSP)-textstream_swe=2000-4.webvtt
#EXTINF:4, no desc
0ghzi1b2cz5(11792107_ISMUSP)-textstream_swe=2000-5.webvtt
#EXTINF:4, no desc
0ghzi1b2cz5(11792107_ISMUSP)-textstream_swe=2000-6.webvtt
#EXT-X-ENDLISTI noticed that each segment is not synchronized/cued against total playing time, but against the individual ts segments.
If ffmpeg could be used to do this, what magic input do i need to give it ?A single correctly cued vtt file would work to.
Thanks for any replies you lovely people ! -
avfilter/vf_unsharp : Don't dereference NULL
1er décembre 2019, par Andreas Rheinhardtavfilter/vf_unsharp : Don't dereference NULL
The unsharp filter uses an array of arrays of uint32_t, each of which is
separately allocated. These arrays also need to freed separately ; but
before doing so, one needs to check whether the array of arrays has
actually been allocated, otherwise one would dereference a NULL pointer.
This fixes #8408.Furthermore, the array of arrays needs to be zero-initialized so that
no uninitialized pointer will be freed in case an allocation of one of
the individual arrays fails.Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Reviewed-by : Paul B Mahol <onemda@gmail.com>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
RuntimeException on FFmpegMediaMetaDataRetriever setDataSource (status = 0xFFFFFFFF)
27 septembre 2017, par LaVieEnRouxI am attempting to load a .mp4 video from assets. I am getting the following error at the top of the stack trace if I access either via URI or FileDescriptor :
java.lang.RuntimeException : setDataSource failed : status = 0xFFFFFFFF
at wseemann.media.FFmpegMediaMetadataRetriever.setDataSource(Native
Method)A little snippet of code that causes the exception :
mmr = new FFmpegMediaMetadataRetriever();
AssetManager assets = getAssets();
AssetFileDescriptor afd = assets.openFd(TEST_VIDEO);
mmr.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength());I’m using version 1.0.14 in Android Studio. I’ve tried using either the pre-built AAR or the compile ’com.github.wseemann:FFmpegMediaMetadataRetriever:1.0.14’ link in the build.gradle dependences, and both give the same result.
The curious thing is that this loads perfectly fine when I use MediaMetadataRetriever on the same video in place of FFmpegMediaMetadataRetriever. One of the videos with which the error was happening is available at the following link : https://drive.google.com/open?id=0B_r_uzvCTCgsS2xVMUk4TW13YUE
Anyone have suggestions ? I’d be using MediaMetadataRetriever instead but I need to be able to grab every individual frame of the video and it doesn’t appear to be capable.