Recherche avancée

Médias (91)

Autres articles (37)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (6549)

  • Mapping audio to video with ffmpeg with metadata length

    20 juin 2023, par Tomáš Kordoš

    I'm using node.js ffmpeg-static to map a video and an audio together.

    


    var VideoStream = ytdl(video, { filter: 'videoonly', quality: 'highestvideo' });
var AduioStream = ytdl(video, { filter: "audioonly", quality: 'highestaudio' });

const ffmpegProcess = cp.spawn(ffmpeg, [
  '-i', `pipe:3`,
  '-i', `pipe:4`,
  '-map', '0:v',
  '-map', '1:a',
  '-c:v', 'copy',
  '-c:a', 'aac',
  '-movflags', 'frag_keyframe',
  '-f', 'mp4',
  '-'
 ], {
  stdio: [
    'pipe', 'pipe', 'pipe', 'pipe', 'pipe',
  ],
});

VideoStream.pipe(ffmpegProcess.stdio[3]);
AduioStream.pipe(ffmpegProcess.stdio[4]);
ffmpegProcess.stdio[1].pipe(fs.createWriteStream('./out.mp4'));


    


    The saved file contains both audio and video as expected, But the length of the file is only 4 seconds when using -movflags frag_keyframe. Although the video continues after that (00:10 / 00:04)

    


    -movflags faststart Never works

    


    How do I automatically or manualy (Ytdl allows me to download the video length)set the length ?

    


    Thank you

    


  • Video length missing in FLV converted by ffmpeg-php

    19 janvier 2013, par Andrew

    I'm converting MP4 videos to FLV using ffmpeg-php on my CentOS server (without intervention from flvtool2 because it's not installed).

    The FLV videos are created, but no player is capable of retrieving the video duration, this creates serious issues when trying to seek the video. I'm using the player created by Moyea's Flash Video MX Pro, but the problem also happens with other FLV players as well, so I'm sure that ffmpeg-php is not createing the FLV with the proper length data.

    My MP4 videos are compatible because ffmpeg-php CAN get the video length properly from then, yet it does not apply that length information into the FLV file. I assume flvtool2 is ONLY to retrieve meta-data and has nothing to do with the output FLV video length, let me know if this is correct.

    This command I use for conversion :

    $command = "ffmpeg -i myvideo.mp4 -ar 22050 -ab 64k -f flv -s 320x240 -y myvideo.flv";
    $result = @shell_exec($command);

    This is my ffmpeg-php version :

    FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
     configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --extra-cflags=-fPIC --enable-libamr-nb --enable-libamr-wb --enable-libdirac --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-x11grab
     libavutil     49.15. 0 / 49.15. 0
     libavcodec    52.20. 0 / 52.20. 0
     libavformat   52.31. 0 / 52.31. 0
     libavdevice   52. 1. 0 / 52. 1. 0
     libswscale     0. 7. 1 /  0. 7. 1
     libpostproc   51. 2. 0 / 51. 2. 0
     built on Jul 24 2009 01:40:27, gcc: 4.1.2 20080704 (Red Hat 4.1.2-44)

    Any help on this issue will be greatly appreciated.

  • Screen casting on a Linux system that uses Wayland

    27 octobre 2020, par Igor Vurdelja

    Problem :

    


    I would like to live stream my display.
System that I am working on is arm Linux and it uses Wayland/Weston.
Hardware that I am using is imx8.

    


    I have already tried to use ffmpeg with following command :

    


    ffmpeg -device /dev/dri/card0 -f kmsgrab -i - -vf 'hwmap=derive_device=vaapi,scale_vaapi=w=1920:h=1080:format=nv12' -c:v h264_vaapi -f mpgets udp://127.0.0.1:52601


    


    The issue with this is that kmsgrab and vaapi are not available. It seems like there is no option to do kmsgrab on arm. Is there any workaround ?

    


    Additional inputs :
I know that Wayland/Weston is using DRM/KMS subsystem for working with graphics. In my opinion there should be two ways to get the image from Wayland :

    


      

    • Directly accessing DRM virtual frame buffers.
    • 


    • Interacting with Wayland.
    •