Hi All, first of thanks in advance for anyone which will be able to help me out.
I'm developing a command line tool for simplifying the generation of review material , which includes a slate (a first image with notes) and then the proper clip with text, masks , fonts, luts etc.... . The final command gets generated by python (a bit a wall of text), and spawns a process which calls ffmpeg with the full command generated. Now, this seems all to be working fine under linux, but on winows, I started finding a bunch of issues. first this : https://trac.ffmpeg.org/ticket/2166 <https://www.google.com/url?q=https%3A%2F%2Ftrac.ffmpeg.org%2Fticket%2F2166&sa=D&sntz=1&usg=AFQjCNEzmfy7GKPE-4mOSGJ-ECSz3vK3jA>,which I have fixed on my side, but doesn't really look nice.... Then I have a problem with the luts, even if I format the full path to the lut correctly, it fails loading it with a strange message, which I can't undestand if it's given by the content of the lut, or the path itself. In the first case I'm wondering , could it be because the 3dl lut has been generated under linux (different endline?) and in case , is there any solution apart duplicating the luts for each os . (note the luts have been generated through ociobakelut) Here a simplified version of the command which is failing on windows: (please note, on linux works fine) Thanks. L. Command: C:\Users\efesto\Desktop>ffmpeg -threads 0 -y -start_number 1798 -i E:\A012C006_1 01030_L1O3\A012C006_101030_L1O3.%4d.dpx -c:v libx264 -crf 18 -preset slow -stric t -2 -movflags faststart -filter_complex "[0:v]lut3d='C\\:/Python27/lib/site-pac kages/efesto_review/resource/luts/Cineon-to-SLog.3dl',lut3d='E\\:/efesto/efesto- review/resource/config/K_TONE Vintage_KODACHROME.cube',ut3d='C\\:/Python27/lib/s ite-packages/efesto_review/resource/luts/SLog-to-sRGB.3dl',scale=1920:1080[clip] ;[slate][clip] concat=n=2:v=1, scale=1920:1080, fps=25[v]" -map [v] "C:\Users\ef esto\Desktop\out.mov" -v trace and here is the trace : Opening an input file: E:\A012C006_101030_L1O3\A012C006_101030_L1O3.%4d.dpx. Probing image2 score:100 size:0 [AVIOContext @ 0000000002f21020] Statistics: 8302592 bytes read, 0 seeks [image2 @ 0000000002f17780] Probe buffer size limit of 5000000 bytes reached [image2 @ 0000000002f17780] 0: start_time: 0.000 duration: 0.000 [image2 @ 0000000002f17780] stream: start_time: 0.000 duration: 5.840 bitrate=0 kb/s Input #0, image2, from 'E:\A012C006_101030_L1O3\A012C006_101030_L1O3.%4d.dpx': Duration: 00:00:05.84, start: 0.000000, bitrate: N/A Stream #0:0, 1, 1/25: Video: dpx, 1 reference frame, gbrp10le, 1920x1080 [SA R 1:1 DAR 16:9], 1/25, 25 tbr, 25 tbn, 25 tbc Successfully opened the file. Parsing a group of options: output file C:\Users\efesto\Desktop\out.mov. Applying option c:v (codec name) with argument libx264. Applying option map (set input stream mapping) with argument [v]. Successfully parsed a group of options. Opening an output file: C:\Users\efesto\Desktop\out.mov. detected 1 logical cores [Parsed_lut3d_0 @ 0000000002f22ea0] Setting 'file' to value 'C\' [Parsed_lut3d_0 @ 0000000002f22ea0] Setting 'interp' to value '/Python27/lib/sit e-packages/efesto_review/resource/luts/Cineon-to-SLog.3dl' [lut3d @ 0000000005a80060] [Eval @ 000000000022e6e0] Undefined constant or missi ng '(' in '/Python27/lib/site-packages/efesto_review/resource/luts/Cineon-to-SLo g.3dl' [lut3d @ 0000000005a80060] Unable to parse option value "/Python27/lib/site-pack ages/efesto_review/resource/luts/Cineon-to-SLog.3dl" [lut3d @ 0000000005a80060] [Eval @ 000000000022e750] Undefined constant or missi ng '(' in '/Python27/lib/site-packages/efesto_review/resource/luts/Cineon-to-SLo g.3dl' [lut3d @ 0000000005a80060] Unable to parse option value "/Python27/lib/site-pack ages/efesto_review/resource/luts/Cineon-to-SLog.3dl" [lut3d @ 0000000005a80060] Error setting option interp to value /Python27/lib/si te-packages/efesto_review/resource/luts/Cineon-to-SLog.3dl. [Parsed_lut3d_0 @ 0000000002f22ea0] Error applying options to the filter. [AVFilterGraph @ 0000000002f17de0] Error initializing filter 'lut3d' with args ' C\\:/Python27/lib/site-packages/efesto_review/resource/luts/Cineon-to-SLog.3dl' Error configuring filters. -- ------------------------------------------------------------------------------------------------------------------- Efesto Lab LTD, Chancery Station House, 31-33 High Holborn, London WC1V 6AX ------------------------------------------------------------------------------------------------------------------- www.efestolab.uk skype: lorenzo.efestolab phone: +44 7961031018 _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user