Use VLC to convert MP4 to rtsp protocol video to successfully play detailed steps

tags: Live video  front end  VLC  rtsp

VLC is a free and open source cross-platform multimedia player and framework, which can play most multimedia files, as well as DVD, audio CD, VCD and various streaming media protocols.

videolan.org official website download

The project requires rtsp protocol to play live video. The following will introduce the use of VLC player to convert ordinary video, mp4 into rtsp protocol address to play, the steps:

1. Server push:

1. Open VLC-Media-Stream

2. Click Add to select the file locally in the MP4 format I chose-click to stream

3. Click Next

4. Check to display locally-select rtsp-add-next

 

5. The default port is 8554. If you remove 8 for access, you don't need to enter the port number, just fill in the path, for example, fill in the path with 1, local ip + path. rtsp://192.168.0.34/1

 

6. Check to activate transcoding-next

7. Click Stream

8. At this step, the streaming is complete and rtsp video can be played

Second, play stream

1. Open another vlc-media-open network streaming

2. Enter rtsp://192.168.0.34/1

 3. rtsp://192.168.0.34/1 Now you can see the video playing rtsp. This trsp address is valid and can be used as the test address in the project.

Intelligent Recommendation

VLC plugin play RTSP video stream

VLC plugin play RTSP video stream Multi-version Chrome installation Install VLC software Enable the NPAPI settings for your browser Write a test page Plug-in setting other problems at last At present,...

VLC captures webcam video (rtsp protocol)

Tools: notebook, embedded development board (rk3399c), webcam (Hi3516) 1. Use VLC to get the webcam video on the notebook ① Stream in the lower right corner and click. ② Next, it seems that it can't b...

Convert H264 + PCMA to MP4 format (RTSP protocol)

  problem: Through rtsp interaction, parse the RTP stream (h264 video + alaw (pcma) audio), and save it in MP4 format.   solution: Use MP4V2, version 2.0.0, VC2010 can be compiled. (There is...

How to use VLC in C #-RTSP play file

1. First download the VLC player to get the core dll library such as LibVlc and plugins folder in the player directory and place it under the c # project. 2. Import the method in dll into c # as follo...

Use VLC-QT to make a simple player that can play RTSP video stream

I. Introduction A small tool software that can play RTSP video streams needs to be used in recent projects. After reading a lot of information on the Internet, I decided to use the LVC-QT library with...

More Recommendation

Qt VLC play RTSP

Recently, I was working on a small project to pull the camera. I used qt and vlc. I used ffmpeg to pull the stream, but it consumes too much CPU. Of course, VLC also consumes CPU, but I found that the...

VLC plug-in can play rtsp live video streaming in browser (IE11)

VLC plugin Recently, the project used to play video streams on the browser, tried many ways to solve it, including using ffmpeg transcoding to rtmp playback, websocket combined with webrtc, etc., but ...

WPF uses VLC to play RTSP network video stream

Recently, companies need to diverted WebAPI of Dahua Video. The real-time video obtained is RTSP stream. Finally, after the continuous trial and query blogs, it is better to play with VLC. First, NuGe...

Play RTSP video stream encountered by using VLC plugins

How to install and use, a lot of tutorial, no more than a discount, post my code Here is just the problem I have encountered, I didn't do the detection of IE browser (because it is not required), the ...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top