View Full Version : Good path for J2K MXF to x265?
benwaggoner
25th July 2014, 05:19
So, I'm trying to figure out a reasonably straightforward way to encode from a J2K MXF to x265. Obviously support isn't built in, but I'd hoped piping from ffmpeg.exe would do it, but the latest Zeranoe ffplay won't even open a video window with the J2K MXF file I'm playing with.
Has anyone gotten this to work without having to go through a (massive!) intermediate file?
nevcairiel
25th July 2014, 05:27
FFmpeg build with OpenJPEG should be able to read and decode them, and recent FFmpeg also has built in support for libx265 to directly convert it without pipes.
poisondeathray
25th July 2014, 05:33
^ yes, and Zeranoe's builds have OpenJPEG support, I've used it before on JPEG2000 MXF's before.
So there might be something peculiar about your MXF wrapper or your JPEG2000 video
Blue_MiSfit
25th July 2014, 17:25
Do you have any way to decode the j2k file? Maybe you can dump it out to uncompressed or lossless?
benwaggoner
25th July 2014, 19:07
^ yes, and Zeranoe's builds have OpenJPEG support, I've used it before on JPEG2000 MXF's before.
So there might be something peculiar about your MXF wrapper or your JPEG2000 video
I am suspecting it may be something along those lines.
benwaggoner
25th July 2014, 19:08
Do you have any way to decode the j2k file? Maybe you can dump it out to uncompressed or lossless?
So far, no. But these things are freaking huge before decompression. My hope is to use ffmpeg or similar to pipe into x265, which works for most formats.
filler56789
25th July 2014, 20:47
FWIW --- there exists a DirectShow MJ2 decoder from MainConcept, and it connects fine to LAV Splitter :) If your MXF contains "Digital Cinema" stuff, then it's probable that ffmpeg or libav cannot decode it : –/
sneaker_ger
26th July 2014, 00:38
What error does ffmpeg show? Can you force libopenjpeg? (ffmpeg -vcodec libopenjpeg -i INPUT ...)
Blue_MiSfit
26th July 2014, 05:13
I know that Kakadu is considered to be a top notch j2k implementation, maybe there's a decoder you can use?
x265_Project
30th July 2014, 18:11
MulticoreWare has a high performance library that supports accelerated IMF / MXF (J2K) decoding (color space conversion, etc). Contact me directly if you are interested in evaluating.
Tom
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.