FORUMS: list search recent posts

jpeg2000 out of ffmpeg messed up chroma?

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Chad Gilmour
jpeg2000 out of ffmpeg messed up chroma?
on Oct 5, 2015 at 9:01:20 pm

Can someone advise the proper way of converting a DNxHD 422YUV file to jpeg2000 yuv quicktime. I have tried the "jpeg2000" codec and the "openjpeg" codec in ffmpeg, and they both produce a video, but the chroma looks crazy in playback with VLC, quicktime won't even try to decode it, and adobe apps see all white.

I don't need these to be Digital Cinema compliant or lossless, I just need to convert files to jpeg2000 quicktime and have them playback correctly.

Any advice is greatly appreciated!

Here's a screen grab of what VLC is seeing: 9315_capture.jpg.zip


Return to posts index

Lou Logan
Re: jpeg2000 out of ffmpeg messed up chroma?
on Oct 12, 2015 at 6:49:23 pm

You should show your ffmpeg command and the complete console output of what you tried.


Return to posts index

Chad Gilmour
Re: jpeg2000 out of ffmpeg messed up chroma?
on Oct 12, 2015 at 6:56:59 pm

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.


Return to posts index


Lou Logan
Re: jpeg2000 out of ffmpeg messed up chroma?
on Oct 12, 2015 at 6:59:33 pm

Complete console outputs missing.


Return to posts index

Chad Gilmour
Re: jpeg2000 out of ffmpeg messed up chroma?
on Oct 12, 2015 at 7:16:34 pm

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$


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]