Can TX1 encode two channel 4k@30fps H264 at same time?

the doc specify it can encode h264 at 4k@30fps with omxh264enc.

whether i can use cuda encode one channel 4k@30fps and omxh264enc annother channel?

Hi ColinA,

Did you meet any issue while running two channel 4k@30fps H264 encoder at same time?
There is another user who can run one channel of 4K30 H265 + one channel of 4K30 H264, and can see both stream are running real-time already.


I haven’t tested with 4K but the pipeline for 2x1080p60 can be found here:

you could give it a try with 4K

Actually I just ran the test, I ran:

time gst-launch-1.0 -e nvcamerasrc fpsRange=“30.0 30.0” num-buffers=120 ! ‘video/x-raw(memory:NVMM), width=(int)3840, height=(int)2160, format=(string)I420, framerate=(fraction)30/1’ !
nvvidconv flip-method=2 ! ‘video/x-raw(memory:NVMM), format=(string)I420’ ! tee name=streams
streams. ! omxh264enc bitrate=8000000 ! ‘video/x-h264, stream-format=(string)byte-stream’ ! filesink location=testA.h264
streams. ! omxh264enc bitrate=8000000 ! ‘video/x-h264, stream-format=(string)byte-stream’ ! filesink location=testB.h264

So I am telling the pipeline to let pass only 120 frames (4s @30fps), and the output was:

real 0m5.172s
user 0m0.250s
sys 0m0.470s

So I suppose 1.172s are for setting the pipeline up. I believe it is pretty close to 30fps. I need to port our perf element to dump the fps directly from the pipeline, you could also give it a try to GstShark to measure how much time is consumed by each element:

I think there is an evaluation version.