Uploaded image for project: 'Opencast'
  1. MH-9181

FFmpeg mux of separate audio and video files causes audio quality degradation.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed and reviewed
    • Affects versions: 1.4.0, 1.3.1
    • Fix versions: 1.4.0
    • Labels:
      None
    • Severity:
      Incorrectly Functioning With Workaround
    • Steps to reproduce:
      Hide
      Steps to reproduce:
      1. In the admin UI select"upload recording"
      2. On Upload recording page select multiple files and up load a video with no audio track and a separate audio.
      3. Submit for processing.
       
       Actual Results:
       profile.mux-av.work.ffmpeg.command muxes the file to a low bit rate working file.
       
       Expected Results:
       profile.mux-av.work.ffmpeg.command muxes the video with no significant loss of quality.
       
       Workaround (if any):
       Edit :
      $FELIX_HOME/conf/encoding/matterhorn-movies.properties

      Replacing:
      profile.mux-av.work.ffmpeg.command = -i #{in.audio.path} -i #{in.video.path} -sameq -shortest -strict unofficial #{out.dir}/#{out.name}#{out.suffix}

      [Updated] With:
      profile.mux-av.work.ffmpeg.command = -strict unofficial -i #{in.video.path} -i #{in.audio.path} -sameq -shortest -acodec copy #{out.dir}/#{out.name}#{out.suffix}




      Show
      Steps to reproduce: 1. In the admin UI select"upload recording" 2. On Upload recording page select multiple files and up load a video with no audio track and a separate audio. 3. Submit for processing.    Actual Results:  profile.mux-av.work.ffmpeg.command muxes the file to a low bit rate working file.    Expected Results:  profile.mux-av.work.ffmpeg.command muxes the video with no significant loss of quality.    Workaround (if any):  Edit : $FELIX_HOME/conf/encoding/matterhorn-movies.properties Replacing: profile.mux-av.work.ffmpeg.command = -i #{in.audio.path} -i #{in.video.path} -sameq -shortest -strict unofficial #{out.dir}/#{out.name}#{out.suffix} [Updated] With: profile.mux-av.work.ffmpeg.command = -strict unofficial -i #{in.video.path} -i #{in.audio.path} -sameq -shortest -acodec copy #{out.dir}/#{out.name}#{out.suffix}
    • Tags (folksonomy):

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              jamesp James Perrin (Inactive)
              Reporter:
              stuartphillipson Stuart Phillipson
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases