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

Could not copy temporary file to render directory

Offline
#1 markj
LRT 4.7.3 Pro on a late 2013 Mac Pro
3.5 Ghz 6-Core Intel Xeon E5
32 Gbytes RAM
AMD FirePro D500 graphics, 3072 MBytes RAM

Source images are from an EOS-5D Mk IV.

Here's the relevant section from the log file:

[2016-11-14 13:31:38] DEBUG: Launching mpeg converter: /usr/local/bin/ffmpeg
[2016-11-14 13:31:38] DEBUG: Writing aspect ratio 16:9 to metadata of video file.
[2016-11-14 13:31:38] DEBUG: Launched encoder.
[2016-11-14 13:31:38] DEBUG:   Speed 1.0
[2016-11-14 13:31:38] DEBUG:   Quality 2
[2016-11-14 13:31:38] DEBUG:   Frame rate 30
[2016-11-14 13:31:38] DEBUG:   Output cs 422
[2016-11-14 13:31:38] DEBUG:   Width 1280
[2016-11-14 13:31:38] DEBUG:   Height 856
[2016-11-14 13:31:38] DEBUG: ffmpeg version 3.1.4 Copyright © 2000-2016 the FFmpeg developers
[2016-11-14 13:31:38] DEBUG:   built with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
[2016-11-14 13:31:38] DEBUG:   configuration: --prefix=/Volumes/tempdisk/sw --as=yasm --enable-gpl --enable-version3 --enable-pthreads --disable-ffplay --disable-ffserver --disable-shared --enable-static --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-zlib --enable-avfilter --enable-fontconfig --enable-libfreetype --enable-libass --enable-libvidstab --enable-filters --enable-postproc --enable-runtime-cpudetect --disable-indev=qtkit --disable-indev=x11grab_xcb
[2016-11-14 13:31:38] DEBUG:   libavutil      55. 28.100 / 55. 28.100
[2016-11-14 13:31:38] DEBUG:   libavcodec     57. 48.101 / 57. 48.101
[2016-11-14 13:31:38] DEBUG:   libavformat    57. 41.100 / 57. 41.100
[2016-11-14 13:31:38] DEBUG:   libavdevice    57.  0.101 / 57.  0.101
[2016-11-14 13:31:38] DEBUG:   libavfilter     6. 47.100 /  6. 47.100
[2016-11-14 13:31:38] DEBUG:   libswscale      4.  1.100 /  4.  1.100
[2016-11-14 13:31:38] DEBUG:   libswresample   2.  1.100 /  2.  1.100
[2016-11-14 13:31:38] DEBUG:   libpostproc    54.  0.100 / 54.  0.100
[2016-11-14 13:31:38] DEBUG: Input #0, image2, from '/Volumes/Akitio Thunder2 Quad - Unit 1/Photographs/Toad Lily 2016/12-13 Nov/Time lapse/Video export/LRT_1646-_E4A-2186-7888/LRT_%05d.jpg':
[2016-11-14 13:31:38] DEBUG:   Duration: 00:03:48.12, start: 0.000000, bitrate: N/A
[2016-11-14 13:31:38] DEBUG:     Stream #0:0: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 4096x2731, 25 fps, 25 tbr, 25 tbn, 25 tbc
[2016-11-14 13:31:38] DEBUG: [swscaler @ 0x7fa1e100b200] deprecated pixel format used, make sure you did set range correctly
[2016-11-14 13:31:38] DEBUG: [mov @ 0x7fa1e0808000] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[2016-11-14 13:31:38] DEBUG: [mov @ 0x7fa1e0808000] Failed to parse creation_time "2016-11-14T13:31:38"
[2016-11-14 13:31:38] DEBUG: Output #0, mov, to '/var/folders/vg/8cj17xrn1jn8833y878w7vcm0000gn/T/LRT_Render_1401761349718650805.mov':
[2016-11-14 13:31:38] DEBUG:   Metadata:
[2016-11-14 13:31:38] DEBUG:     creation_time   : "2016-11-14T13:31:38"
[2016-11-14 13:31:38] DEBUG:     encoder         : Lavf57.41.100
[2016-11-14 13:31:38] DEBUG:     Stream #0:0: Video: prores (apcn / 0x6E637061), yuv422p10le(pc, bt2020c/bt2020/bt2020-10), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 30 fps, 15360 tbn, 30 tbc
[2016-11-14 13:31:38] DEBUG:     Metadata:
[2016-11-14 13:31:38] DEBUG:       encoder         : Lavc57.48.101 prores
[2016-11-14 13:31:38] DEBUG: Stream mapping:
[2016-11-14 13:31:38] DEBUG:   Stream #0:0 (mjpeg) -> scale
[2016-11-14 13:31:38] DEBUG:   crop -> Stream #0:0 (prores)
[2016-11-14 13:31:38] DEBUG: Press [q] to stop, [?] for help
[2016-11-14 13:39:59] DEBUG: video:1521076kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.002042%
[2016-11-14 13:39:59] DEBUG: External encoder finished successfully.
[2016-11-14 13:39:59] ERROR: Could not copy temporary file to render directory (/Volumes/Akitio Thunder2 Quad - Unit 1/Photographs/Toad Lily 2016/12-13 Nov/Time lapse/Video export/1646-_E4A-2186-7888_ProRes-422_720p_30_HQ.mov)
[2016-11-14 13:39:59] ERROR: /Volumes/Akitio Thunder2 Quad - Unit 1/Photographs/Toad Lily 2016/12-13 Nov/Time lapse/Video export/1646-_E4A-2186-7888_ProRes-422_720p_30_HQ.mov (Operation not permitted)
[2016-11-14 13:39:59] ERROR: The temporary file is still in: /var/folders/vg/8cj17xrn1jn8833y878w7vcm0000gn/T/LRT_Render_1401761349718650805.mov

======= END LOG FILE =======

I was able to manually copy/paste the rendered video file [1.56 Gbytes] from the temp directory to the intended target location.
Offline
#2 Gunther
Hi, the error was “operation not permitted“, I could imagine it being an issue with the folder permissions. Try checking that or use another output folder!

sent mobile via tapatalk...
Subscribe to: LRTimelapse Newsletter, Youtube Channel, Instagram, Facebook.
Offline
#3 markj
I just rendered a smaller video file to another directory in the same directory tree [same external hard drive] and it successfully wrote the video file to the destination directory without error:

[2016-11-14 17:47:03] DEBUG: Output #0, mov, to '/var/folders/vg/8cj17xrn1jn8833y878w7vcm0000gn/T/LRT_Render_3394569676254487611.mov':
[2016-11-14 17:47:03] DEBUG:   Metadata:
[2016-11-14 17:47:03] DEBUG:     creation_time   : "2016-11-14T17:47:03"
[2016-11-14 17:47:03] DEBUG:     encoder         : Lavf57.41.100
[2016-11-14 17:47:03] DEBUG:     Stream #0:0: Video: prores (apcn / 0x6E637061), yuv422p10le(pc, bt2020c/bt2020/bt2020-10), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 30 fps, 15360 tbn, 30 tbc
[2016-11-14 17:47:03] DEBUG:     Metadata:
[2016-11-14 17:47:03] DEBUG:       encoder         : Lavc57.48.101 prores
[2016-11-14 17:47:03] DEBUG: Stream mapping:
[2016-11-14 17:47:03] DEBUG:   Stream #0:0 (mjpeg) -> scale
[2016-11-14 17:47:03] DEBUG:   crop -> Stream #0:0 (prores)
[2016-11-14 17:47:03] DEBUG: Press [q] to stop, [?] for help
[2016-11-14 17:47:14] DEBUG: video:44421kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.003337%
[2016-11-14 17:47:15] DEBUG: External encoder finished successfully.
[2016-11-14 17:47:15] INFO: Copied temporary file to render directory.
[2016-11-14 17:47:15] INFO: ...deleted temporary file.
[2016-11-14 17:47:15] INFO: Rendered video is located at: /Volumes/Akitio Thunder2 Quad - Unit 1/Photographs/Toad Lily 2016/14 Nov/Time lapse/Video export/1646-_E4A-7958-8094_ProRes-422_720p_30_HQ.mov

==============

The target directory for which copying failed, and the target directory for which the copy was successful have identical permissions.  Only difference I can see is size of video file - successful one is smaller - 45.5 Mbytes instead of 1.56 Gbytes.

Cheers,
Mark
Offline
#4 Gunther
Some external drives have limitations in the allowed file sizes depending on the file system that is being used there. The message "operation not permitted" comes from the operating system. Please try copying that very file manually to the same destination folder and see, if that works.
Subscribe to: LRTimelapse Newsletter, Youtube Channel, Instagram, Facebook.
Offline
#5 markj
I included the following information in the original post:


Quote:[font=''Open Sans'', ''Myriad Pro'', Tahoma, Verdana, Arial, sans-serif]I was able to manually copy/paste the rendered video file [1.56 Gbytes] from the temp directory to the intended target location.[/font]

I routinely move and copy files bigger than this on this OS and Volume.  Here are the attributes of the folder - again, exactly same as the permissions on the folder to which LRT successfully copied the temp file after the render completed.


[size=x-small][font=Menlo]ls -dleO@ '//Volumes/Akitio Thunder2 Quad - Unit 1/Photographs/Toad Lily 2016/12-13 Nov/Time lapse'[/font][/size]

[size=x-small][font=Menlo]drwxr-xr-x  11411 markjohnston  staff  - 387974 Nov 14 13:32 //Volumes/Akitio Thunder2 Quad - Unit 1/Photographs/Toad Lily 2016/12-13 Nov/Time lapse[/font][/size]


Regards,
Mark
Offline
#6 Gunther
Hmm, that's strange. The message that LRTimelapse gets is from the operating system, so there must be something going on.
I'm sorry, but currently I have no explanation for that. Maybe as a workaround you could render to a local drive and then move the files to the external one. I'm pretty sure this is no general problem, at least I've had no other report of this problem yet.
Subscribe to: LRTimelapse Newsletter, Youtube Channel, Instagram, Facebook.
Offline
#7 markj
OK, thanks for taking a look!
Offline
#8 Gunther
One thing came into my mind: maybe the overall pathname: /Volumes/Akitio Thunder2 Quad - Unit 1/Photographs/Toad Lily 2016/14 Nov/Time lapse/Video export/1646-_E4A-7958-8094_ProRes-422_720p_30_HQ.mov is too long for the drive? You might try using a shallower path / shorter names. Maybe that helps.
Subscribe to: LRTimelapse Newsletter, Youtube Channel, Instagram, Facebook.

...also check out: