
Recherche avancée
Médias (2)
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
Autres articles (42)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
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
Sur d’autres sites (7072)
-
Anomalie #3107 (Nouveau) : Uniformité dans le squelette-dist dans #TEXTE => texte surlignable
1er décembre 2013, par paulbe HullaertEn fait dans squelettes-dist/article.html on avait une syntaxe suivante :
[(#LOGO_RUBRIQUE|image_reduire40,*) ]#TITRE
[(#TEXTE|image_reduire500,*]
J’ai donc commité à l’époque dans squelettes-dist/rubrique.html la même chose => http://zone.spip.org/trac/spip-zone/changeset/77854/_core_/plugins/dist/rubrique.html si image réduire a été discuté ici http://core.spip.org/issues/3081 personne n’avait pipé pour surlignable donc en modifiant de la même manière
breve.html => http://zone.spip.org/trac/spip-zone/changeset/79019
mot.html => http://zone.spip.org/trac/spip-zone/changeset/79020b_b me signale qu’il vaut mieux faire un ticket par problème... ce que je fais maintenant, désolé.
Dans ces deux derniers squelettes j’avais encore envie de faire pareil pour le #TITRE comme pour article et rubrique mais du coup j’attends vos remarques.
-
ffmpeg hls output files - hosting on cdn and conflicting fileNamespaces
24 avril 2018, par Robert Rowntreeenv - ffmpeg running on cloud
ffmpeg outputs 2, tmp files < m3u8, binData.ts >CDN hosting means the cloud-temp files above need to be uploaded from temp FS on cloud host where ffmpeg is run to final CDN for media. This uploading changes the file names , breaking the fileRef contained in the .m3u8 pointing to ’binData.ts’
Possible workaround -
upload binData.ts to the CDN as a single, unacompanied file, wait for CDN response to this file POST , using the response with ’newPrefixCDN-binData.ts’ to run a SED-script editing the original .m3u8 < details on edit below >
and then uploading the edited m3u8 to the CDN where it correctly points at its binData.ts.
Im reluctant to code this workaround.
Is there a better way of doing this ? like using some lib
Details
ffmpeg ... -hls_playlist_type vod -hls_segment_filename binData_%03d.ts my.m3u8
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:10
#EXTINF:10.000000,
binData_000.tsbut then uploading ’binData.ts’ to CDN results in name change to
/S3-bucket/dd911142f64f-binData_000.ts
and without an edit , the original m3u8 output from ffmpeg now points at nothing ??
#EXT-X-TARGETDURATION:10
#EXTINF:10.000000,
binData_000.ts **** changed after upload to CDN, could be edited—PS—
AFAIK .. native, mobile browsers and html5 syntax seem to want 2, related , static files on the CDN that preserve a line in .m3u8 pointing to the static dot-ts file...<video class="vjs-tech" tabindex="-1"><source src="https://s3.eu-west-2.amazonaws.com/mybucket/my.m3u8" type="application/x-mpegURL"></source></video>
...
#EXT-X-TARGETDURATION:10
#EXTINF:10.000000,
{CDN-prefix}-binData_000.ts
...static file in CDN of type ’.ts’ with the prefixed, CDN name above
CDN-prefix-binData_000.ts
-
How to find mp4 metadata with ffmpeg-light in haskell ?
21 décembre 2015, par NoughtmareI’m using ffmpeg-light, JuicyPixels and gloss to display a video with Haskell. I want to find the metadata of videos I’m playing automatically, but I have not yet found a way to do so.
I would like to access metadata like the resolution and the framerate of the video.
Can you help me ?
EDIT :
I have tried your solution @CRDrost, but the video is now playing at 2x normal speed. I assume the function imageReaderTime is giving the wrong timestamps.
EDIT 2 :
The abnormal playing speed is a bug in the ffmpeg-light library. I’ve opened an issue at the github repository.
My updated code :
import Graphics.Gloss
import Codec.FFmpeg
import Codec.FFmpeg.Juicy
import Codec.Picture
import Control.Applicative
import Data.Maybe
import Graphics.Gloss.Juicy
import Control.Monad
-- import System.IO.Unsafe (unsafePerformIO)-- for debugging purposes
resolution :: (Int,Int)
resolution = (640, 360)
frameCount :: Int
frameCount = 100
main :: IO ()
main = do
initFFmpeg
(getFrame, cleanup) <- imageReaderTime "big_buck_bunny.mp4"
frames <- replicateM frameCount $ nextFrame getFrame
cleanup
animate (InWindow "Nice Window" resolution (10,10)) white (frameAt frames)
nextFrame :: IO (Maybe (Image PixelRGB8, Double)) -> IO (Picture, Float)
nextFrame getFrame = mapSnd realToFrac . mapFst fromImageRGB8 . fromJust <$> getFrame
frameAt :: [(Picture, Float)] -> Float -> Picture
frameAt list time = fst . head . dropWhile ((< time) . snd) $ list
mapFst :: (a -> c) -> (a, b) -> (c, b)
mapFst f (a, b) = (f a, b) -- applies f to first element of a 2-tuple
mapSnd :: (b -> c) -> (a, b) -> (a, c)
mapSnd f (a, b) = (a, f b) -- applies f to the second element of a 2-tuple