Skip to content

Commit

Permalink
Updated readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
kekyo committed Mar 22, 2022
1 parent 7c78a37 commit dcd4959
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 9 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Platforms on which camera devices can be used:

* Windows (DirectShow devices)
* Windows (Video for Windows devices)
* Linux (V2L2 devices)
* Linux (V4L2 devices)

---

Expand Down Expand Up @@ -422,6 +422,8 @@ Apache-v2.

## History

* 0.9.0:
* Supported Linux V4L2 devices 🎉
* 0.8.0:
* Improved frame rate calculation with fraction type.
* Added easier taking an image method `CaptureOneShot`.
Expand All @@ -447,7 +449,7 @@ Apache-v2.
* 0.3.0:
* Implemented central device enumeration.
* Add supporting device characteristics enumeration.
* Brush up some interface members for DirectShow and V2L2.
* Brush up some interface members for DirectShow and V4L2.
* 0.2.0:
* Applied YUV conversion formula with MS's technical article.
* Made PixelBuffer thread safe.
Expand Down
25 changes: 18 additions & 7 deletions README_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

![FlashCap](Images/FlashCap.100.png)

FlashCap - 独立したカメラキャプチャライブラリ
FlashCap - シンプルで依存性のない、カメラキャプチャライブラリ

[![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)

Expand Down Expand Up @@ -43,16 +43,13 @@ FlashCap - 独立したカメラキャプチャライブラリ

* Windows (DirectShowデバイス)
* Windows (Video for Windowsデバイス)

TODO:

* Linux (V2L2デバイス)
* Linux (V4L2デバイス)

---

## 使い方

対象デバイスと映像の特性を列挙します:
最初に、対象デバイスと映像の特性を列挙します:

```csharp
using FlashCap;
Expand Down Expand Up @@ -121,6 +118,15 @@ TODO:

* [WPFアプリケーション](samples/FlashCap.WPF/)

Avaloniaのサンプルコードは、単一のコードで、WindowsとLinuxの両方で動作します。
ユーザーモードプロセスでリアルタイムにキャプチャを行い、
(MJPEGから)ビットマップをデコードし、ウィンドウにレンダリングします。
AvaloniaはSkiaを使ったレンダラーを使用しています。かなり高速です。

![FlashCap.Avalonia](Images/FlashCap.Avalonia_Windows.png)

![FlashCap.Avalonia](Images/FlashCap.Avalonia_Linux.png)

---

## FrameArrivedイベントについて
Expand Down Expand Up @@ -183,7 +189,6 @@ device.FrameArrived += (s, e) =>
````

このように、問題を回避するために安全に書くのは骨が折れます。
もちろん、このような繊細な処理を毎回実装してもかまいませんが...

しかし、FlashCapは、より簡単に実装するために、
このアルゴリズムをカプセル化した `LimitedExecutor` クラスを定義しています:
Expand Down Expand Up @@ -416,6 +421,12 @@ Apache-v2.

## 履歴

* 0.9.0:
* Linux V4L2に対応しました 🎉
* 0.8.0:
* フレームレート計算を改善しました。
* より簡単に画像を撮影できるメソッド `CaptureOneShot` を追加しました。
* ビデオ特性のインターフェイスを変更しました(フレームレートとピクセルフォーマット関連。V4L2の実装を反映)。
* 0.7.0:
* DirectShowで無効なビデオフレームを送信するビデオデバイスをかわす機能を改善しました。
* 32bit環境でRtlCopyMemoryのエントリポイントが見つからない問題を修正しました。
Expand Down

0 comments on commit dcd4959

Please sign in to comment.