![]() ![]() When you are done you can multiplex the new video and new audio together by: ffmpeg -i new_video.mp4 -i new_audio.mp4 -c copy audio_and_video.mp4 The audio, on the other hand, has a normally 44100Hz or 48000Hz sampling rate, which means that the minimum sample duration with 48KHz is 2.08(3)E-5 seconds. The duration of your frame depends on the frame rate but usually is between 16,(6)ms for 60fps (1/60) content and 41,(6)ms for 24fps (1/24) You can have 1ms frame only if your video is 1000fps which I really doubt it is. Please note that 1 frame is different than 1 millisecond. ffmpeg -i input.mp4 -c:a copy -vn audio_only.mp4 ![]() The -an option is disabling the audio -c:v copy is copying your video stream to video_only.mp4. ![]() ffmpeg -i input.mp4 -c:v copy -an video_only.mp4 I am not sure I understand your question correctly but you can extract the video and audio stream, format them the way you want and then re-multiplex them all with ffmpeg. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |