Recherche avancée

Médias (91)

Autres articles (65)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (6285)

  • FFMPEG loop video overlay

    12 avril 2013, par x1886x

    I have two videos, one of which is overlaid onto the other.The one that is overlaid is only a few seconds long, and I want it to keep looping whilst the main video plays. Ive tried everything I can think of , but nothing seems to work in ffmpeg

    ffmpeg -i mainVideo.MTS -vf " movie=overlaid.wmv  [overlay];[in][overlay] overlay=1000:500 [out]" output.mp4

    overlays one on top of the other , but with no looping.
    Changing movie=overlaid.wmv to movie=overlaid.wmv:loop=0

    gives me an error message

    [movie @ 01B19FC0] Key 'loop' not found.
    [movie @ 01B19F40] Error parsing options string : 'loop=0'
    Error initializing filter 'movie' with args 'overlaid.wmv:loop=0'
    Error opening filters !

    According to the ffmpeg docs, loop is a valid option for movie. Ive tried 0, 1, 10 as the loop value but the result is always the same (an error)

  • How map_channel works in ffmpeg ?

    2 août 2020, par Redbraid

    I need to extract channels from 5.1 audios. These audio tracks are contained in a MKV file. Structure of "movie.mkv" file is like this :

    


    Input #0, matroska,webm, from 'movie.mkv':
  Duration: 00:40:38.08, start: 0.000000, bitrate: 21128 kb/s
    Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x800 [SAR 1:1 DAR 12:5], 24 fps, 24 tbr, 1k tbn, 48 tbc
    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:2(ger): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s
    Stream #0:3(eng): Subtitle: subrip


    


    But the syntax is very messy, so I did not figure out how to extract channels properly.

    


    This code, for the first audio track, works fine :

    


    ffmpeg -i "movie.mkv" -map_channel 0.1.0 "eng channel 1.wav"
ffmpeg -i "movie.mkv" -map_channel 0.1.1 "eng channel 2.wav"
ffmpeg -i "movie.mkv" -map_channel 0.1.2 "eng channel 3.wav"
ffmpeg -i "movie.mkv" -map_channel 0.1.3 "eng channel 4.wav"
ffmpeg -i "movie.mkv" -map_channel 0.1.4 "eng channel 5.wav"
ffmpeg -i "movie.mkv" -map_channel 0.1.5 "eng channel 6.wav"


    


    I believe that 0.1.0 is : input #0 (movie.mkv) ; then stream 1 (audio eng) ; then channel 0 (very first channel).

    


    But when I'm trying to extract channels from second audio track...

    


    ffmpeg -i "movie.mkv" -map_channel 0.2.0 "ger channel 1.wav"
ffmpeg -i "movie.mkv" -map_channel 0.2.1 "ger channel 2.wav"
ffmpeg -i "movie.mkv" -map_channel 0.2.2 "ger channel 3.wav"
ffmpeg -i "movie.mkv" -map_channel 0.2.3 "ger channel 4.wav"
ffmpeg -i "movie.mkv" -map_channel 0.2.4 "ger channel 5.wav"
ffmpeg -i "movie.mkv" -map_channel 0.2.5 "ger channel 6.wav"


    


    ...it extracts not German sound, but instead it results with the same eng channels (which also sound little louder than in previous case). In this code, 0.2.0 appears to be : input #0 (movie.mkv) ; then stream 2 (audio ger) ; then channel 0 (very first channel).

    


    So what am I doing wrong ? :-)

    


  • Lib x : display problem related to window pixel color changes with the mlx_put_pixel() function [closed]

    15 janvier 2023, par Jordan Riga

    I'm stuck on a project that I have to return for school.
I have to make a 3D game with the minilibx in C, the problem being that I try to make the graphic part work but it doesn't work (display pixels on the screen).
And all this same with the examples that I found of school 42 on the internet in that link https://harm-smits.github.io/42docs/libs/minilibx.
All configuration has been done.

    


    Could there be a possible configuration problem ? I'm working on Kali Linux (Even using a VM on Ubuntu it didn't work).

    


    In short my question is what can be the different reasons why the graphical part of minilibx independently of events, loops and etc does not work without errors ?