I am writing a website that requires a user-uploaded audio file (in the form of PCM or WAV) to be cycled per 60s
In the background of the Web site PHP, how to upload the user audio files in accordance with 60s to cut?
Reply to discussion (solution)
Ffmpeg
Ffmpeg
Can you tell me the details of how to use ffmpeg to achieve it? Thank you!
Ffmpeg-i audio file name-T lasts seconds-ss start seconds output file name
Ffmpeg-i audio file name-T lasts seconds-ss start seconds output file name
Thank you Moderator! It seems to be necessary to know the total length of the audio file, so as to determine when to end the cutting bar, how to write this command?
Reference: http://www.cnblogs.com/wainiwann/p/4031129.html
Reference: http://www.cnblogs.com/wainiwann/p/4031129.html
Thank you moderator, but I did not find the command in the audio time length can be obtained T T
(Video bitrate + audio bitrate) * Duration/8 = file size K
I don't know.
(Video bitrate + audio bitrate) * Duration/8 = file size K
I don't know.
Thank you moderator, as if the article only said how to set, adjust the bitrate, file size, and did not explain how to view the original code rate and size of the file.
Reference: http://www.thinksaas.cn/group/topic/346522/