FFmpeg
Maybe I can handle every media with ffmpeg...
Last updated
Maybe I can handle every media with ffmpeg...
Last updated
Some people will have problems with the black frames at the beginning/end of the procedure video, the parameter -c copy
may be the trouble-maker. the following reason may help you fix the problem.
When specifying
-c copy
, ffmpeg will cut the video without modifying the actual bitstream. In other words, it will take the frames as-is and copy them to the output file. In some cases (simply put, when the starting time does not correspond to an ), ffmpeg needs to include some more frames that are needed to properly decode the first frame to be displayed. Those will get a negative timestamp, so they shouldn't be shown.Reference:
I simply use the answer from google, and this works well, no in-depth research.
Reference:
For combining multiple M3U8 files into a single AAC audio file, you can use the following FFmpeg command:
This command copies the audio codec from the input M3U8 files without encoding, resulting in a consolidated AAC file named output.aac
.