Tegra_multimedia_API save RAW Data

Hello everyone,

I would like to know if and how it is possible to capture a picture and safe its RAW data or to safe it as .tiff.

I was going through the camera_jpeg_capture sample and was wondering if its possible instead of reading the frames from the OutputStream and save it as jpeg to save the frame different.

I’m completely new to this and grateful for any help.

Many thanks

hello c.zollweg,

MMAPI samples demonstrate the pipeline going through ISP, which means the sources already demosaic and convert to YUV format.
you could use v4l2 standard controls if you want to capture raw files,
for example,

v4l2-ctl -d /dev/video0 --set-fmt-video=width=2592,height=1944,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=1 --stream-to=test.raw

Hello JerryChang,

thanks for your reply!

What about using GStreamer? Is it possible to capture raw files with GStreamer?

thanks and regards

Hi,
3rdparty v4l2src element probably can be used for raw capture.
Please go to http://gstreamer-devel.966125.n4.nabble.com/ to get help.