LRTimelapse Forum
External encoder exited with error 1 - Printable Version

+- LRTimelapse Forum (https://forum.lrtimelapse.com)
+-- Forum: Archive (https://forum.lrtimelapse.com/Forum-archive)
+--- Forum: LRT4 - Archive (https://forum.lrtimelapse.com/Forum-lrt4-archive)
+--- Thread: External encoder exited with error 1 (/Thread-external-encoder-exited-with-error-1--8458)



External encoder exited with error 1 - Marek Mendel - 2016-11-27

Hello Gunther,
I just upgraded to latest version of LRT, but first sequence that I wanted to render shows me this error. It was edited in previous version of LRT.
log:
[2016-11-27 10:34:02] DEBUG: Launching mpeg converter: C:\Program Files (x86)\LRTimelapse 3\ffmpeg64.exe
[2016-11-27 10:34:02] DEBUG: Writing aspect ratio 16:9 to metadata of video file.
[2016-11-27 10:34:02] DEBUG: Launched encoder.
[2016-11-27 10:34:02] DEBUG:   Speed 1.0
[2016-11-27 10:34:02] DEBUG:   Quality 4
[2016-11-27 10:34:02] DEBUG:   Frame rate 30
[2016-11-27 10:34:02] DEBUG:   Output cs 420
[2016-11-27 10:34:02] DEBUG:   Width 1920
[2016-11-27 10:34:02] DEBUG:   Height 1080
[2016-11-27 10:34:02] DEBUG: ffmpeg version N-57287-g712eff4 Copyright © 2000-2013 the FFmpeg developers
[2016-11-27 10:34:02] DEBUG:   built on Oct 20 2013 20:00:08 with gcc 4.8.2 (GCC)
[2016-11-27 10:34:02] 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
[2016-11-27 10:34:02] DEBUG:   libavutil      52. 47.101 / 52. 47.101
[2016-11-27 10:34:02] DEBUG:   libavcodec     55. 37.102 / 55. 37.102
[2016-11-27 10:34:02] DEBUG:   libavformat    55. 19.103 / 55. 19.103
[2016-11-27 10:34:02] DEBUG:   libavdevice    55.  4.100 / 55.  4.100
[2016-11-27 10:34:02] DEBUG:   libavfilter     3. 88.102 /  3. 88.102
[2016-11-27 10:34:02] DEBUG:   libswscale      2.  5.101 /  2.  5.101
[2016-11-27 10:34:02] DEBUG:   libswresample   0. 17.104 /  0. 17.104
[2016-11-27 10:34:02] DEBUG:   libpostproc    52.  3.100 / 52.  3.100
[2016-11-27 10:34:03] DEBUG: Input #0, image2, from 'M:\_TIMELAPSE\09_INDUSTRIAL\LRT_TL_161126_kaplicka\LRT_%05d.jpg':
[2016-11-27 10:34:03] DEBUG:   Duration: 00:00:20.00, start: 0.000000, bitrate: N/A
[2016-11-27 10:34:03] DEBUG:     Stream #0:0: Video: mjpeg, yuvj444p(pc), 4096x2304, 25 tbr, 25 tbn, 25 tbc
[2016-11-27 10:34:03] DEBUG: [swscaler @ 0000000002638d00] deprecated pixel format used, make sure you did set range correctly
[2016-11-27 10:34:03] DEBUG: [NULL @ 0000000002644600] Value 9.000000 for parameter 'color_primaries' out of range [1 - 8]
[2016-11-27 10:34:03] DEBUG: [NULL @ 0000000002644600] Error setting option color_primaries to value 9.
[2016-11-27 10:34:03] DEBUG: Output #0, mp4, to 'C:\Users\MENDEL~1\AppData\Local\Temp\LRT_Render_7924215792624418952.mp4':
[2016-11-27 10:34:03] DEBUG:   Metadata:
[2016-11-27 10:34:03] DEBUG:     creation_time   : 2016-11-27T10:34:02
[2016-11-27 10:34:03] DEBUG:     Stream #0:0: Video: h264, yuvj420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 90k tbn, 30 tbc
[2016-11-27 10:34:03] DEBUG: Stream mapping:
[2016-11-27 10:34:03] DEBUG:   Stream #0:0 (mjpeg) -> scale
[2016-11-27 10:34:03] DEBUG:   unsharp -> Stream #0:0 (libx264)
[2016-11-27 10:34:03] DEBUG: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[2016-11-27 10:34:03] ERROR: External encoder exited with error 1
[2016-11-27 10:34:09] INFO: Deleted incomplete file.


RE: External encoder exited with error 1 - Gunther - 2016-11-27

Your LRTimelapse 4 is using a very old version of ffmpeg from a former LRTimelapse installation.
Please see this faq: http://forum.lrtimelapse.com/Thread-rendering-fails-error-setting-option-color-primaries-to-value-9


RE: External encoder exited with error 1 - Marek Mendel - 2016-11-27

Now everything works, thank you for you support Gunther Smile