Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (46)

Sur d’autres sites (8560)

  • Convert a RTMP stream to RTSP

    22 août 2016, par tankyx

    I am capturing a game using OBS-studio and streaming it in RTMP through my nginx server. My goal is to convert that RTMP flux to RTSP. How can I achieve that ? I have read about crtmpserver but It seems I can’t configure it.

  • Android Audio Mixing FMPEG, Mediarecorder file only merging to left channel, delayed

    12 avril 2016, par Jeremy

    working on an app that takes two sounds, and merges them together. I currently have two problems with it I cannot seem to figure out so would appreciate another set of eyes.

    1. File from MediaRecorder (voice file) merges into Left Channel Only. (I can only hear voice in left ear)
    2. The two files seem like there is a slight delay in the position as they are not aligned perfectly with the merge. Here is the method I have written.

      private void mixAudio(File mVoiceFile, File mBeatFile, File mRapFile){
         String files = "-i " + mVoiceFile.getAbsolutePath() + " -i " + mBeatFile.getAbsolutePath();
         String filter = " -filter_complex [0:a]volume=1.5[a1];[1:a]volume=0.6[a2];[a1][a2]amerge=inputs=2,volume=1.3,pan=stereo|c0code>

      }
      `

    and here is how I setup my MediaRecorder

    public void setRecorderSource(){
           mRapRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
           mRapRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4);
           mRapRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC);
           mRapRecorder.setAudioEncodingBitRate(128000);
           mRapRecorder.setAudioSamplingRate(44100);
           mRapRecorder.setAudioChannels(2);
           mRapRecorder.setOutputFile(mVoiceFile.getAbsolutePath());
    }`
  • Can I compile ffmpeg using cygwin so that I would get redistributable dll's of it ?

    14 juin 2014, par Rella

    So my point is to compile ffmpeg (I know that autobuild tools or minGW can be used but I want cygwin) using gcc to have a library (like .dll or, better .lib) usable from my windows visual studio C++ appication. Is it possible and what are main instructions on how to do such thing ?