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

Rendering fails: error setting option color_primaries to value 9

Offline
#1 gwegner
[size=small][font=arial, sans-serif]Q: I just upgraded to 4.7.3. I processed the files normally then the video rendering module started. It displayed a external error and stopped. The message referred me to the log file:[/font][/size]


Code:
[2016-11-10 02:42:51] DEBUG: [NULL @ 00000000061c40a0] Error setting option color_primaries to value 9.
[2016-11-10 02:42:51] DEBUG: Output #0, mp4, to 'C:\Users\Peter\AppData\Local\Temp\LRT_Render_1960153528087805315.mp4':
[2016-11-10 02:42:51] DEBUG:   Metadata:
[2016-11-10 02:42:51] DEBUG:     creation_time   : 2016-11-10T02:42:47
[2016-11-10 02:42:51] DEBUG:     Stream #0:0: Video: h264, yuvj420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 90k tbn, 25 tbc
[2016-11-10 02:42:51] DEBUG: Stream mapping:
[2016-11-10 02:42:51] DEBUG:   Stream #0:0 (mjpeg) -> scale
[2016-11-10 02:42:51] DEBUG:   crop -> Stream #0:0 (libx264)
[2016-11-10 02:42:51] DEBUG: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[2016-11-10 02:42:51] ERROR: External encoder exited with error 1
[2016-11-10 02:42:53] INFO: Deleted incomplete file.

[size=small][font=arial, sans-serif]A: [size=small][font=arial, sans-serif]from your log file I can see that your LRTimelapse settings are pointing to use very old versions of ffmpeg and exiftool. They are using the LRTimelapse 3 versions that you obviously still have in C:\Program Files (x86)\LRTimelapse 3\[/font][/size]

[size=small][font=arial, sans-serif]Please make sure to uninstall LRTimelapse 3 completely, make sure that the folder C:\Program Files (x86)\LRTimelapse 3\ is deleted.
Then try again with LRTimelapse 4. This will reset the settings for the external programs. You can double check that in the log, or in the LRTimelapse settings, under "External Tools".[/font][/size]
[/font][/size]
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
Offline
#2 djoubert
Thank you,
I met this issue, and applying what you propose allows to get the render video
Dominique
Offline
#3 oldrin89
Hi gwegner
 
I am also new to LRTimelapse and enjoyed the easy straight forward work flow so far with my first time laps attempt. Unfortunately an error occurred while rendering the video. Maybe it is similar to the previous posted issue here. Can you help me?


Code:
[2016-12-20 20:07:02] INFO: LRTimelapse 4.7.4 (2016-11-26) Build 125
[2016-12-20 20:07:02] INFO: (c) 2016 Gunther Wegner
[2016-12-20 20:07:02] INFO: http://lrtimelapse.com
[2016-12-20 20:07:02] INFO: Java version: 1.8.0_111 (64bit) from Oracle Corporation
[2016-12-20 20:07:02] INFO: Running on: Windows 8.1 locale: en_US
[2016-12-20 20:07:02] INFO: Windows architecture: 64 bit
[2016-12-20 20:07:02] INFO: Found 8 processor cores.
[2016-12-20 20:07:02] INFO: Java runtime: 64 bit
[2016-12-20 20:07:02] INFO: ------------------------------------
[2016-12-20 20:07:02] INFO: No License Key found. Running LRTimelapse unlicensed for EVALUATION.
[2016-12-20 20:07:02] INFO: Using W7/W8 task bar extensions.
[2016-12-20 20:07:02] DEBUG: Initializing directory chooser.
[2016-12-20 20:07:03] INFO: Done (dirchooser)...
[2016-12-20 20:07:04] DEBUG: Launching ExifTool: C:\Program Files (x86)\LRTimelapse 3\exiftool.exe
[2016-12-20 20:07:05] INFO: ExifTool: 9.54 {ready}
[2016-12-20 20:07:05] DEBUG: Exif Tool available.
[2016-12-20 20:07:05] DEBUG: DNG Converter available.
[2016-12-20 20:07:05] DEBUG: MPEG Encoder available.
[2016-12-20 20:07:05] INFO: Detected 2 screens:
[2016-12-20 20:07:05] INFO: Screen 1: 1920 1080
[2016-12-20 20:07:05] INFO: Screen 2: 1920 1080
[2016-12-20 20:07:08] INFO: Latest version: 4.7.4 (2016-11-26), current Version: 4.7.4 (2016-11-26)
[2016-12-20 20:08:07] DEBUG: Loading E:\2016\2016\TimeLaps\LRT_Uetliberg_161218_V00
[2016-12-20 20:08:07] DEBUG: jpg sequence found.
[2016-12-20 20:08:07] DEBUG: Dimensions: 4096 x 2734
[2016-12-20 20:08:20] DEBUG: Launching mpeg converter: C:\Program Files (x86)\LRTimelapse 3\ffmpeg64.exe
[2016-12-20 20:08:20] DEBUG: Writing aspect ratio 3:2 to metadata of video file.
[2016-12-20 20:08:20] DEBUG: Launched encoder.
[2016-12-20 20:08:20] DEBUG:   Speed 1.0
[2016-12-20 20:08:20] DEBUG:   Quality 2
[2016-12-20 20:08:20] DEBUG:   Frame rate 24
[2016-12-20 20:08:20] DEBUG:   Output cs 420
[2016-12-20 20:08:20] DEBUG:   Width 1920
[2016-12-20 20:08:20] DEBUG:   Height 1280
[2016-12-20 20:08:21] DEBUG: ffmpeg version N-57287-g712eff4 Copyright (c) 2000-2013 the FFmpeg developers
[2016-12-20 20:08:21] DEBUG:   built on Oct 20 2013 20:00:08 with gcc 4.8.2 (GCC)
[2016-12-20 20:08:21] 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-12-20 20:08:21] DEBUG:   libavutil      52. 47.101 / 52. 47.101
[2016-12-20 20:08:21] DEBUG:   libavcodec     55. 37.102 / 55. 37.102
[2016-12-20 20:08:21] DEBUG:   libavformat    55. 19.103 / 55. 19.103
[2016-12-20 20:08:21] DEBUG:   libavdevice    55.  4.100 / 55.  4.100
[2016-12-20 20:08:21] DEBUG:   libavfilter     3. 88.102 /  3. 88.102
[2016-12-20 20:08:21] DEBUG:   libswscale      2.  5.101 /  2.  5.101
[2016-12-20 20:08:21] DEBUG:   libswresample   0. 17.104 /  0. 17.104
[2016-12-20 20:08:21] DEBUG:   libpostproc    52.  3.100 / 52.  3.100
[2016-12-20 20:08:21] DEBUG: Input #0, image2, from 'E:\2016\2016\TimeLaps\LRT_Uetliberg_161218_V00\LRT_%05d.jpg':
[2016-12-20 20:08:21] DEBUG:   Duration: 00:00:11.76, start: 0.000000, bitrate: N/A
[2016-12-20 20:08:21] DEBUG:     Stream #0:0: Video: mjpeg, yuvj444p(pc), 4096x2734, 25 tbr, 25 tbn, 25 tbc
[2016-12-20 20:08:21] DEBUG: [swscaler @ 0000000003dbd7e0] deprecated pixel format used, make sure you did set range correctly
[2016-12-20 20:08:21] DEBUG: [NULL @ 00000000003aaf20] Value 9.000000 for parameter 'color_primaries' out of range [1 - 8]
[2016-12-20 20:08:21] DEBUG: [NULL @ 00000000003aaf20] Error setting option color_primaries to value 9.
[2016-12-20 20:08:21] DEBUG: Output #0, mp4, to 'C:\Users\XX\AppData\Local\Temp\LRT_Render_84094323242263270.mp4':
[2016-12-20 20:08:21] DEBUG:   Metadata:
[2016-12-20 20:08:21] DEBUG:     creation_time   : 2016-12-20T20:08:20
[2016-12-20 20:08:21] DEBUG:     Stream #0:0: Video: h264, yuvj420p, 1920x1280 [SAR 1:1 DAR 3:2], q=-1--1, 90k tbn, 24 tbc
[2016-12-20 20:08:21] DEBUG: Stream mapping:
[2016-12-20 20:08:21] DEBUG:   Stream #0:0 (mjpeg) -> scale
[2016-12-20 20:08:21] DEBUG:   scale -> Stream #0:0 (libx264)
[2016-12-20 20:08:21] DEBUG: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[2016-12-20 20:08:21] ERROR: External encoder exited with error 1




Thank you very much for supporting me in advance,
Regards
Offline
#4 gwegner
It's exactly the same problem. Solution is described in the first post, just scroll up.
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: