OLD | NEW |
(Empty) | |
| 1 V4L-H264 |
| 2 ======== |
| 3 The goal of the sample code is to demonstrate the H264 encoding and decoding cap
abilities of Intel GPU, Sandy Bridge and successor, using libva API under X11. |
| 4 |
| 5 Encoder part is based on http://cgit.freedesktop.org/libva/tree/test/encode/avce
nc.c |
| 6 V4L-Capture part is based on http://linuxtv.org/downloads/v4l-dvb-apis/capture-e
xample.html |
| 7 |
| 8 |
| 9 Running it locally: It's mandatory to start the `decode' first. |
| 10 ./decode -> will wait for a connection |
| 11 ./encode -> will try to open /dev/video0, configure it and stream it out |
| 12 |
| 13 Specifying the port, ip and video input parameters |
| 14 |
| 15 Window A (first): |
| 16 ./decode -p 9999 |
| 17 |
| 18 Window B (second): |
| 19 ./encode -p 9999 -I 192.168.1.144 -d /dev/video0 -W 1280 -H 960 |
| 20 |
| 21 For more info: |
| 22 ./encode -? |
| 23 ./decode -? |
OLD | NEW |