occupation

448Currently online
108Today's Reading
29Share Today
Multilingual display

How to open m3u8 file and convert it to MP4 file

2018-04-14 08:00:06

When the downloaded video is m3u8, it is usually multiple hundreds of k files that cannot be played continuously and need to be combined by other means. This experience introduces a super simple method.

Tools/Materials
1

Code running online

2

formatter

Methods/Steps
1

1. The m3u8 folder usually contains fragmented subfiles

2

This page is based on experience

3

3. In the search for c language online compilation Run, open the C language online editor. Enter: # include int main(void){int sum = 0; int n = 50,i=0; // How many subfiles n is equal to how many printf('copy /b 0'); for (i=1; i<=n; ++i)      {                printf('+%d', i);    }    printf(' new.ts');    return 0; Note: (1) n is the number of subfiles, the example folder has 26 (just look at the largest number), so n=26 (can be greater than the number of subfiles).

4

4. Run, copy the run result to the txt (bat) file, and save it.

5

5. Double-click the bat file to generate the video file. At this time, you can use video software to open, want to convert to MMP4 can use formatting or other video editing software.

Recommendation