This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:edge2:applications:hardware-decoding [2022/11/04 09:14] frank |
products:sbc:edge2:applications:hardware-decoding [2025/09/09 21:26] (current) nick |
||
---|---|---|---|
Line 6: | Line 6: | ||
===== Decoding ===== | ===== Decoding ===== | ||
+ | |||
+ | <WRAP important > | ||
+ | If encounter error, please add sudo and try again. | ||
+ | </ | ||
1. Check decoder. | 1. Check decoder. | ||
Line 49: | Line 53: | ||
If you want to play your decoded file, you can play with '' | If you want to play your decoded file, you can play with '' | ||
+ | |||
+ | 4. Decoding from RTSP stream and preview. | ||
+ | |||
+ | |||
+ | <tabbox Ubuntu 24.04> | ||
+ | |||
+ | You can use gstreamer '' | ||
+ | |||
+ | ```shell | ||
+ | gst-launch-1.0 rtspsrc location=rtsp:// | ||
+ | ``` | ||
+ | |||
+ | You can use the command below to check display fps: | ||
+ | |||
+ | ```shell | ||
+ | gst-launch-1.0 -v rtspsrc location=rtsp:// | ||
+ | |||
+ | ``` | ||
+ | |||
+ | Display with '' | ||
+ | |||
+ | ```shell | ||
+ | ffplay -vcodec h264_rkmpp rtsp:// | ||
+ | ``` | ||
+ | |||
+ | <tabbox Ubuntu 22.04> | ||
+ | |||
+ | You can use gstreamer '' | ||
+ | |||
+ | ```shell | ||
+ | gst-launch-1.0 rtspsrc location=rtsp:// | ||
+ | ``` | ||
+ | |||
+ | You can use the command below to check display fps: | ||
+ | |||
+ | ```shell | ||
+ | gst-launch-1.0 -v rtspsrc location=rtsp:// | ||
+ | ``` | ||
+ | |||
+ | You press '' | ||
+ | |||
+ | </ | ||
+ | |||
+ | <WRAP tip > | ||
+ | Please replace the RTSP stream with yours. | ||
+ | </ | ||
+ | |||
+ | |||
+ |