[FFmpeg-user] DCP creation
laurie hughes
whosoffering at hotmail.com
Thu Mar 10 07:36:29 CET 2016
I found this on the web
http://www.michaelcinquin.com/library/ffmpeg
and I am trying use the information here to make a working DCP via FFMEG
So far I have this code
/usr/local/bin/ffmpeg -i "/Volumes/JJ_ASSIST/aux_files/exports/160225_JJ_liam test/JJ_liam test_160225.mov" -r 24 -an -profile:v 3 -cinema_mode 1 -format 0 -numresolution 6 -compression_level 30 -prog_order 4 -pix_fmt gbrp12 -threads 12 -vf rgb2xyz /Volumes/JJ_ASSIST/aux_files/exports/160225_JJ_liamtest/%06d.j2c
but I am finding a lot of the options are not recognized
Last login: Thu Mar 10 17:11:11 on ttys004
You have new mail.
/var/folders/k8/2fwhyn6x3n98bkp63w4_jzrc0000gn/T/untitled\ text\ 5-479283211.152.command ; exit;
Admins-iMac:~ admin$ /var/folders/k8/2fwhyn6x3n98bkp63w4_jzrc0000gn/T/untitled\ text\ 5-479283211.152.command ; exit;
ffmpeg version 2.8.1 Copyright (c) 2000-2015 the FFmpeg developers
built with Apple LLVM version 7.0.0 (clang-700.1.76)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8.1_1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libfreetype --enable-libvorbis --enable-libvpx --enable-libass --enable-ffplay --enable-libfdk-aac --enable-libopus --enable-libquvi --enable-libx265 --enable-nonfree --enable-vda
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Unrecognized option 'cinema_mode'.
Error splitting the argument list: Option not found
I worked my way thru each error by removing the offending option each time
eg.
Unrecognized option 'numresolution'.
Error splitting the argument list: Option not found
Unrecognized option 'prog_order'.
Error splitting the argument list: Option not found
untill i got to this code
[AVFilterGraph @ 0x7f98b3600a40] No such filter: 'rgb2xyz'
Error opening filters!
and got to this code
/usr/local/bin/ffmpeg -i "/Volumes/JJ_ASSIST/aux_files/exports/160225_JJ_liam test/JJ_liam test_160225.mov" -r 24 -an -profile:v 3 -format 0 -compression_level 30 -pix_fmt gbrp12 -threads 12 /Volumes/JJ_ASSIST/aux_files/exports/160225_JJ_liamtest/%06d.j2c
where I ended up with this error
Last login: Thu Mar 10 17:29:44 on ttys006
You have new mail.
/var/folders/k8/2fwhyn6x3n98bkp63w4_jzrc0000gn/T/untitled\ text\ 5-479284242.799.command ; exit;
Admins-iMac:~ admin$ /var/folders/k8/2fwhyn6x3n98bkp63w4_jzrc0000gn/T/untitled\ text\ 5-479284242.799.command ; exit;
ffmpeg version 2.8.1 Copyright (c) 2000-2015 the FFmpeg developers
built with Apple LLVM version 7.0.0 (clang-700.1.76)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8.1_1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libfreetype --enable-libvorbis --enable-libvpx --enable-libass --enable-ffplay --enable-libfdk-aac --enable-libopus --enable-libquvi --enable-libx265 --enable-nonfree --enable-vda
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/JJ_ASSIST/aux_files/exports/160225_JJ_liam test/JJ_liam test_160225.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2016-03-03 02:10:13
timecode : 01:00:00:00
Duration: 00:02:47.17, start: 0.000000, bitrate: 38480 kb/s
Stream #0:0(eng): Video: dnxhd (AVdn / 0x6E645641), yuv422p(tv), 1920x1080, 36175 kb/s, 24 fps, 24 tbr, 24k tbn, 24k tbc (default)
Metadata:
creation_time : 2016-03-03 02:10:13
handler_name : Apple Alias Data Handler
encoder : Avid DNxHD Codec
Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default)
Metadata:
creation_time : 2016-03-03 02:10:13
handler_name : Apple Alias Data Handler
Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
creation_time : 2016-03-03 02:10:43
handler_name : Apple Alias Data Handler
timecode : 01:00:00:00
Incompatible pixel format 'gbrp12le' for codec 'jpeg2000', auto-selecting format 'rgb24'
Output #0, image2, to '/Volumes/JJ_ASSIST/aux_files/exports/160225_JJ_liamtest/%06d.j2c':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
timecode : 01:00:00:00
encoder : Lavf56.40.101
Stream #0:0(eng): Video: jpeg2000, rgb24, 1920x1080, q=2-31, 200 kb/s, 24 fps, 24 tbn, 24 tbc (default)
Metadata:
creation_time : 2016-03-03 02:10:13
handler_name : Apple Alias Data Handler
encoder : Lavc56.60.100 jpeg2000
Stream mapping:
Stream #0:0 -> #0:0 (dnxhd (native) -> jpeg2000 (native))
Press [q] to stop, [?] for help
[image2 @ 0x7fbe84800600] Could not open file : /Volumes/JJ_ASSIST/aux_files/exports/160225_JJ_liamtest/000001.j2c
av_interleaved_write_frame(): Input/output error
frame= 1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
video:885kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Conversion failed!
logout
My goal is to have a quick way to make DCPs. I realize there are a lot of other options but Id love to see if I can get FFMEG to create a jpeg2000 in XYZ colourspace.
Thanks in advance
L
More information about the ffmpeg-user
mailing list