Recherche avancée

Médias (91)

Autres articles (105)

  • 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 (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (10209)

  • Live streaming using FFMPEG via MPEG Dash

    4 février 2021, par mifol68042

    I have an application that creates gets frames for external source and creates a mp4 video every 60 seconds. I use OpenCV in Python to create an array of frames and then create a mp4 video every 60 seconds. Let's assume my file structure is like below :

    


    video_1.mp4
video_2.mp4
video_3.mp4


    


    Now I want this to be made into a live stream using FFMPEG via Apple HLS or MPEG Dash. I tried to run the following command to convert mp4 to hls :

    


    ffmpeg -i video_1.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls test.m3u88


    


    I did a cat of the test.m3u88 file, I can see the following output :

    


    #EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:50
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:50.000000,
test30.ts
#EXTINF:50.000000,
test31.ts
#EXTINF:25.000000,
test32.ts
#EXT-X-ENDLIST


    


    Next I did the same command for the video_2.mp4 but the contents of test.m3u88 is getting overwritten. I am not able to understand how to append to existing segments.

    


    My aim for this problem is that if I can append to the test.m3u88 file I can achieve live stream in my front end app. Is this the right way to get live stream or should I take another approach ? Please let me know examples if any that can help me on getting live stream to web app.

    


  • dashenc : set DASH related options for the subsequent matroska muxer when using webm

    29 octobre 2017, par Peter Große
    dashenc : set DASH related options for the subsequent matroska muxer when using webm
    

    This patch is inspired by the ffmpeg webm_chunk muxer and fixes that all resulting
    tracks have the same track number.

    Signed-off-by : Peter Große <pegro@friiks.de>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/dashenc.c
  • Video - extract image from DASH m4s file using ffmpeg

    6 juillet 2017, par Yogevnn

    I’m trying to create a thumbnail from a dash stream m4s file.

    I have the mpd, init.mp4 file and the m4s files.

    I have the code using nodeJS ffmpeg package that extracts image from an mp4 file :

    try {
    var process = new ffmpeg('video.mp4');
    process.then(function (video) {
       // Callback mode
       video.fnExtractFrameToJPG('C:\\files\\nodejs', {
           start_time: `1:50:30`,
           frame_rate : 1,
           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);
    }

    But because i’m reading my files from a dash-stream i’m getting an m4s files.

    I’ve tried to convert the m4s format into mp4 and then use the code above, but the ffmpeg( fluent-ffmpeg to be exact) is returning an error message

    an error occured : ffmpeg exited with code 1 :
    C :\files\nodejs\testFiles\000000.m4s : Invalid data found when
    processing input

    The code i used to convert is :

    var proc = new fluent({source: "C:\\files\\nodejs\\testFiles\\000000.m4s",
    nolog: true})

    //useless i think - not working
    //proc.setFfmpegPath("C:\\files\\ffmpeg-20170620-ae6f6d4-win64-static\\bin")

    proc.withSize('50%').withFps(24).toFormat('mp4')

    .on('end', function(){
    console.log('file has been converted successfully');
    })
    .on('error', function(err){
       console.log('an error occured: ' + err.message);

    })

    .saveToFile("C:\\files\\nodejs\\new.mp4");

    Is it possible to convert a single m4s file to mp4 ?

    If not, what is the right way of converting m4s to mp4 using ffmpeg with nodejs ?

    I couldn’t find any reference for that, but if it is possible to extract an image directly from the m4s file i think it will solve the problem faster.

    It is possible to use this site to download all the *.m4s files, mpd and init.mp4 files using the network section (f12 in Chrome browser) and check the code.