Recherche avancée

Médias (0)

Mot : - Tags -/optimisation

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

Autres articles (55)

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

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (4735)

  • ffmpeg code not working aws lambda environment

    5 janvier 2021, par Akash Das

    I followed this article and deployed the Lambda functions and layers and set it up all fine.

    


    But I am facing a problem when I try converting the mp4 video into a 720p video, the ffmpeg commands that work in my Ubuntu 20.04 are not working in the Lambda and gives me error in the form of 0kb files in the destination folder.

    


    Can someone explain why this is happening ? The command that I used was :

    


    ffmpeg -i input.mp4 -s 1280x720 -c:a copy output.mp4


    


    I use this command in the Python file

    


    ffmpeg_cmd = "/opt/bin/ffmpeg -i \"" + s3_source_signed_url + "\" -f mp4 -s 1280x720 -c:a copy -" ___ . 


    


    This is the error I get :

    


    Errror

    


    The problem is that I used a code like this to get only the audio

    


    ffmpeg_cmd = "/opt/bin/ffmpeg -i \"" + s3_source_signed_url + "\" -f mp3 -ab 192000 -vn  -" ___ . 


    


    And it works as expected.

    


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

    


  • 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