-
Notifications
You must be signed in to change notification settings - Fork 430
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from alfredh/v4l2_codec
V4l2 codec this fixes Issue #64
- Loading branch information
Showing
4 changed files
with
590 additions
and
0 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
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,37 @@ | ||
README | ||
------ | ||
|
||
This module is using V4L2 (Video for Linux 2) as a codec module | ||
for devices that supports compressed formats such as H.264 | ||
The module implements both the vidsrc API and the vidcodec API. | ||
|
||
|
||
- encoder/decoder: Encoder only | ||
- codec formats: H.264 | ||
- keyframe refresh: Not supported | ||
|
||
|
||
|
||
|
||
EXAMPLE CONFIG | ||
-------------- | ||
|
||
# Video | ||
video_source v4l2_codec,/dev/video0 | ||
video_size 640x480 | ||
|
||
|
||
# Video codec Modules (in order) | ||
module v4l2_codec.so | ||
|
||
|
||
|
||
|
||
SUPPORTED DEVICES | ||
----------------- | ||
|
||
This webcam supports H.264 hardware acceleration: | ||
|
||
HD Pro Webcam C920 (usb-0000:00:1a.0-1.5): | ||
/dev/video0 | ||
|
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,11 @@ | ||
# | ||
# module.mk | ||
# | ||
# Copyright (C) 2010 - 2015 Creytiv.com | ||
# | ||
|
||
MOD := v4l2_codec | ||
$(MOD)_SRCS += v4l2_codec.c | ||
$(MOD)_LFLAGS += | ||
|
||
include mk/mod.mk |
Oops, something went wrong.