Forum Replies Created
-
Perhaps I’m picking the wrong export options, but I am able to get an alpha channel with DNxHD, the only problem with DNxHD is that it’s limited to 1920×1080. When I try to use similar settings, or any settings, with DNxHR I can’t export any alpha channel info.
-
I heard back from CatDV support, I guess there is a little bit of a bug in regards to this issue in CatDV 11.1 and I’m told it will be fixed in the next update.
However CatDV 11.0.7 seems to be working correctly. I’m not sure what the differences between 11.0.7 and 11.1 are though so far I haven’t run into any issues with this version.
Thanks for your help John!
-
Full windows path for the sample file is “Q:\HD1288 – SFMM HIP Shoot 2014\3_Footage\HIP News Footage \RAW ProRes\CLIP0000180_000.mov”
If I relink or “attach” that file on windows and save, it will be offline when I open the CatDV project on Mac.
I wasn’t sure about the back/forward slashes because it looked like windows/mac was reversing the slash direction in the “Media Path” dialog box.
-
-
Where did you get help to write your script? I’m always on the look out for good sources for that sort of work and help.
-
Chad Gilmour
October 13, 2015 at 5:01 pm in reply to: Can ffmpeg create a Prores .mov with an Alpha?Yeah, it took me a long time before I realized it was actually the DNxHD codec that was the real issue.
Do you know if ffmpeg can combine the RGB or YUV info from one video file, the Alpha from another video file, and then encode 1 prores file with an alpha channel? I know it can kind of do that with audio, wasn’t sure if you could do that with video too.
-
I’m just speculating now, but I’m guessing it might be a frame rate issue. Try specifying the input frame rate and the output frame rate.
For example:
ffmpeg -ss 1 -t 10 -r 29.97 -i inputfile.mov -r 29.97 -vocdec copy -acodec copy outputfile.movI could be wrong on where I put the -r flags, so you might want to experiment, or maybe someone else can offer a suggestion. I think that -r before the -i flag tells ffmpeg that the incoming file will be treated as 29.97fps and the -r flag after the -i flag tells ffmpeg that the new file will be encoded at 29.97fps. I also know there’s some sort of “force frame rate” option as well, but I’ve never used it, so I don’t know if it would work for you here.
What frame rate are you using and are all of your video files the same frame rate?
-
Sorry, see below, also here is a .pdf of the output: 9334_untitled.pdf.zip
It did complain about not having global headers, but I’m not sure what that means… “codec for stream 1 does not use global headers but container format requires global headers”
EditBay4:2015 HHAR Finals editbay4$ ffmpeg -t 9 -i HHAR5033H.mov -vcodec libopenjpeg -acodec copy HHAR5033H_jpeg2000ffmpeg.mov
ffmpeg version 2.8 Copyright (c) 2000-2015 the FFmpeg developers
built with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8 --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-libfaac --enable-libass --enable-ffplay --enable-libfdk-aac --enable-libopus --enable-libquvi --enable-libx265 --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.2_1/include/openjpeg-1.5 ' --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 'HHAR5033H.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2015-06-10 20:49:44
Duration: 00:00:37.04, start: 0.000000, bitrate: 134507 kb/s
Stream #0:0(eng): Video: prores (apcn / 0x6E637061), yuv422p10le(bt709), 1920x1080, 132745 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc (default)
Metadata:
creation_time : 2015-06-10 20:49:44
handler_name : Apple Alias Data Handler
encoder : Apple ProRes 422
timecode : 00:00:00;00
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (default)
Metadata:
creation_time : 2015-06-10 20:49:44
handler_name : Apple Alias Data Handler
timecode : 00:00:00;00
Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
creation_time : 2015-06-10 20:49:44
handler_name : Apple Alias Data Handler
timecode : 00:00:00;00
[mov @ 0x7fe2c2007200] Codec for stream 1 does not use global headers but container format requires global headers
Output #0, mov, to 'HHAR5033H_jpeg2000ffmpeg.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
encoder : Lavf56.40.101
Stream #0:0(eng): Video: jpeg2000 (libopenjpeg) (mjp2 / 0x32706A6D), yuv422p10le, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 30k tbn, 29.97 tbc (default)
Metadata:
creation_time : 2015-06-10 20:49:44
handler_name : Apple Alias Data Handler
timecode : 00:00:00;00
encoder : Lavc56.60.100 libopenjpeg
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, 1536 kb/s (default)
Metadata:
creation_time : 2015-06-10 20:49:44
handler_name : Apple Alias Data Handler
timecode : 00:00:00;00
Stream mapping:
Stream #0:0 -> #0:0 (prores (native) -> jpeg2000 (libopenjpeg))
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 270 fps=5.6 q=-0.0 Lsize= 403929kB time=00:00:09.00 bitrate=367298.0kbits/s
video:402232kB audio:1689kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.001903%
EditBay4:2015 HHAR Finals editbay4$ -
Sorry, I don’t use the “-t” flag much, I didn’t realize it took the other flags into consideration.
-
ffmpeg -y -ss 7.03 -i “%s” -r 24 -pix_fmt yuv422p -vcodec libopenjpeg -pix_fmt yuv422p -acodec copy “%s”
i’ve also tried ffmpeg -i inputfile.mov -vcodec openjpeg -acodec copy outputfile.mov
Although I also tried it with adobe media encoder and the yielded similar results so it might be something else… I’m running a few more tests to make sure. I’m wondering if I’m just not able to playback a jpeg2000 codec correctly.

