
Recherche avancée
Autres articles (106)
-
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...) -
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 (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (8954)
-
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 -
Animated WebP vs MP4. Why is MP4 so light and which is generally better ?
25 juin 2022, par Red VicI ran some tests and all things being equal, mp4 is much lighter than animated WebP's.


I used FFmpeg and here are the results :


- 

- Encode to an animated WebP at 25fps with quality at 90% => 2.42 MB
- Encode to an mp4 at 25fps with quality at 90% => 392 KB.






This left me wondering why the heck did I choose WebP as the main format for my web platform. Any idea whether I should ditch the animated WebP's and use mp4 instead with loop HTML tag and no audio ?


-
Ffmpeg unsharp light
4 avril 2020, par user13125448im trying to sharpen a video with unsharp like so





ffmpeg -i video.mkv -c:v libx264 -vf unsharp,scale=1280 :-2:flags=lanczos -pix_fmt yuv420p -c:a aac output.mkv





But the unsharp filter applies sharpness too strong is there a setting for a more lighter sharpness something like watching a 1080p video but actually is 720p.