Page MenuHomePhabricator

Transcode fails on 'Alaskan Huskies' video (ffmpeg2theora 2-pass
Closed, ResolvedPublic

Description

I reset the .ogv transcodes on https://commons.wikimedia.org/wiki/File:Alaskan_Huskies_-_Sled_Dogs_-_Ivalo_2013.ogv to compare quality with the newer libraries and 2-pass encoding, but they're failing out at the second pass:

'/usr/bin/ffmpeg2theora' '/tmp/localcopy_4b6d25d06fc4-1.ogv' -V '160' -F '15' -a '-1' -H '44100' -c '2' --no-upscaling --two-pass --optimize --keyint '128' --buf-delay '256' --width '284' --height '160' --aspect '284:160' -o '/tmp/transcode_160p.ogvf7cff9ff830b-1.ogv'

Exitcode: 1
Memory: 4194304

[ogg @ 0x14e5120] Broken file, keyframe not correctly marked.
Input #0, ogg, from '/tmp/localcopy_4b6d25d06fc4-1.ogv':
  Duration: 00:06:22.51, start: 0.000000, bitrate: 17087 kb/s
    Stream #0:0: Data: none
    Stream #0:1: Video: theora, yuv420p, 1920x1080, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
    Metadata:
      ENCODER         : ffmpeg2theora-0.29
      SOURCE_OSHASH   : 66bd89afedeedb50
    Stream #0:2: Audio: vorbis, 48000 Hz, stereo, fltp, 80 kb/s
    Metadata:
      ENCODER         : ffmpeg2theora-0.29
      SOURCE_OSHASH   : 66bd89afedeedb50
  Pixel Aspect Ratio: 1.00/1   Frame Aspect Ratio: 1.77/1
  Resize: 1920x1080 => 284x160
  Resample Framerate: 29.970 => 15.000
  Resample: 48000Hz => 44100Hz
[swscaler @ 0x1d3bb20] Warning: data is not aligned! This can lead to a speedloss

Scanning first pass pos: 0:00:00.00 ET: 00:00:00             
Scanning first pass pos: 0:00:01.46 ET: 00:00:00             
Scanning first pass pos: 0:00:02.00 ET: 00:00:00             [ogg @ 0x14e5120] Broken file, keyframe not correctly marked.

Scanning first pass pos: 0:00:03.00 ET: 00:00:00             [ogg @ 0x14e5120] Broken file, keyframe not correctly marked.

Scanning first pass pos: 0:00:04.26 ET: 00:00:00             
Scanning first pass pos: 0:00:04.80 ET: 00:01:18             

... [snipped] ...

  0:06:00.80 audio: 49kbps video: 160kbps, ET: 00:00:15, est. size: 9.5 MB   
  0:06:01.30 audio: 49kbps video: 160kbps, ET: 00:00:15, est. size: 9.5 MB   [ogg @ 0x14e4fe0] Broken file, keyframe not correctly marked.

  0:06:01.82 audio: 49kbps video: 160kbps, ET: 00:00:14, est. size: 9.5 MB   
  0:06:02.33 audio: 49kbps video: 160kbps, ET: 00:00:14, est. size: 9.5 MB   
  0:06:02.93 audio: 49kbps video: 160kbps, ET: 00:00:14, est. size: 9.5 MB   Error submitting pass data in second pass.

The warnings about incorrectly marked keyframes may or may not be the cause of the 2-pass failure.

Event Timeline

brion created this task.Oct 12 2015, 1:11 PM
brion claimed this task.
brion raised the priority of this task from to Needs Triage.
brion updated the task description. (Show Details)
brion added a project: TimedMediaHandler.
brion added a subscriber: brion.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 12 2015, 1:11 PM
TheDJ moved this task from Backlog to Transcoding on the TimedMediaHandler board.Oct 21 2015, 6:59 PM
TheDJ changed the task status from Open to Stalled.Feb 18 2016, 4:23 PM
Restricted Application added a subscriber: StudiesWorld. · View Herald TranscriptFeb 18 2016, 4:23 PM
Yann closed this task as Resolved.Feb 2 2017, 1:52 PM