Recherche avancée

Médias (0)

Mot : - Tags -/configuration

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

Autres articles (94)

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

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

  • MediaSPIP : Modification des droits de création d’objets et de publication définitive

    11 novembre 2010, par

    Par défaut, MediaSPIP permet de créer 5 types d’objets.
    Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
    Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...)

Sur d’autres sites (9236)

  • Converting AWS Polly Audio Stream with fluent-ffmpeg

    27 juillet 2017, par Joel

    I am trying to convert an audio stream from Amazon AWS Polly in Node.js using fluent-ffmpeg. The documentation says that I can convert a stream, which is what the output of Polly provides, but I am getting an "Invalid input" error.

    polly.synthesizeSpeech(pollyParams, function (err, data) {
    if (err) {
       console.log(err)
    } else {
       console.log('Audio')
       console.log(data)
       ffmpeg().input(data.AudioStream).inputOptions(['-ac 2', '-codec:a libmp3lame', '-b:a 48k', '-ar 16000'])
    }  

    Results in :

    AudioStream : }
    2017-07-27T14:07:09.335Z dd75614c-72d4-11e7-b7cd-5d4425c782fc Error : Invalid input
    at FfmpegCommand.proto.mergeAdd.proto.addInput.proto.input (/var/task/node_modules/fluent-ffmpeg/lib/options/inputs.js:34:15)

    I know the output from Polly is a valid audio stream, because I am able to save it to an S3 bucket. I would prefer to convert the stream before saving to S3, rather than saving it, picking it up from S3, converting it, and then saving it again.

    Thanks for your help !

  • ffmpeg single output container with 4 audio channel to AWS IVS

    28 juillet 2021, par Yusufu

    Trying to send 1 video and 4 different audios to AWS IVS in single container. Which container or muxer should I use ?
FLV doesn't support multi audio, matroska doesn't support rtmp I guess link.
3GP and mp4 containers doesn't give me error but neither video showing on IVS

    


    For simple try I am using this command.

    


    ffmpeg -re -stream_loop -1 -i sample.mkv -r 30 -c:v libx264 -pix_fmt yuv420p -profile:v main -preset veryfast -x264opts "nal-hrd=cbr:no-scenecut" -minrate 3000 -maxrate 3000 -g 
60 -c:a aac -ac 2 -ar 44100 -vb 400k -maxrate 400k -minrate 400k -bufsize 800k -movflags frag_keyframe+empty_moov -f mp4 rtmps:someurls


    


    the above command doesn't include multi audio output so just trying to send except the flv format

    


  • How do I combine mkv and mka file using fluent-ffmpeg ?

    17 mai 2020, par YaSh Chaudhary

    I have two Amazon S3 bucket file urls , one is for mkv file(video) and other one for mka(audio).

    



    I am trying to merge audio and video in one file and upload it to S3 but following function doesn't seems to get working. Not getting error also.

    



    client.request({ method: 'GET', uri: uri }).then((response) => {
      const mediaLocation = response.body.redirect_to
      media.push(mediaLocation)
      if(media.length > 1) {
     ffmpeg(media[0])
      .addInput(media[1])
      .output(`${recordingSid}.mkv`)
      .on('error', function (err) {
        console.log('An error occurred: ' + err.message)
      })
      .on('end', function () {
        console.log('Processing finished !')
        var params = {
          Body: fs.createReadStream(`${recordingSid}.mkv`),
          Bucket: config.aws.bucketname,
          Key: `${recordingSid}.mkv`,
        }
        s3.upload(params, function (err, data) {
          //handle error
          if (err) {
            console.log('Error', err)
          }

          //success
          if (data) {
            console.log('Uploaded in:', data.Location)
          }
        })
      })
      }
    })


    



    My ultimate goal is to upload this output to S3 bucket.