In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article will explain in detail about RTSP pull platform EasyNVR, EasyDSS how to independently merge TS files into MP4 format for playback, the content of the article is of high quality, so the editor will share it for you to do a reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
Users who have used the video recording function of the full-line TSINGSEE blue rhinoceros video platform all know that the video storage of TSINGSEE blue rhinoceros video products is in the form of ts. But in the actual use, some customers will find the corresponding mp4 file according to their own needs in the process of use.
We know that EasyNVR and EasyDSS have their own video downloads, and after downloading, there are mp4 files, but ts files exist in the system folder, and mp4 files do not exist in the system folder. How should we deal with this situation? In the face of these fragments of ts files, how should we start?
The only solution is to merge the ts file into a complete mp4 file. In fact, there are many ways to solve video merging. Let me introduce one of our more commonly used ways-merging ts videos through FFMPEG.
First we start a http service to distribute the ts files to hls video streams. Then we use the powerful ffmpeg to pull the corresponding video stream and convert it into the video format we want.
According to the implementation steps:
1. Start the http service (I start it with http-server)
2. Get the stream address
M3u8 files are found in the files distributed under the service for splicing processing.
We can know that the correct m3u8 address should be
Http://192.168.99.148:8080/stream_17_record.m3u8
Verify that this address is normal
3. Ffmpeg pull conversion
The obtained address is normal, so we can convert the video through ffmpeg.
Ffmpeg conversion command
Ffmpeg-i http://192.168.99.148:8080/stream_17_record.m3u8 Murc copy-y new.mp4
A new mp4 file was successfully synthesized under the folder. And it can be played normally.
About RTSP pull platform EasyNVR, EasyDSS how to independently merge TS files into MP4 format to share here, I hope the above content can be of some help to you, you can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.