10_camera_recording sample not working

Hi Guys,

I am trying out 10_camera_recording sample code in tegra multimedia api. When I run the code I get the following error :

Set governor to performance before enabling profiler
NvPclHwGetModuleList: No module data found
NvPclHwGetModuleList: No module data found
NvPclHwGetModuleList: No module data found
LSC: LSC surface is not based on full res!
LSC: LSC surface is not based on full res!
LSC: LSC surface is not based on full res!
LSC: LSC surface is not based on full res!
PRODUCER: Creating output stream
PRODUCER: Launching consumer thread
Failed to query video capabilities: Bad address
NvMMLiteOpen : Block : BlockType = 4 
===== MSENC =====
NvMMLiteBlockCreate : Block : BlockType = 4 
875967048
842091865
create vidoe encoder return true
CONSUMER: Waiting until producer is connected...
PRODUCER: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
CONSUMER: Got EOS, exiting...
CONSUMER: Done.
PRODUCER: Done -- exiting.
(NvOdmDevice) Error NotInitialized: V4L2Device not powered on (in dvs/git/dirty/git-master_linux/camera-partner/imager/src/V4L2Device.cpp, function setControlVal(), line 378)
(NvOdmDevice) Error NotInitialized: V4L2Device not powered on (in dvs/git/dirty/git-master_linux/camera-partner/imager/src/V4L2Device.cpp, function setControlVal(), line 378)
************************************
Total Profiling Time = 0 sec
************************************

Kindly let me know what is going wrong. Is there some initialization which is required ? Please help me out.

Thanks.

It runs successfully. You should see output.h264 generated.

nvidia@tegra-ubuntu:~/tegra_multimedia_api/samples/10_camera_recording$ ls -all
total 1152
drwxr-xr-x  2 nvidia nvidia   4096 Aug  9 06:31 .
drwxr-xr-x 19 nvidia nvidia   4096 Aug  9 05:20 ..
-rwxrwxr-x  1 nvidia nvidia 417200 Aug  9 05:21 camera_recording
-rw-r--r--  1 nvidia nvidia  18857 Aug  9 05:20 main.cpp
-rw-rw-r--  1 nvidia nvidia 126784 Aug  9 05:21 main.o
-rw-r--r--  1 nvidia nvidia   2208 Aug  9 05:20 Makefile
-rw-rw-r--  1 nvidia nvidia 600155 Aug 10 01:02 output.h264