
Recherche avancée
Autres articles (77)
-
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
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 (14149)
-
ffmpeg not detecting trim frames edited by quicktime
20 juillet 2016, par Andrew SinagraI have an h264 that was trimmed using Quicktime 7 and exported as a new movie. Opening the movie in quicktime, the trimmed frames appear to no longer exist. However, when I convert the movie using ffmpeg the trimmed frames reappear. I also tried to grab a specific frame using -ss and the frame is incorrect as ffmpeg is not recognizing the trim and using in essence the wrong time.
Is there a way to get ffmpeg to recognize the in/out points set by quicktime ?
Additionally is there a way to read the in trim value and pass the offset time to ffmpeg ?
-
Extract closed captions VTT from stream using ffmpeg
15 avril 2021, par EK0I can extract closed caption information from an mp4 file using ffmpeg v. 3.4.7 thus :


ffmpeg -f lavfi -i movie="sample.mp4[out+subcc]" -map 0:1 -c:s webvtt /tmp/output.vtt



The file was obtained by capturing a live HLS stream containing closed captions. I would like to extract the closed captions directly from the stream, instead after storing the video in a file. I've tried various things, including :


ffmpeg -f lavfi -i movie="http://example.com/stream.m3u8[out+subcc]" -map 0:0 -c:s webvtt /tmp/output.vtt



But the movie filter does not recognize the URL, even though the ffmpeg filter documentation says that the file name for the movie filter is "not necessarily a file ; it can also be a device or a stream accessed through some protocol" :




[Parsed_movie_0 @ 0x264ad80] Failed to avformat_open_input 'http'

[lavfi @ 0x2647e80] Error initializing filter 'movie' with args 'http://example.com/stream.m3u8' ;

movie=http://example.com/stream.m3u8[out+subcc] : No such file or directory



When I capture the video form the stream like this :


ffmpeg -i http://example.com/stream.m3u8 /tmp/output.mp4



ffmpeg reports that the stream does contain closed captions (which is where the captured video file sample.mp4 got them) :




Stream #0:0 : Video : h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 480x270 [SAR 1:1 DAR 16:9], Closed Captions, 14.99 fps, 14.99 tbr, 90k tbn, 29.97 tbc




Is it possible to do this ? Thanks for any pointers.


-
Anomalie #4209 : Les critères {pagination} et {a,b} sont dans un bâteau
30 octobre 2018, par tcharlss (*´_ゝ`)Un exemple concret : un squelette à inclure qui liste des articles, par défaut avec pagination et sans limite du nombre de résultats (en trichant un peu).
Il est inclus dans plusieurs pages : sur certaines j’ai besoin d’une pagination différente, sur d’autres j’ai besoin de limiter le nombre de résultats.
liste/articles, pagination=20}>
liste/articles, nb=10}>