Posts: 3
Threads: 1
Joined: Jun 2015
Posts: 3
Threads: 1
Joined: Jun 2015
Hello,
I don't seem to be able to render 4K videos now. I upgraded to version 4.7.3 and began working on a new video. I can render it in 1080 and 3K, but I get an error when rendering 4K. Changing quality, sharpening or motion blur don't seem to fix the problem. The render begins, but quickly give me an error: "The external encoder returned an error. Please check the log file (info/log) for details."
I read the FAQ and suspected that perhaps the TIFF files I generated had different crop sizes and maybe that was causing the problem. I then tried re-rendering an old project that had worked, and that project now also suffers the same problem. My new project returns the error after 28 frames. The old project returns the error after 43 frames.
Here is the log file contents:
[2016-11-24 18:37:06] DEBUG: Launching mpeg converter: C:\Program Files (x86)\LRTimelapse 4\ffmpeg64.exe
[2016-11-24 18:37:06] DEBUG: Writing aspect ratio 16:9 to metadata of video file.
[2016-11-24 18:37:06] DEBUG: Launched encoder.
[2016-11-24 18:37:06] DEBUG: Speed 1.0
[2016-11-24 18:37:06] DEBUG: Quality 3
[2016-11-24 18:37:06] DEBUG: Frame rate 29.97
[2016-11-24 18:37:06] DEBUG: Output cs 420
[2016-11-24 18:37:06] DEBUG: Width 3840
[2016-11-24 18:37:06] DEBUG: Height 2160
[2016-11-24 18:37:07] DEBUG: ffmpeg version N-80335-gcb46b78 Copyright © 2000-2016 the FFmpeg developers
[2016-11-24 18:37:07] DEBUG: built with gcc 5.4.0 (GCC)
[2016-11-24 18:37:07] DEBUG: configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
[2016-11-24 18:37:07] DEBUG: libavutil 55. 24.100 / 55. 24.100
[2016-11-24 18:37:07] DEBUG: libavcodec 57. 46.100 / 57. 46.100
[2016-11-24 18:37:07] DEBUG: libavformat 57. 38.100 / 57. 38.100
[2016-11-24 18:37:07] DEBUG: libavdevice 57. 0.101 / 57. 0.101
[2016-11-24 18:37:07] DEBUG: libavfilter 6. 46.101 / 6. 46.101
[2016-11-24 18:37:07] DEBUG: libswscale 4. 1.100 / 4. 1.100
[2016-11-24 18:37:07] DEBUG: libswresample 2. 1.100 / 2. 1.100
[2016-11-24 18:37:07] DEBUG: libpostproc 54. 0.100 / 54. 0.100
[2016-11-24 18:37:08] DEBUG: Input #0, image2, from 'G:\General photographs\2016\2016-05-06 Nubble Time lapse\tiffs deflickered\LRT_2016-05-06_Nubble_Time_lapse\LRT_%05d.tif':
[2016-11-24 18:37:08] DEBUG: Duration: 00:00:30.80, start: 0.000000, bitrate: N/A
[2016-11-24 18:37:08] DEBUG: Stream #0:0: Video: tiff, rgb48le, 5472x3078 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
[2016-11-24 18:37:08] DEBUG: [swscaler @ 05042f40] deprecated pixel format used, make sure you did set range correctly
[2016-11-24 18:37:08] DEBUG: [libx264 @ 05031be0] using SAR=1/1
[2016-11-24 18:37:08] DEBUG: [libx264 @ 05031be0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[2016-11-24 18:37:08] DEBUG: [libx264 @ 05031be0] profile High, level 5.1
[2016-11-24 18:37:08] DEBUG: [libx264 @ 05031be0] 264 - core 148 r2694 3b70645 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - 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=12 lookahead_threads=2 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=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=10.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[2016-11-24 18:37:08] DEBUG: [mp4 @ 0390e6a0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[2016-11-24 18:37:08] DEBUG: Output #0, mp4, to 'C:\Users\ADAM~1.ORI\AppData\Local\Temp\LRT_Render_2137292520228066684.mp4':
[2016-11-24 18:37:08] DEBUG: Metadata:
[2016-11-24 18:37:08] DEBUG: creation_time : 2016-11-24T18:37:06
[2016-11-24 18:37:08] DEBUG: encoder : Lavf57.38.100
[2016-11-24 18:37:08] DEBUG: Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuvj420p(pc, bt2020c/bt2020/bt2020-10), 3840x2160 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 11988 tbn, 29.97 tbc
[2016-11-24 18:37:08] DEBUG: Metadata:
[2016-11-24 18:37:08] DEBUG: encoder : Lavc57.46.100 libx264
[2016-11-24 18:37:08] DEBUG: Side data:
[2016-11-24 18:37:08] DEBUG: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
[2016-11-24 18:37:08] DEBUG: Stream mapping:
[2016-11-24 18:37:08] DEBUG: Stream #0:0 (tiff) -> scale
[2016-11-24 18:37:08] DEBUG: scale -> Stream #0:0 (libx264)
[2016-11-24 18:37:08] DEBUG: Press [q] to stop, [?] for help
[2016-11-24 18:37:31] DEBUG: G:\General photographs\2016\2016-05-06 Nubble Time lapse\tiffs deflickered\LRT_2016-05-06_Nubble_Time_lapse\LRT_%05d.tif: Cannot allocate memory
[2016-11-24 18:37:32] DEBUG: G:\General photographs\2016\2016-05-06 Nubble Time lapse\tiffs deflickered\LRT_2016-05-06_Nubble_Time_lapse\LRT_%05d.tif: Cannot allocate memory
[2016-11-24 18:37:33] DEBUG: Last message repeated 1 times
[2016-11-24 18:37:33] DEBUG: G:\General photographs\2016\2016-05-06 Nubble Time lapse\tiffs deflickered\LRT_2016-05-06_Nubble_Time_lapse\LRT_%05d.tif: Cannot allocate memory
[2016-11-24 18:37:33] DEBUG: x264 [error]: malloc of size 26199520 failed
[2016-11-24 18:37:33] DEBUG: Video encoding failed
[2016-11-24 18:37:36] DEBUG: Conversion failed!
[2016-11-24 18:37:36] ERROR: External encoder exited with error 1
[2016-11-24 18:43:55] INFO: Deleted incomplete file.
I see the errors showing that it "Cannot allocate memory." I don't understand these errors as my system has 16 Gig. I've monitored memory usage using task manager and memory utilization never goes above 43%. Similarly, I have plenty of room on my hard drive.
Other render settings:
MP4
4K UHD
Frame Rate 29.97
Speed 1:1
Quality: Very High
Color Sampling 420
No motion blur
No sharpen
No copyright overlay
Can you help?
VR
Adam
I don't seem to be able to render 4K videos now. I upgraded to version 4.7.3 and began working on a new video. I can render it in 1080 and 3K, but I get an error when rendering 4K. Changing quality, sharpening or motion blur don't seem to fix the problem. The render begins, but quickly give me an error: "The external encoder returned an error. Please check the log file (info/log) for details."
I read the FAQ and suspected that perhaps the TIFF files I generated had different crop sizes and maybe that was causing the problem. I then tried re-rendering an old project that had worked, and that project now also suffers the same problem. My new project returns the error after 28 frames. The old project returns the error after 43 frames.
Here is the log file contents:
[2016-11-24 18:37:06] DEBUG: Launching mpeg converter: C:\Program Files (x86)\LRTimelapse 4\ffmpeg64.exe
[2016-11-24 18:37:06] DEBUG: Writing aspect ratio 16:9 to metadata of video file.
[2016-11-24 18:37:06] DEBUG: Launched encoder.
[2016-11-24 18:37:06] DEBUG: Speed 1.0
[2016-11-24 18:37:06] DEBUG: Quality 3
[2016-11-24 18:37:06] DEBUG: Frame rate 29.97
[2016-11-24 18:37:06] DEBUG: Output cs 420
[2016-11-24 18:37:06] DEBUG: Width 3840
[2016-11-24 18:37:06] DEBUG: Height 2160
[2016-11-24 18:37:07] DEBUG: ffmpeg version N-80335-gcb46b78 Copyright © 2000-2016 the FFmpeg developers
[2016-11-24 18:37:07] DEBUG: built with gcc 5.4.0 (GCC)
[2016-11-24 18:37:07] DEBUG: configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
[2016-11-24 18:37:07] DEBUG: libavutil 55. 24.100 / 55. 24.100
[2016-11-24 18:37:07] DEBUG: libavcodec 57. 46.100 / 57. 46.100
[2016-11-24 18:37:07] DEBUG: libavformat 57. 38.100 / 57. 38.100
[2016-11-24 18:37:07] DEBUG: libavdevice 57. 0.101 / 57. 0.101
[2016-11-24 18:37:07] DEBUG: libavfilter 6. 46.101 / 6. 46.101
[2016-11-24 18:37:07] DEBUG: libswscale 4. 1.100 / 4. 1.100
[2016-11-24 18:37:07] DEBUG: libswresample 2. 1.100 / 2. 1.100
[2016-11-24 18:37:07] DEBUG: libpostproc 54. 0.100 / 54. 0.100
[2016-11-24 18:37:08] DEBUG: Input #0, image2, from 'G:\General photographs\2016\2016-05-06 Nubble Time lapse\tiffs deflickered\LRT_2016-05-06_Nubble_Time_lapse\LRT_%05d.tif':
[2016-11-24 18:37:08] DEBUG: Duration: 00:00:30.80, start: 0.000000, bitrate: N/A
[2016-11-24 18:37:08] DEBUG: Stream #0:0: Video: tiff, rgb48le, 5472x3078 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
[2016-11-24 18:37:08] DEBUG: [swscaler @ 05042f40] deprecated pixel format used, make sure you did set range correctly
[2016-11-24 18:37:08] DEBUG: [libx264 @ 05031be0] using SAR=1/1
[2016-11-24 18:37:08] DEBUG: [libx264 @ 05031be0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[2016-11-24 18:37:08] DEBUG: [libx264 @ 05031be0] profile High, level 5.1
[2016-11-24 18:37:08] DEBUG: [libx264 @ 05031be0] 264 - core 148 r2694 3b70645 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - 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=12 lookahead_threads=2 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=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=10.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[2016-11-24 18:37:08] DEBUG: [mp4 @ 0390e6a0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[2016-11-24 18:37:08] DEBUG: Output #0, mp4, to 'C:\Users\ADAM~1.ORI\AppData\Local\Temp\LRT_Render_2137292520228066684.mp4':
[2016-11-24 18:37:08] DEBUG: Metadata:
[2016-11-24 18:37:08] DEBUG: creation_time : 2016-11-24T18:37:06
[2016-11-24 18:37:08] DEBUG: encoder : Lavf57.38.100
[2016-11-24 18:37:08] DEBUG: Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuvj420p(pc, bt2020c/bt2020/bt2020-10), 3840x2160 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 11988 tbn, 29.97 tbc
[2016-11-24 18:37:08] DEBUG: Metadata:
[2016-11-24 18:37:08] DEBUG: encoder : Lavc57.46.100 libx264
[2016-11-24 18:37:08] DEBUG: Side data:
[2016-11-24 18:37:08] DEBUG: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
[2016-11-24 18:37:08] DEBUG: Stream mapping:
[2016-11-24 18:37:08] DEBUG: Stream #0:0 (tiff) -> scale
[2016-11-24 18:37:08] DEBUG: scale -> Stream #0:0 (libx264)
[2016-11-24 18:37:08] DEBUG: Press [q] to stop, [?] for help
[2016-11-24 18:37:31] DEBUG: G:\General photographs\2016\2016-05-06 Nubble Time lapse\tiffs deflickered\LRT_2016-05-06_Nubble_Time_lapse\LRT_%05d.tif: Cannot allocate memory
[2016-11-24 18:37:32] DEBUG: G:\General photographs\2016\2016-05-06 Nubble Time lapse\tiffs deflickered\LRT_2016-05-06_Nubble_Time_lapse\LRT_%05d.tif: Cannot allocate memory
[2016-11-24 18:37:33] DEBUG: Last message repeated 1 times
[2016-11-24 18:37:33] DEBUG: G:\General photographs\2016\2016-05-06 Nubble Time lapse\tiffs deflickered\LRT_2016-05-06_Nubble_Time_lapse\LRT_%05d.tif: Cannot allocate memory
[2016-11-24 18:37:33] DEBUG: x264 [error]: malloc of size 26199520 failed
[2016-11-24 18:37:33] DEBUG: Video encoding failed
[2016-11-24 18:37:36] DEBUG: Conversion failed!
[2016-11-24 18:37:36] ERROR: External encoder exited with error 1
[2016-11-24 18:43:55] INFO: Deleted incomplete file.
I see the errors showing that it "Cannot allocate memory." I don't understand these errors as my system has 16 Gig. I've monitored memory usage using task manager and memory utilization never goes above 43%. Similarly, I have plenty of room on my hard drive.
Other render settings:
MP4
4K UHD
Frame Rate 29.97
Speed 1:1
Quality: Very High
Color Sampling 420
No motion blur
No sharpen
No copyright overlay
Can you help?
VR
Adam