Recherche avancée

Médias (91)

Autres articles (65)

  • 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

  • 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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (11164)

  • avfilter/af_afir : split input frames from impulse response frames

    8 janvier 2020, par Paul B Mahol
    avfilter/af_afir : split input frames from impulse response frames
    
    • [DH] libavfilter/af_afir.c
    • [DH] libavfilter/af_afir.h
  • I am trying to trim a Video, I can perform trimming Operation.I am not able to get response from node js.

    28 mars 2017, par Sumit Sarkar

    This is my block of code from index.js

    router.get(’/trimVideo’, function(req, res, next)
    res.set(
    "Content-Type" :"text/json"
    ) ;

    try{
    var inputDirectory = opts.videoDir+'/'+req.query.videoName;
    var outputDirectory = opts.videoDir+'/trim/'+'Trimmed_'+req.query.videoName;
    ffmpeg()
       .input(inputDirectory)
       .format('mp4')
       .seekInput(req.query.StartTrimTime)
       .duration(req.query.EndTrimTime)
       .on('start', function(cmd){
           console.log('Started' + cmd)
       })
       .on('error', function(err){
           console.log('An error occured: ' + err.message)
       })
       .output(outputDirectory)
       .on('end',function(){
           fs.createReadStream(outputDirectory).pipe(fs.createWriteStream(opts.videoDir+'/'+req.query.videoName));
           console.log('Finished Encoding');

           res.write(JSON.stringify({ OK: 1 }));
           res.end();
       })
       .run();
    }

    catch(error){
       res.write(JSON.stringify({ OK: 0 }));
       res.end();
    }

    ) ;

    This is my block of code for ajax call

    $.ajax(
    type : "GET",
    url : "/trimVideo",
    data :
    StartTrimTime : startTime,
    EndTrimTime : endTime,
    videoName : name
    ,
    dataJson : ’json’,
    success : function(data)
    console.log(’success’) ;
    console.log(JSON.stringify(data)) ;

    )

  • ffmpeg set auto height

    19 juillet 2013, par conmen

    I got following command which use in generate video thumbnail :

    escapeshellcmd("/usr/local/bin/ffmpeg -ss " . ceil($time) . " -i '" . $videoPath . "' -f image2 -vframes 1 -s 150x110 " . $tFilePath)

    I want to know is that possible for the image generate in Auto Height instead of fixed Weight x Height ?

    Thanks.