Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (91)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

Sur d’autres sites (9771)

  • mov : Support mdcv and clli boxes for mastering display an color light level

    4 octobre 2017, par Vittorio Giovara
    mov : Support mdcv and clli boxes for mastering display an color light level
    

    Signed-off-by : Vittorio Giovara <vittorio.giovara@gmail.com>

    • [DH] libavformat/mov.c
  • Haskell - Turning multiple image-files into one video-file using the ffmpeg-light package

    25 avril 2021, par oRole

    Background
    &#xA;I wrote an application for image-processing which uses the ffmpeg-light package to fetch all the frames of a given video-file so that the program afterwards is able to apply grayscaling, as well as edge detection alogrithms to each of the frames.

    &#xA;

    Now I'm trying to put all of the frames back into a single video-file.

    &#xA;

    Used Libs
    &#xA;ffmpeg-light-0.12.0
    &#xA;JuicyPixels-3.2.8.3
    &#xA;...

    &#xA;

    What have I tried ?
    &#xA;I have to be honest, I didn't really try anything because I'm kinda clueless where and how to start. I saw that there is a package called Command which allows running processes/commands using the command line. With that I could use ffmpeg (not ffmpeg-light) to create a video out of image-files which I would have to save to the hard drive first but that would be kinda hacky.

    &#xA;Within the documentation of ffmpeg-light on hackage (ffmpeg-light docu) I found the frameWriter function which sounds promising.

    &#xA;

    frameWriter :: EncodingParams -> FilePath -> IO (Maybe (AVPixelFormat, V2 CInt, Vector CUChar) -> IO ()) &#xA;

    &#xA;

    I guess FilePath would be the location where the video file gets stored but I can't really imagine how to apply the frames as EncodingParams to this function.

    &#xA;

    Others
    &#xA;I can access :

    &#xA;

      &#xA;
    • r, g, b, a as well asy. a values
    • &#xA;

    • image width / height / format
    • &#xA;

    &#xA;

    Question
    &#xA;Is there a way to achieve this using the ffmpeg-light package ?

    &#xA;

    As the ffmpeg-light package lacks of documentation when it comes to conversion from images to video, I really would appreciate your help. (I do not expect a fully working solution.)

    &#xA;

    Code
    &#xA;The code that reads the frames :

    &#xA;

    -- Gets and returns all frames that a given video contains&#xA;getAllFrames :: String -> IO [(Double, DynamicImage)]&#xA;getAllFrames vidPath = do &#xA;  result &lt;- try (imageReaderTime $ File vidPath) :: IO (Either SomeException (IO (Maybe (Image PixelRGB8, Double)), IO()))&#xA;  case result of &#xA;    Left ex -> do &#xA;                 printStatus "Invalid video-path or invalid video-format detected." "Video" &#xA;                 return []&#xA;    Right (getFrame, _) -> addNextFrame getFrame [] &#xA;&#xA;-- Adds up all available frames to a video.&#xA;addNextFrame :: IO (Maybe (Image PixelRGB8, Double)) -> [(Double, DynamicImage)] -> IO [(Double, DynamicImage)]&#xA;addNextFrame getFrame frames = do&#xA;  frame &lt;- getFrame&#xA;  case frame of &#xA;    Nothing -> do &#xA;                 printStatus "No more frames found." "Video"&#xA;                 return frames&#xA;    _       -> do                             &#xA;                 newFrameData &lt;- fmap ImageRGB8 . swap . fromJust &lt;$> getFrame &#xA;                 printStatus ("Frame: " &#x2B;&#x2B; (show $ length frames) &#x2B;&#x2B; " added.") "Video"&#xA;                 addNextFrame getFrame (frames &#x2B;&#x2B; [newFrameData]) &#xA;

    &#xA;

    Where I am stuck / The code that should convert images to video :

    &#xA;

    -- Converts from several images to video&#xA;juicyToFFmpeg :: [Image PixelYA8] -> ?&#xA;juicyToFFmpeg imgs = undefined&#xA;

    &#xA;

  • Build x264 with error : signal.h not found

    12 février 2018, par John

    When I build x264 using the build script :

    #!/bin/bash
    NDK=/Local/Android/sdk/android-ndk-r16b

    PLATFORM=$NDK/platforms/android-26/arch-arm/
    TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64
    PREFIX=./android/arm

    function build_one
    {
    ./configure \
    --prefix=$PREFIX \
    --enable-static \
    --enable-pic \
    --host=arm-linux \
    --cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
    --sysroot=$PLATFORM

     make clean
     make
     make install
    }

    build_one

    echo Android ARM builds finished

    But i always got an error :

    x264.c:40:20: fatal error: signal.h: No such file or directory
    #include
                   ^

    compilation terminated.
     : recipe for target ’x264.o’ failed
    make : *** [x264.o] Error 1