Recherche avancée

Médias (91)

Autres articles (38)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

Sur d’autres sites (4297)

  • FFMPEG animation with multiple images

    7 octobre 2015, par user1402732

    I am using ffmpeg command line tool for creating video by mixing images & audio files. Everything is working as expected. Problem started when I need to add some animation to the images when creating videos. i.e. adding zoom in effect to multiple images, it has filters but none of seems to be working with multiple inputs but only for single input.

    Works fine :

    ffmpeg -loop 1 -i Winter.jpg -vf "zoompan=z='min(zoom+0.0015,1.5)':d=125" \
    -c:v libx264  -t 5 -s "800x450" zoomin1.mp4

    But this does not :

    ffmpeg -loop 1 -framerate 1 -i bg2.jpg -framerate 1/3 -i img%03d.jpg -i audio.mp3 \
    -filter_complex overlay=(W-w)/2:(H-h)/2:shortest=1,format=yuv420p,zoompan=z='zoom+0.095':d=3 \
    -c:v libx264 -r 30 -c:a aac -strict experimental -b:a 192k -movflags +faststart \
    -shortest testvideo.mp4

    It’s with multiple image and background image & audio.

    It zooms but transition is not smooth and also there’s a gap between images. It should go smoothly one after another.

  • In ffmpeg how to keep text same location while filtering like zooming ?

    12 juillet 2019, par No_0n3

    In ffmpeg how do I keep the text in the same location while filtering ? e.g. zooming

    FFmpeg for linux

    ffmpeg
    -t 5
    -i x.jpg -filter_complex "[0:v]drawtext=fontfile='ariblk.ttf':text='test text':fontsize=24:x=0.23333333333333*main_w: y=0.1325*main_h:fontcolor=#000000: alpha=1,zoompan=z='if(lte(zoom,1.0),1.5,max(1.001,zoom-0.0015))':d=125,fade=t=out:st=4:d=1[v0]; [v0]concat=n=1:v=1:a=0,format=yuv420p[v]"
    -map "[v]"
    -s "800x450"
    -t 40 ./video.mp4

    The text is zoomed in as well but I want it to keep the same size.

  • Is there any memory problem that "Too many active WebGL contents." keeps coming out in my web console

    18 novembre 2022, par jerry

    enter image description here

    


    Now I'm using RTSP stream with jsmpeg, ffmpeg, node-rtsp-stream in React.js

    


    I set multiple streaming in react component about 1 to maximum 25

    


    and when I change route to many , It apeard my console

    


    I'm a little afraid of if it caused by memory leak problem

    


    I cannot figure out it is okay or critical problem

    


    Could you tell me how to solve this problem or is it fine

    


    &#xA;// out of component&#xA;const streams: Streams = {};&#xA;&#xA;...&#xA;&#xA;  const { preset } = props;&#xA;&#xA;  const elementsRef = useRef<any>(new Array(preset?.partition).fill(0).map((v) => createRef()));&#xA;&#xA;&#xA;  // Mount&#xA;  useEffect(() => {&#xA;    const { JSMpeg } = window;&#xA;&#xA;    const sortedStream = _.sortBy(preset?.stream, ["position"]);&#xA;    console.log(sortedStream);&#xA;&#xA;&#xA;    sortedStream.forEach((v, i: number) => {&#xA;&#xA;      const player = new JSMpeg.Player(v.camera_monitoring.ws, {&#xA;        canvas: elementsRef?.current[v.position]?.current, // Canvas should be a canvas DOM element&#xA;      });&#xA;      console.dir(elementsRef?.current[v.position]?.current);&#xA;&#xA;      streams[v.id] = player;&#xA;    });&#xA;  }, []);&#xA;&#xA;  // UnMount&#xA;  useEffect(() => {&#xA;    return () => {&#xA;      Object.keys(streams).forEach((v) => {&#xA;        console.log("unmount key:", v);&#xA;        if (streams[v] !== null) {&#xA;          streams[v].destroy();&#xA;          streams[v] = null;&#xA;        }&#xA;      });&#xA;    };&#xA;  }, []);&#xA;&#xA;&#xA;&#xA;... &#xA;</any>

    &#xA;

    https://github.com/phoboslab/jsmpeg

    &#xA;

    above library `jsmpeg.min.js` is set by global ( in public directory and set in my html )

    &#xA;

    actually my code are so many antipattern in contrast react style, To make an excuse, It is my limits of one's ability

    &#xA;