Hi Folks,
We have two leopard IMX274 cameras on our Tx2 system. I have following command working on it -
gst-launch-1.0 -e nvcamerasrc fpsRange="30.0 120.0" ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)I420, framerate=(fraction)120/1' ! omxh265enc ! 'video/x-h265, stream-format=(string)byte-stream' ! h265parse ! matroskamux ! filesink location=test.mkv -e
I get the right test.mkv which plays fine with -
gst-launch-1.0 playbin uri=file:~/test.mkv
However then I try gstVideoEncode from tegra_multimedia_api/argus/samples/gstVideoEncode, my output does not seem correct.
cd ~/tegra_multimedia_api/argus/
mkdir build; cd build; cmake ..
make
cd ~/tegra_multimedia_api/argus/build/samples/gstVideoEncode
argus_gstvideoencode -d 0 -p 0
An output file by name of argus_gstvideoencode_out.mp4 gets generated. The run looks normal without any pathoglogical prints. However when I try to play the output file using -
gst-launch-1.0 playbin uri=file:/home/nvidia/tegra_multimedia_api/argus/build/samples/gstVideoEncode/argus_gstvideoencode_out.mp4 , the output does not seem right. It consists of orange color screen, whereas the preview was showing right content on screen.
I have not made any modifications, to the gstVideoEncode code. Does anyone have gstVideoEncode working with Sony IMX274 cameras ?
Thanks,