This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
products:sbc:edge2:applications:hardware-decoding [2024/01/17 03:54] jacobe [Decoding] |
products:sbc:edge2:applications:hardware-decoding [2025/09/09 21:26] (current) nick |
||
---|---|---|---|
Line 53: | 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. | ||
+ | </ | ||
+ | |||
+ | |||
+ |