Posts

Showing posts from February, 2022

FFmpeg: Solve the problem that the video file can't be played due to the lack of codec, get the parameters required by the delogo command of removing the watermark, and some other commonly used commands

Image
Contents [ hide ] 1. Merge and convert m4s files (bilibili default download format) to mp4:[^1][^2][^3] P.S. There is a chinese version of this article: Zhihu The first two contents in the headline are in 1. and 4.1. Be careful to modify the command parameters according to your needs. 1. Merge and convert m4s files (bilibili default download format) to mp4: [1] [2] [3] Open file location, rename the two m4s files as 1.m4s and 2.m4s then press shift and right click mouse at the blank location of the files, select open power shell window here, then input: ffmpeg -i 1.m4s -i 2.m4s -c copy output.mp4 (If the output video can't be played on the computer, use the command below) or ffmpeg -i 1.m4s -i 2.m4s -threads 2 -preset veryfast -crf 20 output.mp4 ...