How to convert the m4s video cached by station b into mp4 format

Please take a look before reading: I am a person who is keen on recording. Every time I write a blog, I will study it repeatedly and try my best to continuously improve the quality of the blog. The article is set to only fans, because blogging really took a lot of effort. Hope to improve each other Thank you! !


提示:以下是本篇文章正文内容

1 Introduction

The video format cached at station b on the windows side is in m4s format. How to convert it to mp4 format is recorded here.

For details, please refer to " Super detailed, how to convert the cached m4s file of station B into mp4 format "

Let me talk about the specific idea: as shown in the figure below, station b mainly caches two m4s files, the large one is video, and the small one is audio.

We need to convert the m4s of the video to MP4, and the ms4 of the audio to MP3, and then use FFmpeg to synthesize the two.

But the video and audio cached in the picture below still have 00000000 at the beginning, which needs to be deleted with notepad++ before they can be synthesized with FFmpeg.

When synthesizing, the command line can be synthesized directly with the script language.
insert image description here


2. Steps

2.1 Set the video cache path of station b

Set a path that you can find, such as the desktop I set here.

insert image description here

2.2 Install notepad++

For details, refer to " Detailed Process of Installing Notepad++ Based on Windows System ", skip the ones that have already been installed.

2.3 ffmpeg

Go to the official website of ffmpeg to download the installation package Download FFmpeg , here we take windows as an example.

insert image description here
insert image description here
Unzip the downloaded file:

insert image description here

Enter the bin directory, you can see the following 3 files (no need to install here!!! This step is ok):

insert image description here

2.2 Open the cached folder

insert image description here

2.3 use


3. Knowledge point 2


4. Summary


Code words are not easy, thank you for your praise! ! !
Code words are not easy, thank you for your praise! ! !

Guess you like

Origin blog.csdn.net/qq_40967086/article/details/130261196