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

FFmpeg videoeditor only works with audio and video available

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed and reviewed
    • Affects versions: 2.0.0
    • Fix versions: 2.0.0
    • Components: Backend Software
    • Labels:
      None
    • Severity:
      Non Functioning
    • Steps to reproduce:
      Hide
      The ffmpeg command of the videoeditor uses a filter which needs audio [0:a]. So a video without audio will fail processing:

      ffmpeg -y -i track.mov -filter_complex [0:v]trim=0.00:duration=10.44,setpts=PTS-STARTPTS,fade=t=in:st=0:d=2.0,fade=t=out:st=8.44:d=2.0[v0];[0:a]atrim=0.00:duration=10.44,asetpts=PTS-STARTPTS,afade=t=in:st=0:d=2.0,afade=t=out:st=8.44:d=2.0[a0] -strict -2 -preset veryfast -crf 18 -tune film -map [a0] -map [v0] -c:v libx264 -c:a aac work_track.mov.mp4

      Make sure the ffmpeg command does only add the necessary audio/video filters if a audio or video track is available.
      Show
      The ffmpeg command of the videoeditor uses a filter which needs audio [0:a]. So a video without audio will fail processing: ffmpeg -y -i track.mov -filter_complex [0:v]trim=0.00:duration=10.44,setpts=PTS-STARTPTS,fade=t=in:st=0:d=2.0,fade=t=out:st=8.44:d=2.0[v0];[0:a]atrim=0.00:duration=10.44,asetpts=PTS-STARTPTS,afade=t=in:st=0:d=2.0,afade=t=out:st=8.44:d=2.0[a0] -strict -2 -preset veryfast -crf 18 -tune film -map [a0] -map [v0] -c:v libx264 -c:a aac work_track.mov.mp4 Make sure the ffmpeg command does only add the necessary audio/video filters if a audio or video track is available.

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              wsmirnow Waldemar Smirnow (Inactive)
              Reporter:
              lrohner Lukas Rohner
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases