Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8082

Graphics, sound and multimedia • Re: PISP on Pi5 and 32 BPP

$
0
0
@6by9

Sorry, I know I'm not very knowledgeable about these things,

but I've been trying for two days to figure out how and if I can use the TC358743 module, my Pi5 (2712C1), and Libpisp.

I've compiled it and am trying to use convert.

First of all, I don't understand how to configure media-ctl.

I have to configure it as usual and have the output on /dev/video0

Code:

media-ctl -d /dev/media0 -rmedia-ctl -d /dev/media0 -l ''\''csi2'\'':4 -> '\''rp1-cfe-csi2_ch0'\'':0 [1]'media-ctl -d /dev/media0 -V ''\''csi2'\'':0 [fmt:RGB888_1X24/1920x1080 field:none colorspace:srgb]'media-ctl -d /dev/media0 -V ''\''csi2'\'':4 [fmt:RGB888_1X24/1920x1080 field:none colorspace:srgb]'media-ctl -d /dev/media0 -V ''\''tc358743 11-000f'\'':0 [fmt:RGB888_1X24/1920x1080 field:none colorspace:srgb]'
or do something like that?

Code:

media-ctl -d /dev/media0 -rmedia-ctl -d /dev/media0 -l "'csi2':4 -> 'pisp-fe':0 [1]"media-ctl -d /dev/media0 -l ''\''pisp-fe'\'':2 -> '\''rp1-cfe-fe_image0'\'':0 [1]'media-ctl -d /dev/media0 -V ''\''csi2'\'':0 [fmt:RGB888_1X24/1920x1080 field:none colorspace:srgb]'media-ctl -d /dev/media0 -V ''\''csi2'\'':4 [fmt:RGB888_1X24/1920x1080 field:none colorspace:srgb]'media-ctl -d /dev/media0 -V ''\''tc358743 11-000f'\'':0 [fmt:RGB888_1X24/1920x1080 field:none colorspace:srgb]'
Then with convert, do this?

Code:

pi@raspberrypi:~/projects/libpisp/build/src/examples $ ./convert -l/dev/media2    /dev/video28 pispbe-input    /dev/video29 pispbe-tdn_input    /dev/video30 pispbe-stitch_input    /dev/video31 pispbe-output0    /dev/video32 pispbe-output1    /dev/video33 pispbe-tdn_output    /dev/video34 pispbe-stitch_output    /dev/video35 pispbe-config./convert /dev/video0 /dev/video31 --input-format 1920:1080:0:RGB888 --output-format 1920:1080:0:RGBX8888or./convert /dev/video4 /dev/video31 --input-format 1920:1080:0:RGB888 --output-format 1920:1080:0:RGBX8888..Acquired device /dev/media2Reading /dev/video0 1920:1080:0:RGB888Writing /dev/video31 1920:1080:7680:RGBX8888
Then I should have the output here? That is, with convert, I configure the stream and conversion?

Code:

v4l2-ctl -d /dev/video31 --stream-mmap --stream-count=1 --stream-to=test_output.raw
In any case, none of these things work, of course. I would like to understand better...

maybe I should use /dev/video28 in convert?

Statistics: Posted by Bundan — Wed Dec 03, 2025 8:50 pm



Viewing all articles
Browse latest Browse all 8082

Trending Articles