
Recherche avancée
Autres articles (78)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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 (...)
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (6836)
-
tests/api-flac-test : ensure the frame is writable before writing to it
27 janvier 2021, par Anton Khirnov -
avformat/mpjpegdec : ensure seekback for latest chunk
7 octobre 2019, par Moritz Barsnickavformat/mpjpegdec : ensure seekback for latest chunk
Not only the first, but each latest chunk must be cached to allow
seekback after finding the mime boundary.Fixes trac #5023 and #5921.
Signed-off-by : Moritz Barsnick <barsnick@gmx.net>
Reviewed-by : Paul B Mahol <onemda@gmail.com>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
Setting dpi flag in image files generated using ffmpeg
17 mars 2023, par jim_e_jibWe're using ffmpeg to batch out some TIFF images that are being resized and having white borders created to fit specific paper sizes.


The resulting images default to 72dpi, even when the source is 300dpi. Is there a way to set the dpi flag in the output file ?


Many thanks :-)


The command we're using :


for %%a in ("*.tif") do ffmpeg -i "%%a" -vf "scale=6974:4919:force_original_aspect_ratio=decrease,pad=7016:4961:(ow-iw)/2:(oh-ih)/2:color=white, format=rgb24" "%%~na A2 poster 594x420mm-Border.tif"



We have tried using -dpi 300 in the code but get the error that this is not a recognised.


Edit :


I have just managed to answer my own question :


for %%a in ("*.tif") do ffmpeg -i "%%a" -vf "scale=6974:4919:force_original_aspect_ratio=decrease,pad=7016:4961:(ow-iw)/2:(oh-ih)/2:color=white,format=rgb24" -dpi 300 "%%~na A2 poster 594x420mm-Border.tif"



I had been placing the -dpi 300 in the wrong place when I'd tried it...