LRTimelapse Forum

Full Version: 16bit .tif FFMPEG aspect ratio problem aborts movie export
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When attempting to use the ffmpeg movie encoder on 16 bit .tif sequences (exported by LRT) at source resolution (in this case 6720 x 4480 - shots from a Canon 5D MkIV), the export process is aborted due to a bug that reports the aspect ratio as "infinite";

Here's the relevant export log extract:

[size=x-small][font=Helvetica Neue][2016-11-08 10:17:44] INFO: LRTimelapse 4.7.2 (2016-11-02) Build 122[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:17:44] INFO: © 2016 Gunther Wegner[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:17:44] INFO: http://lrtimelapse.com[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:17:44] INFO: Java version: 1.8.0_77 (64bit) from Oracle Corporation[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:17:44] INFO: Running on: Mac OS X locale: en_AU[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:17:44] INFO: Found 16 processor cores.[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:17:44] INFO: Java runtime: 64 bit[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:17:44] INFO: ------------------------------------[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:17:45] INFO: Licensed to: XXXXXX - Professional License.[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:17:46] DEBUG: Initializing directory chooser.[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:17:46] INFO: Done (dirchooser)...[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:17:48] DEBUG: Launching ExifTool: /usr/local/bin/exiftool[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:17:48] INFO: ExifTool: 10.20[/font][/size]
[size=x-small][font=Helvetica Neue][size=x-small][font=Helvetica Neue][2016-11-08 10:17:48] DEBUG: Exif Tool available.[/font][/size]
[/font][/size]

[size=x-small][font=Helvetica Neue][2016-11-08 10:17:48] DEBUG: DNG Converter available.[/font][/size]
[size=x-small][font=Helvetica Neue][size=x-small][font=Helvetica Neue][2016-11-08 10:17:48] DEBUG: MPEG Encoder available.[/font][/size][/font][/size]

[size=x-small][font=Helvetica Neue]_________[/font][/size]
[size=x-small][font=Helvetica Neue][size=x-small][font=Helvetica Neue][2016-11-08 10:18:33] DEBUG: Loading sequence properties from /Volumes/Big_2/.lrt/lrtsequence.properties[/font][/size]
[/font][/size]

[size=x-small][font=Helvetica Neue][2016-11-08 10:18:33] WARN: Properties-file not found.[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:18:41] INFO: --- Loading directory: /Volumes/Dome_4[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:18:41] DEBUG: Loading sequence properties from /Volumes/Dome_4/.lrt/lrtsequence.properties[/font][/size]
[size=x-small][font=Helvetica Neue][size=x-small][font=Helvetica Neue][2016-11-08 10:18:41] WARN: Properties-file not found.[/font][/size]
 - a few of these warning appear throughout the log
____________[/font][/size]

[size=x-small][font=Helvetica Neue][size=x-small][font=Helvetica Neue][2016-11-08 10:20:00] DEBUG: tiff sequence found.[/font][/size]
[/font][/size]

[size=x-small][font=Helvetica Neue][2016-11-08 10:20:00] DEBUG: Dimensions: 6720 x 4480[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:20:15] DEBUG: Launching mpeg converter: /usr/local/bin/ffmpeg[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:20:15] DEBUG: tiff sequence found.[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:20:16] DEBUG: Writing aspect ratio Infinity to metadata of video file.[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:20:16] DEBUG: Launched encoder.[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:20:16] DEBUG:   Speed 1.0[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:20:16] DEBUG:   Quality 3[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:20:16] DEBUG:   Frame rate 30[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:20:16] DEBUG:   Output cs 422[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:20:16] DEBUG:   Width 6720[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:20:16] DEBUG:   Height 4480[/font][/size]
[size=x-small][font=Helvetica Neue][size=x-small][font=Helvetica Neue][2016-11-08 10:20:16] DEBUG: ffmpeg version 3.0 Copyright © 2000-2016 the FFmpeg developers[/font][/size][/font][/size]

[size=x-small][font=Helvetica Neue]______________________[/font][/size]

[size=x-small][font=Helvetica Neue][size=x-small][font=Helvetica Neue][2016-11-08 10:20:20] DEBUG:     Stream #0:0: Video: tiff, rgb48le, 6720x4480 [SAR 1:1 DAR 3:2], 25 tbr, 25 tbn, 25 tbc[/font][/size]
[/font][/size]

[size=x-small][font=Helvetica Neue][2016-11-08 10:20:20] DEBUG: Invalid aspect ratio: Infinity[/font][/size]
[size=x-small][font=Helvetica Neue][2016-11-08 10:20:20] ERROR: External encoder exited with error 1[/font][/size]
[size=x-small][font=Helvetica Neue][size=x-small][font=Helvetica Neue][2016-11-08 10:20:23] INFO: Deleted incomplete file.[/font][/size]

[size=small]____________________[/size][/font][/size]


[size=x-small][font=Helvetica Neue][size=small]Presumably a division by 0 is occurring somewhere?

[/size][/font][/size]

[attachment=1604]
I'm working on this. Until I release a fixed update, please reinstall 4.7.1. You can find it on http://lrtimelapse.com/download
I've just uploaded 4.7.3, which fixes this issue. Please upgrade and let me know. http://lrtimelapse.com/download