Reminder

Welcome to the DDMALL forum.

You are currently viewing our boards as a guest which gives you limited access to post questions and access to our other features.
Only registered members may post questions, download the updated firmwares and documents.

Registration is fast, simple and absolutely free so please - Click to REGISTER!

How to use FFMPEG to play encoder’s video

Let's talk about live streaming! Post a question or share a solution with other users.
Post Reply
DDM_Jim
Posts: 67
Joined: Mon Dec 23, 2019 8:24 am

How to use FFMPEG to play encoder’s video

Post by DDM_Jim » Thu Sep 03, 2020 8:00 am

How to use FFMPEG to play encoder’s video

1.First, you need to connect the encoder to the HDMI video source and connect the encoder to the network. Then open a browser to log in to your encoder on the computer. After logging in, in the "Video" option, check the "Input Status" to ensure that the encoder has read the HDMI video.
01.png
2. In "Misc Stream", select RTSP, copy URL1. Note that the actual URL depends on your encoder.
02.png
3. Download ffmpeg-static, unzip it, and put it on the C drive.
03.png
03-1.png
4. Right click "this PC" and click properties.
04.png
5. Click Advanced System Settings.
05.png
6. Select Advance, click Environment Variables.
06.png
7. Select New in the environment variable.
07.png
8. Fill in the ffmpeg path for the value of the variable, and the variable name is arbitrary.
08.png
9. After creating a new one, as shown in the figure, click OK.
09.png
10. Open CMD, enter ffmpeg version and press Enter, check the returned version information, indicating that the configuration is successful.
10.png
11. Enter set SDL_AUDIODRIVER=directsound, and then press Enter to run.
11.png
12. Then enter ffplay rtsp://192.168.1.233:8554/live0, where rtsp://192.168.1.233:8554/live0 is the URL obtained in the encoder web page.
12.png
13. After waiting for a while, the ffmpeg will play the video from the encoder. As shown in below screen shot.
13.png
You do not have the required permissions to view the files attached to this post.

Post Reply