• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

External encoder exited with error 1

Offline
#1 erikwie
After upgrading from trial to personal license I wanted to try rendering a 4K timlapse instead of 1080P

I Export from LR 5.7.1 using the LRTimeLapse export plugin. LRTimeLapse starts when the export is complete and I get a Render Video dialog box.

It suggests 4K as output size and I keep everyting else as default. (24 fps. 1:1 speed. Quality high) and I do not check for any post prosessing.
Then I click on the Render video button and it starts to work, but it rather soon stops with an error message that says the external encoder har errors.

The same video renders all fine in 1080P. In 3K it renders and completes without errors, but I am unable to playback the final file. Windows media player sais it doesn't support the filetype or codec, but that should be the same as in 1080p i thought.


error log:
Quote:Please send the content of this log-file to support@lrtimelapse.com if you experience any problems.

[2015-03-24 10:41:21] DEBUG: Loading properties from C:\Users\Erik Wie\AppData\Roaming\LRTimelapse\user.props
[2015-03-24 10:41:21] INFO: LRTimelapse 3.4.1 (2014-08-04)
[2015-03-24 10:41:21] INFO: © 2015 Gunther Wegner
[2015-03-24 10:41:21] INFO: http://lrtimelapse.com
[2015-03-24 10:41:21] INFO: Java version: 1.8.0_40 (32bit) from Oracle Corporation
[2015-03-24 10:41:21] INFO: Running on: Windows 7 locale: no_NO
[2015-03-24 10:41:21] INFO: 32 bit
[2015-03-24 10:41:21] INFO: ------------------------------------
[2015-03-24 10:41:23] INFO: Licensed to: Erik Wie, Horten - Private License.
[2015-03-24 10:41:23] INFO: Using W7/W8 task bar extensions.
[2015-03-24 10:41:23] DEBUG: Initializing directory chooser.
[2015-03-24 10:41:25] INFO: Done (dirchooser)...
[2015-03-24 10:41:25] DEBUG: Found render tasks!
[2015-03-24 10:41:25] DEBUG: Launching render Task: C:\Users\Erik Wie\Desktop\LRTimelaps\LRT_2015-03-22_-_Timelapse_D200_Unghestkurs_1._halvdel
[2015-03-24 10:41:25] DEBUG: Launching ExifTool: C:\Program Files (x86)\LRTimelapse 3\exiftool.exe
[2015-03-24 10:41:26] DEBUG: jpg sequence found.
[2015-03-24 10:41:26] INFO: ExifTool: 9.54
{ready}
[2015-03-24 10:41:26] DEBUG: Exif Tool available.
[2015-03-24 10:41:26] DEBUG: DNG Converter not found.
[2015-03-24 10:41:26] DEBUG: MPEG Encoder available.
[2015-03-24 10:41:26] INFO: Detected Screen size: 1366 x 768
[2015-03-24 10:41:26] INFO: Newest version: 3.4 (2014-06-05), current Version: 3.4.1 (2014-08-04)
[2015-03-24 10:42:52] DEBUG: Launching mpeg converter: C:\Program Files (x86)\LRTimelapse 3\ffmpeg.exe
[2015-03-24 10:42:52] DEBUG: Rendering in 4096x2744
[2015-03-24 10:42:52] DEBUG: Launched encoder.
[2015-03-24 10:42:52] DEBUG: Speed 1.0
[2015-03-24 10:42:52] DEBUG: Quality 2
[2015-03-24 10:42:52] DEBUG: Frame rate 23.976
[2015-03-24 10:42:52] DEBUG: Output cs 420
[2015-03-24 10:42:53] DEBUG: ffmpeg version N-57287-g712eff4 Copyright © 2000-2013 the FFmpeg developers
[2015-03-24 10:42:53] DEBUG: built on Oct 20 2013 19:47:46 with gcc 4.8.2 (GCC)
[2015-03-24 10:42:53] DEBUG: configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
[2015-03-24 10:42:53] DEBUG: libavutil 52. 47.101 / 52. 47.101
[2015-03-24 10:42:53] DEBUG: libavcodec 55. 37.102 / 55. 37.102
[2015-03-24 10:42:53] DEBUG: libavformat 55. 19.103 / 55. 19.103
[2015-03-24 10:42:53] DEBUG: libavdevice 55. 4.100 / 55. 4.100
[2015-03-24 10:42:53] DEBUG: libavfilter 3. 88.102 / 3. 88.102
[2015-03-24 10:42:53] DEBUG: libswscale 2. 5.101 / 2. 5.101
[2015-03-24 10:42:53] DEBUG: libswresample 0. 17.104 / 0. 17.104
[2015-03-24 10:42:53] DEBUG: libpostproc 52. 3.100 / 52. 3.100
[2015-03-24 10:42:53] DEBUG: Input #0, image2, from 'C:\Users\Erik Wie\Desktop\LRTimelaps\LRT_2015-03-22_-_Timelapse_D200_Unghestkurs_1._halvdel\LRT_%05d.jpg':
[2015-03-24 10:42:53] DEBUG: Duration: 00:00:11.76, start: 0.000000, bitrate: N/A
[2015-03-24 10:42:53] DEBUG: Stream #0:0: Video: mjpeg, yuvj444p(pc), 4096x2742, 25 tbr, 25 tbn, 25 tbc
[2015-03-24 10:42:53] DEBUG: [swscaler @ 043f8c20] deprecated pixel format used, make sure you did set range correctly
[2015-03-24 10:42:53] DEBUG: [libx264 @ 043cde20] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[2015-03-24 10:42:53] DEBUG: [libx264 @ 043cde20] profile High, level 5.1
[2015-03-24 10:42:53] DEBUG: [libx264 @ 043cde20] 264 - core 138 r2358 9e941d1 - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=16.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[2015-03-24 10:42:53] DEBUG: Output #0, mp4, to 'C:\Users\ERIKWI~1\AppData\Local\Temp\LRT_Render_3684197377685579427.mp4':
[2015-03-24 10:42:53] DEBUG: Metadata:
[2015-03-24 10:42:53] DEBUG: creation_time : 2015-03-24T10:42:52
[2015-03-24 10:42:53] DEBUG: encoder : Lavf55.19.103
[2015-03-24 10:42:53] DEBUG: Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 4096x2304, q=-1--1, 11988 tbn, 23.98 tbc
[2015-03-24 10:42:53] DEBUG: Stream mapping:
[2015-03-24 10:42:53] DEBUG: Stream #0:0 (mjpeg) -> scale
[2015-03-24 10:42:53] DEBUG: crop -> Stream #0:0 (libx264)
[2015-03-24 10:42:53] DEBUG: Press [q] to stop, [?] for help
[2015-03-24 10:43:11] DEBUG: x264 [error]: malloc of size 29709856 failed
[2015-03-24 10:43:11] DEBUG: Video encoding failed
[2015-03-24 10:43:11] ERROR: External encoder exited with error 1
[2015-03-24 10:43:11] INFO: Deleted incomplete file.
Offline
#2 gwegner
You are using a 32 bit java that will not provide enough memory.
Solution: Uninstall all java instances via control panel / add/remove programs, then install the latest 64 bit java from here:
http://www.java.com/en/download/manual.jsp
Check the LRTimelapse settings, tab external tools, make sure the encoder is set to "ffmpeg64.exe" not "ffmpeg.exe".
Restart LRTimelapse.
Check out my e-book Time Lapse Shooting and Processing!
Subscribe to the LRTimelapse Newsletter!

lrtimelapse.com - advanced Time Lapse Photography made easy!
gwegner.de - Fotografie, Zeitraffer, Video, Reisen.
facebook · Google+ · twitter · vimeo

...also check out: