Uploaded image for project: 'Islandora'
  1. Islandora
  2. ISLANDORA-2363

ffmpeg safe pixel format specification

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: In Review
    • Priority: Critical
    • Resolution: Ready for Test
    • Fix Version/s: None
    • Component/s: Video Solution Pack
    • Labels:
      None

      Description

      By default, the solution pack generates MP4s which only playback successfully in Chrome. To create a "safe" MP4 which plays back in all browsers, ffmpeg recommends the following switch:

      -vf format=yuv420p

      Line 32 of my derivatives.inc now looks like this:
      $command = "$ffmpeg_executable -i $archival_path -f mp4 -vcodec libx264 -vf format=yuv420p -strict -2 -acodec aac -movflags +faststart $out_file";

      In summary, this setting recommendation produces an MP4 file which successfully plays on all browsers.

        Attachments

          Activity

            People

            Assignee:
            bradspry Brad Spry
            Reporter:
            bradspry Brad Spry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: