forked from fnoop/flirone-v4l2
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
1,288 additions
and
675 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,2 @@ | ||
# Prerequisites | ||
*.d | ||
|
||
# Object files | ||
*.o | ||
*.ko | ||
*.obj | ||
*.elf | ||
|
||
# Linker output | ||
*.ilk | ||
*.map | ||
*.exp | ||
|
||
# Precompiled Headers | ||
*.gch | ||
*.pch | ||
|
||
# Libraries | ||
*.lib | ||
*.a | ||
*.la | ||
*.lo | ||
|
||
# Shared objects (inc. Windows DLLs) | ||
*.dll | ||
*.so | ||
*.so.* | ||
*.dylib | ||
|
||
# Executables | ||
*.exe | ||
*.out | ||
*.app | ||
*.i*86 | ||
*.x86_64 | ||
*.hex | ||
|
||
# Debug files | ||
*.dSYM/ | ||
*.su | ||
*.idb | ||
*.pdb | ||
|
||
# Kernel Module Compile Results | ||
*.mod* | ||
*.cmd | ||
.tmp_versions/ | ||
modules.order | ||
Module.symvers | ||
Mkfile.old | ||
dkms.conf | ||
src/flirone.o | ||
flirone |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
CC = gcc -I/usr/include/libusb-1.0 | ||
GXX = g++ | ||
CXXFLAGS = -pipe -O2 -Wall -W -D_REENTRANT -lusb-1.0 -lm | ||
INCPATH = -I. -I/usr/include/libusb-1.0 | ||
|
||
all: flirone.o flirone | ||
|
||
flirone.o: src/flirone.c src/plank.h | ||
|
||
flirone: src/flirone.o | ||
${CC} -o flirone src/flirone.o -lusb-1.0 -lm -Wall | ||
|
||
clean: | ||
rm -f flirone.o flirone | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
$'+/3 7";$>&A(E+I-M/Q1T3X6\8`:d<h>k@oBsDwB{@�?�=�:�8�6�4�2�0�.�,�)�'�%�#�!����������� | ||
������ | ||
�����!�%�*�.�3�7�<�@�D�I�M�R�V�[�_�d�h}mwqqvlzf`�[�U�O�J�D�?�:�4�.�)�#������ | ||
���$�-�6�?�F�O�X�a�j�r�{�����������������������������������������������������������������������������������������������������������������������������������������������������}�{�y�w�u�s�p�n�l�j�h�f�c�a�_�]�[�Y�V�T�R�P�N�L�I�G�E�C�A�@�>�;�9�7�5�3�1�.�,�*�(�&�$�!����������� | ||
���� |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
|
||
gst-launch-1.0 \ | ||
v4l2src device=/dev/video2 \ | ||
! videoconvert \ | ||
! videoscale \ | ||
! video/x-raw,format=mjpg, width=640, height=480, framerate=8/1 \ | ||
! autovideosink |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/sh | ||
|
||
gst-launch-1.0 \ | ||
videotestsrc pattern=0 ! queue2 ! c.sink_0 \ | ||
v4l2src device=/dev/video3 do-timestamp=true ! c.sink_1 \ | ||
videotestsrc pattern=0 ! queue2 ! c.sink_2 \ | ||
videotestsrc pattern=1 ! queue2 ! c.sink_3 \ | ||
videotestsrc pattern=18 ! queue2 ! c.sink_4 \ | ||
compositor name=c background-color=0x223344 \ | ||
sink_0::xpos=0 sink_0::ypos=0 sink_0::width=400 sink_0::height=300 sink_0::fill_color=0x00000000 \ | ||
sink_1::xpos=400 sink_1::ypos=0 sink_1::width=400 sink_1::height=300 sink_1::fill_color=0x11111111 \ | ||
sink_2::xpos=0 sink_2::ypos=300 sink_2::width=400 sink_2::height=300 sink_2::fill_color=0x22222222 \ | ||
sink_3::xpos=400 sink_3::ypos=300 sink_3::width=400 sink_3::height=300 sink_3::fill_color=0x33333333 \ | ||
sink_4::xpos=200 sink_4::ypos=150 sink_4::width=400 sink_4::height=300 sink_4::fill_color=0x44444444 sink_4::alpha=0.5 ! \ | ||
queue2 ! video/x-raw, width=800, height=600 ! ximagesink |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sudo modprobe v4l2loopback exclusive_caps=0,0 video_nr=1,2,3 |
Oops, something went wrong.