You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sbc_streamer/README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ The streamer is configured through environment variables (values shown with defa
14
14
15
15
| Variable | Description |
16
16
| --- | --- |
17
-
|`FFMPEG_BINARY=ffmpeg`| Path to the `ffmpeg` executable |
17
+
|`FFMPEG_BINARY=ffmpeg`| Path to the `ffmpeg` executable (set to `/usr/local/bin/ffmpeg` when using a custom build) |
18
18
|`CAMERA_DEVICE=/dev/video0`| Video4Linux device supplying the camera feed |
19
19
|`AUDIO_DEVICE`| Optional ALSA device (e.g. `hw:1,0`) to include audio |
20
20
|`INPUT_FORMAT`| Force a V4L2 input format (e.g. `mjpeg`, `yuyv422`) when autodetect fails |
@@ -75,3 +75,8 @@ Copy the resulting `streamer` binary to the Radxa.
75
75
```
76
76
77
77
The service will restart automatically if `ffmpeg` exits and will reconnect after transient network failures.
78
+
79
+
## Hardware acceleration tips
80
+
81
+
- For Rockchip hardware encoding, install an `ffmpeg` build compiled with `--enable-rkmpp` or the V4L2 request API and set `FFMPEG_BINARY=/usr/local/bin/ffmpeg` (or whichever path hosts your accelerated binary).
82
+
- Update the streamer source if you need to switch codecs (for example, replace `libx264` with `h264_rkmpp`). After editing, rebuild the binary with `go build`.
0 commit comments