Recherche avancée

Médias (91)

Autres articles (84)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (4848)

  • Revision ce274c5ced : Merge "Removed redundant local variables in the forward hybrid transforms."

    8 janvier 2015, par Zoe Liu

    Merge "Removed redundant local variables in the forward hybrid transforms."

  • How to play an local video in arbitrary codec and format in browser ? [closed]

    24 septembre 2023, par HanXu

    I am developing a video player in browser to let the user select a local video to play, and want to support as many video formats as possible. I know that in browser a video tag can only play videos in a limited set of codecs, and on desktop libraries like VLC can play literally any videos. I would like to bring that broad compatibility to the browser, but not sure how to achieve it.

    


    One thing come up in my mind is to let the user run a thin client natively, which read the local video and stream it at, say, http://localhost:8080, in some web-friendly codec and format, and in the frontend I use a video with src to be http://localhost:8080.

    


    In the client I think I need to run some ffmpeg command to somehow stream and process the video in real-time. I also run into the libVLC which seems nice, and am not sure which one to use.

    


    Furthermore, I need to enable the user to seek to any arbitrary timestamp, and am not sure if the streaming technic supports it.

    


    I have done some googling, and found a method which first runs a ffmpeg command as

    


    VIDSOURCE="/some/video.mp4"
AUDIO_OPTS="-c:a aac -b:a 160000 -ac 2"
VIDEO_OPTS="-s 854x480 -c:v libx264 -b:v 800000"
OUTPUT_HLS="-hls_time 10 -hls_list_size 10 -start_number 1"
ffmpeg -i "$VIDSOURCE" -y $AUDIO_OPTS $VIDEO_OPTS $OUTPUT_HLS /some/public/video.m3u8


    


    and in the frontend I can use the react-player to play the video like

    


    <reactplayer url="/some/public/video.m3u8"></reactplayer>&#xA;

    &#xA;

    However, I can not seek to an arbitrary timestamp, and the ffmpeg command creates a lot of .ts files one by one about which I am not sure what is going on. It seems that before it creates a video77.ts, I can not seek to timestamp within that segment.

    &#xA;

    All in all, I am looking for some solution like

    &#xA;

    enter image description here

    &#xA;

    that supports

    &#xA;

      &#xA;
    • playing videos in browsers in as many codecs and formats as possible,
    • &#xA;

    • allowing users to seek to any arbitrary timestamp.
    • &#xA;

    &#xA;

    Since many native video player like VLC supports it, I believe it can be done. Does anyone have any idea that may help ? Appreciate in advance !

    &#xA;

  • How to decode the video stream of an mp4 file and save the decoded images to local directory in NodeJs

    8 août 2018, par Rohit Verma

    How to decode the video stream of an mp4 file and save the decoded images to local directory in NodeJs. I have tried ffmpeg and fluent ffmpeg but didn’t get clear idea how to use,As I was getting error while using fluent ffmpeg

    Code snippet :

       const ffmpeg = require('fluent-ffmpeg')
       const probe = require('ffmpeg-probe')

    const info = await probe('input.mp4')

    and in case of ffmpeg I have tried this,

    var ffmpeg = require('ffmpeg');

    try {
       var process = new ffmpeg("VID_20160805_121411556.mp4");
       process.then(function (video) {
           // Callback mode
           video.fnExtractFrameToJPG('C:/Users/PcName/Documents', {
               frame_rate : 1,
               number : 5,
               file_name : 'my_frame_%t_%s'
           }, function (error, files) {
               if (!error)
                   console.log('Frames: ' + files);
           });
       }, function (err) {
           console.log('Error: ' + err);
       });
    } catch (e) {
       console.log(e.code);
       console.log(e.msg);
    }

    Nothing is working and I didn’t get any clue how to do so.