This posting is video
This post use RaspVid.c
Editing RaspVid.c
1
2
3
4
5
6
7
|
We delete- all lines related to the preview component,
- all lines related to the encoder component.
- all lines related to inline command parsing and picture info…
We change :
- add the callback directly to the video_port (line 286)
- create and attach the pool (to get/send message) to the video port… (line 320)
- change format encoding to ENCODING_I420 in line (268) (instead of OPAQUE)
| cs |
And changing name.
1
|
mv Raspvid.c camcv.c
| cs |
Run camcv in window mode
1
|
./camcv
| cs |
You can see video.
If you want change pixel and color mode, editing Line 119~120 and Line 124
If you want change pixel and color mode, editing Line 119~120 and Line 124
Frame in Pi 1
Frame in Pi 2
No comments:
Post a Comment