Recherche avancée

Médias (0)

Mot : - Tags -/latitude

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (67)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (11861)

  • How can I have ffmpeg receive both video and audio over RTP ?

    23 mai 2018, par KallDrexx

    I am trying to instruct FFMPEG to receive h264 video and aac audio via RTP using out of band session initialization.

    To do that I have the following local SDP :

    v=0
    o=sb
    s=-
    t=0 0
    c=IN IP4 127.0.0.1
    m=video 12100 RTP/AVP 96
    a=rtpmap:96 H264/90000
    m=audio 12101 RTP/AVP 97
    a=rtpmap:97 MPEG4-GENERIC/44100/2

    When I load ffmpeg with :

    ffmpeg -loglevel debug -protocol_whitelist "file,rtp,udp" -i .\test.sdp -strict -2 test.flv

    I get the following error :

    [udp @ 0000022d7fdafe80] bind failed: Error number -10048 occurred
    [AVIOContext @ 0000022d7fd84900] Statistics: 154 bytes read, 0 seeks
    .\test.sdp: Invalid data found when processing input

    Confused by that error code I loaded it up on a Linux VM and the bind error I got was Address already in use.

    I tried changing both of those port numbers all around and kept getting that error. Finally I removed one of the media streams from the SDP so it ONLY had video or ONLY had audio and no binding error occurred.

    How can I get ffmpeg to bind to multiple RTP ports for RTP ingestion ?

  • Error : No input specified at FfmpegCommand.proto.setStartTime.proto.seekInput ffmpeg

    9 mai 2018, par omkar mestry

    Error : No input specified
    at FfmpegCommand.proto.setStartTime.proto.seekInput (/Users/omkar/Desktop/whatsappvideo/node_modules/fluent-ffmpeg/lib/options/inputs.js:147:13)
    at process_video (/Users/omkar/Desktop/whatsappvideo/app.js:25:10)
    at /Users/omkar/Desktop/whatsappvideo/app.js:15:7
    at Layer.handle [as handle_request] (/Users/omkar/Desktop/whatsappvideo/node_modules/express/lib/router/layer.js:95:5)
    at next (/Users/omkar/Desktop/whatsappvideo/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/Users/omkar/Desktop/whatsappvideo/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/Users/omkar/Desktop/whatsappvideo/node_modules/express/lib/router/layer.js:95:5)
    at /Users/omkar/Desktop/whatsappvideo/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/Users/omkar/Desktop/whatsappvideo/node_modules/express/lib/router/index.js:335:12)
    at Busboy.next (/Users/omkar/Desktop/whatsappvideo/node_modules/express/lib/router/index.js:275:10)

    Code :-
    app.js

    var express = require("express"),
       app = express(),
       http = require("http").Server(app).listen(8080),
       upload = require("express-fileupload");
    var video=null;
    app.use(upload())
       console.log("Server Started!");
     app.get("/",function(req,res){
       res.sendFile(__dirname+"/index.html");
     })

     app.post("/",function(req,res){
       if(req.files){
         video = req.files;
         process_video(req.files.upfile.data);
         //console.log(req.files.upfile.data);
       }
     })

     function process_video(video){
       var ffmpeg = require('fluent-ffmpeg');


           ffmpeg(video)
           .setStartTime(120)
           .seekInput(0)
           .setDuration(10)
           .output('test.mp4')
           .on('start', function(commandLine) {
                       console.log('start : ' + commandLine);
                   })
           .on('progress', function(progress) {
                       console.log('In Progress !!' + Date());
                   })
           .on('end', function(err) {
               if(!err)
               {
                 console.log('conversion Done');


               }

           })
           .on('error', function(err){
               console.log('error: ', +err);

           }).run();
     }
  • ffmpeg : remove dead call to av_parser_change()

    21 mars 2018, par James Almer
    ffmpeg : remove dead call to av_parser_change()
    

    It's been a noop for years, and it's been argued that in-band headers
    should not be forcedly removed without the user's explicit request.

    Also, as the FIXME line stated, this is a job for a bitstream filter
    like extract_extradata, remove_extradata, dump_extradata, and
    filter_units.

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] fftools/ffmpeg.c
    • [DH] fftools/ffmpeg.h