当前位置:网站首页>How does easydss, an online classroom / online medical live on demand platform, separate audio and video data?
How does easydss, an online classroom / online medical live on demand platform, separate audio and video data?
2022-06-24 16:18:00 【Tsingsee green rhino video】
With all of TSINGSEE Green rhino video cloud edge architecture products are the same ,EasyDSS The VOD platform can transmit and record audio and video data synchronously , But in part of the scene , The project needs to separate the live video and audio streams , Separate access to audio stream data .
For example, in the case we share in this article , Generated from live streaming data ts Files have video streams and audio streams , But in fact, the streaming end only pushes audio stream data , To meet the needs of customers , Live data only needs to generate audio stream data , In this way, when playing data with the mobile phone, you can also hear the sound when the screen is locked , But at present, if there are both audio and video streams , Mobile phone lock screen will cause audio and video streams to stop playing simultaneously .
Here we need to separate the video stream and audio stream before getting the data . In the interface for downloading videos of a specified period of time , take ts The document was converted into MP4 file , And then MP4 Separate the video from the file , All that's left is audio data output to MP4 file .
Check the output of live data again , Only the audio stream is output .
The reference codes are as follows :
if ty == "0" {
var params1 []string
params1 = append(params1, "-i", mp4PathTmpAudio)
params1 = append(params1, "-acodec", "copy", "-vn", mp4Path)
//params = append(params, mp4Path)
cmd := exec.Command(EasyTrans(), params1...)
cmd.Start()
cmd.Wait()
fmt.Println(cmd.Args)
efile.RemoveFile(mp4PathTmpAudio)
}Of course, in audio coding , To ensure the standard of audio coding , Otherwise, there will be problems such as unable to play or audio recognition failure . Of course EasyDSS It also supports users to actually download and deploy tests , Welcome to .
边栏推荐
- Linux record -4.22 MySQL 5.37 installation (supplementary)
- There are potential safety hazards Land Rover recalls some hybrid vehicles
- Istio FAQ: sidecar stop sequence
- Global and Chinese market of inverted syrup 2022-2028: Research Report on technology, participants, trends, market size and share
- Inter thread communication of embedded development foundation
- [download attached] installation and simple use of Chinese version of awvs
- [cloud native | kubernetes chapter] Introduction to kubernetes Foundation (III)
- Nature刊登量子计算重大进展:有史以来第一个量子集成电路实现
- Build go command line program tool chain
- MySQL Advanced Series: Locks - Locks in InnoDB
猜你喜欢

C. Three displays codeforces round 485 (Div. 2)

How to easily realize online karaoke room and sing "mountain sea" with Wang Xinling
![[download attached] installation and simple use of Chinese version of awvs](/img/3b/f26617383690c86edff465c9a1099e.png)
[download attached] installation and simple use of Chinese version of awvs

My network relationship with "apifox"
![Software test [high frequency] interview questions sorted out by staying up late (latest in 2022)](/img/33/2c2256fd98b908ddaf5573f644ad7f.png)
Software test [high frequency] interview questions sorted out by staying up late (latest in 2022)

Using alicloud RDS for SQL Server Performance insight to optimize database load - first understanding of performance insight

【附下载】汉化版Awvs安装与简单使用
![[application recommendation] the hands-on experience and model selection suggestions of apifox & apipost in the recent fire](/img/dd/24df91a8a1cf1f1b9ac635abd6863a.png)
[application recommendation] the hands-on experience and model selection suggestions of apifox & apipost in the recent fire

Some adventurer hybrid versions with potential safety hazards will be recalled

C. Three displays(动态规划)Codeforces Round #485 (Div. 2)
随机推荐
找出隐形资产--利用Hosts碰撞突破边界
Several characteristics of pharmaceutical industry
【Prometheus】2. Overview and deployment
CAP:多重注意力机制,有趣的细粒度分类方案 | AAAI 2021
How to obtain ECS metadata
Golang+redis distributed mutex
Enterprise security attack surface analysis tool
Interpretation of swin transformer source code
转置卷积详解
2021-04-29: given an array arr, it represents a row of balloons with scores. One for each blow
Istio FAQ: sidecar startup sequence
2021-05-01: given an ordered array arr, it represents the points located on the X axis. Given a positive number k
C. K-th Not Divisible by n(数学+思维) Codeforces Round #640 (Div. 4)
How does the effective date of SAP PP ECM affect the work order?
Dismantle the industrial chain of synthetic rubber industry, and the supply chain may become a sharp weapon for breakthrough
Istio FAQ: sidecar stop sequence
Batch BOM Bapi test
我与“Apifox”的网络情缘
50 growers | closed door meeting of marketing circle of friends ス gathering Magic City thinking collision to help enterprise marketing growth
Global and Chinese market of inverted syrup 2022-2028: Research Report on technology, participants, trends, market size and share