[FFmpeg-trac] #2690(avcodec:open): Red Cinema r3d files not supported

FFmpeg trac at avcodec.org
Tue Sep 19 12:44:03 EEST 2023


#2690: Red Cinema r3d files not supported
-------------------------------------+-----------------------------------
             Reporter:  MilosL       |                    Owner:  (none)
                 Type:  enhancement  |                   Status:  open
             Priority:  wish         |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  r3d j2k      |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------
Comment (by Camille):

 Replying to [comment:37 Peter Kovář]:
 > I wrote PoC GPU accelerated code based upon R3DSDKv8_4_0-Beta2. Still
 unfinished and undecided how to release that into the wild.
 >
 > R3D /2TB/Video/R3D/v-raptor-xl-8k-vv-
 bird/A001_C003_12214C.RDC/A001_C003_12214C_001.R3D | ffmpeg -video_size
 8192x4320 -framerate 120 -f rawvideo -pixel_format rgb48le -i - -c:v
 libx265 -vf scale=4096:2160 v-raptor-xl-8k-vv-bird HEVC 2160p120.mp4
 >
 > R3D /2TB/Video/R3D/v-raptor-xl-8k-vv-
 bird/A001_C003_12214C.RDC/A001_C003_12214C_001.R3D | ffmpeg -video_size
 8192x4320 -framerate 120 -f rawvideo -pixel_format rgb48le -i - -strict -1
 -pix_fmt yuv420p10 -color_primaries bt2020 -colorspace bt2020_ncl
 -color_trc bt2020-10 -r 120 -vcodec vvc -b:v 0 -qp 32 -vf scale=4096:2160
 -y v-raptor-xl-8k-vv-bird VVC 2160p120.mp4

 Hi Peter,

 Your PoC sounds promising!

 I have a few queries:

 - Would it be feasible to concatenate spanned R3D clips and incorporate an
 audio track from a WAV file?
 - Is there a possibility of integrating your code directly into FFmpeg?
 We are in the midst of developing a server encoding application tailored
 for raw camera files, including XDCAM and R3D. However, the absence of
 comprehensive R3D support in FFmpeg poses certain limitations. Given the
 importance of this feature for our project, we're considering sponsoring
 its development.

 One of my primary concerns revolves around potential copyright challenges,
 especially when implementing the RED SDK in an open-source framework.

 I'd appreciate your insights on these matters.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/2690#comment:39>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list