
Recherche avancée
Autres articles (83)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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 (...) -
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 (8406)
-
Serving a single JPEG using ffserver
4 mai 2016, par MagnusI have a setup where a local application writes a sequence of JPEG images into a FIFO (Unix named pipe on Linux). On the other end I have
ffmpeg
picking up the sequence and passing it into an instance offfserver
:% ffmpeg -i fifo.mjpeg http://127.0.0.1:8090/feed.ffm
The configuration for
ffserver
looks like this :HTTPPort 8090
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 20
MaxClients 10
MaxBandwidth 1000
<feed>
File /tmp/feed.ffm
FileMaxSize 200k
ACL allow 127.0.0.1
</feed>
<stream>
Format mpjpeg
Feed feed.ffm
VideoSize 960x600
VideoFrameRate 2
VideoIntraOnly
Strict -1
NoAudio
NoDefaults
</stream>This works fine, I can point my web browser to
http://127.0.0.1:8090/stream.mpjpeg
and see the video.Now I want to add a way to download a single JPEG (I think of it as snapshot of the video). I added the following to the
ffserver
configuration :<stream>
Format singlejpeg
Feed feed.ffm
VideoSize 960x600
VideoFrameRate 2
VideoIntraOnly
Strict -1
NoAudio
NoDefaults
</stream>That only sort of works. Sure, if I point my browser to
http://127.0.0.1:8090/image.jpg
I do so a still picture from the video, but the browser never stops loading !Indeed, if I run
wget http://127.0.0.1:8090/image.jpg
I see that the MIME type is good (image/jpeg
), but there seems to be no end to the image.Am I missing something in my configuration that makes
ffserver
sending more than a single image ?I should add I’ve tried this setup on both 2.8.6 (Debian Jessie, package comes from jessie-backports) and 3.0 (Arch Linux), with the same result in both cases.
-
doc/developer : deduplicate commit message rules
24 août 2023, par Anton Khirnov -
Refactor last merge to adhere to JSLint rules.
23 janvier 2013m js/jquery.fileupload.js Refactor last merge to adhere to JSLint rules. Updated version number.