
Recherche avancée
Autres articles (12)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
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 (...)
-
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 (...)
Sur d’autres sites (4915)
-
How to set AV_FRAME_FLAG_DISCARD with avcodec_open2
15 novembre 2024, par ChristophI want to discard corrupted H.264 frames, but I've been unable to achieve this. I've tried setting flags after creating the context, as well as using options, but neither method has worked, and I still see the corrupted frames. examples online demonstrate this with a format context, but in my case, I'm feeding a bytestream directly from a socket.


Options version


ffmpeg.av_dict_set(&options, "fflags", "discardcorrupt", 0);
var ret = ffmpeg.avcodec_open2(_CodecContext, _decodingCodec, &options);
ffmpeg.av_dict_free(&options);



Flags version


var ret = ffmpeg.avcodec_open2(_CodecContext, _decodingCodec, null);
_CodecContext->flags |= ffmpeg.AV_FRAME_FLAG_DISCARD;



I want to avoid errors like :


[h264 @ 000001fb6302dfc0] decode_slice_header error
[h264 @ 000001fb6302dfc0] decode_slice_header error
[H264 Decoder @ 000001fb70778740] Broken frame packetizing
[h264 @ 000001fb6302dfc0] illegal short term buffer state detected



Either avcodec_send_packet or avcodec_receive_frame return an error, return value is always 0. Currently i cant catch this and i dont want using a global logging checking because it could be that i have 16 instances for my decoder. (Cctv grid). I using ffmpeg.autogen (c#)


-
Using ffmpeg to extract webvtt (SRT) subtitles
4 mars 2021, par user15332104I am trying to extract SRT subtitles from the movies online with use of ffmpeg.
Unfortunately transmission drops after some segments, and there is no output SRT file


Any advice which switch use ? Anything else than ffmpeg would serve the purpose here ?


ffmpeg -i "https://rts-vod-amd.akamaized.net/ch/hls/11997514/8f3c162a-6224-3cac-8f47-788ef9fd24dc/index-f7.m3u8" -scodec srt berry_subs.srt


(Actual movie : https://www.rts.ch/play/tv/telefilm/video/meurtres-en-berry?urn=urn:rts:video:11997514)


ffmpeg -i "https://rts-vod-amd.akamaized.net/ch/hls/12003885/cd6616a8-b1bc-39f8-b900-53ab628eba9e/index-f7.m3u8" -scodec srt mlh_subs.srt


(Actual movie : https://www.rts.ch/play/tv/telefilm/video/meurtres-a-mulhouse?urn=urn:rts:video:12003885 )


-
Introducing MatomoCamp !
24 juin 2021, par Ben Erskine — Community