hi Folks,
I am encoding from two cameras concurrently. I would like to play back the encoded video files side by side.
Encoder command line is successful -
gst-launch-1.0 nvcamerasrc sensor-id=0 fpsRange="30.0 30.0" ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)I420, framerate=(fraction)30/1' ! omxh265enc iframeinterval=24 bitrate=10000000 ! h265parse ! matroskamux ! filesink location=./junk11.mkv -e nvcamerasrc sensor-id=1 fpsRange="30.0 30.0" ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)I420, framerate=(fraction)30/1' ! omxh265enc iframeinterval=24 bitrate=10000000 ! h265parse ! matroskamux ! filesink location=./junk12.mkv -e
The Decoder command line however is not working…
gst-launch-1.0 filesrc location=/home/ubuntu/work/record30fps-3-27-18/junk12.mkv ! qtdemux ! h265parse ! omxh265dec ! nvoverlaysink
Setting pipeline to PAUSED ...
Inside NvxLiteH264DecoderLowLatencyInitNvxLiteH264DecoderLowLatencyInit set DPB and MjstreamingInside NvxLiteH265DecoderLowLatencyInitNvxLiteH265DecoderLowLatencyInit set DPB and MjstreamingPipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstQTDemux:qtdemux0: This file is invalid and cannot be played.
Additional debug info:
qtdemux.c(699): gst_qtdemux_pull_atom (): /GstPipeline:pipeline0/GstQTDemux:qtdemux0:
atom has bogus size 440786851
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
Please help.
Thanks