Recherche avancée

Médias (1)

Mot : - Tags -/framasoft

Autres articles (50)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (7296)

  • Demuxing and decoding raw RTP with libavformat

    8 février 2023, par kevmo314

    I'm implementing a pipeline where I receive inbound RTP packets in memory but I'm having trouble figuring out how to set up libavformat to handle/unwrap the RTP packets.

    


    I have all relevant information about the underlying codec necessary but since it's h264 I cannot simply strip the RTP header trivially. I create the input context with goInputFunction writing one packet per invocation.

    


    void *readbuf = av_malloc(1500);
AVIOContext *avioreadctx = avio_alloc_context(readbuf, 1500, 0, transcoder, &goInputFunction, NULL, NULL);
AVFormatContext *inputctx = avformat_alloc_context();
inputctx->pb = avioreadctx;
inputctx->flags |= AVFMT_FLAG_CUSTOM_IO;


    


    When I open it with avformat_open_input(&inputctx, NULL, NULL, NULL) it repeatedly calls the read function but doesn't actually progress. I suspect because the RTP stream itself does not have enough information to fully describe the codec ? If I leave this open out, then av_read_frame(inputctx, input_packet) down the road segfaults, I'm guessing because the input context is uninitialized.

    


    So to my question, is it possible to set the codec details that the SDP would typically set, but manually ?

    


    I'm looking for an example of how to manually configure the AVFormatContext to consume RTP packets without an SDP and setting up a UDP port listener.

    


  • How to make mp4 from MediaStream in Chrome browser

    18 mars 2023, par otiai10

    MediaRecorder.isTypeSupported('video/mp4') is false in Chrome. So I found MediaStreamRecorder https://github.com/streamproc/MediaStreamRecorder then I did

    



    var recorder = new MediaStreamRecorder(stream, {
  mimeType: 'video/mp4',
});
// also
recorder.mimeType = 'video/mp4';


    



    But the output is webm as I checked with ffmpeg -i

    



    Input #0, matroska,webm, from '/Users/otiai10/Downloads/example.mp4':
  Metadata:
    encoder         : Chrome
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0(eng): Video: vp8, yuv420p, 640x480, SAR 1:1 DAR 4:3, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)


    



    The video is playable in Chrome but NOT on QuickTime Player, in evidence.

    



    Here are more details and (not !) working example of this problem.

    



    It was said muaz-khan/Ffmpeg.js can convert webm to mp4, but the file size matters.

    



    Is there any workaround to record and save as mp4 ?

    


  • How to combine all flv files and images into a single video file using ffmpeg and PHP ?

    22 octobre 2012, par Kannan

    How to combine all flv files and images into a single video file using ffmpeg and PHP,

    Details : I have a list of images and videos. I already created video from images amoung list of files using the following command, but don't know how to combine other video files resides in the same directory together with this created video

    $command = "ffmpeg -r 0.3 -qscale 2 -i ".$imagesFolder.$vFolder."%d.jpg ".$imagesFolder.$vFolder."raw.flv";
    passthru($command. ' 2>&1');

    Note : my directory contains 01.jpg,02.jpg,03.jpg,04.flv,05.jpg,06.flv etc.,
    I had created the video file from images, but dnt know how to combine other video files with this one.

    Update : I created the video file from images, am stuck on mixing other video files(flvs) with the generated one,and there are many video files,cannt say two or three, so i'm asking here that is any technique there for combining video files as well like images.