I'm using AviSynth to edit a sequence of video clips that were recorded by my Pixel XL smartphone camera. The files are .MP4:
video codec is avc1, variable framerate, NTSC standard
audio format is AAC LC, sampling rate 48.0 kHz, frame rate 46.875 FPS
Each of the videos is a slightly different frame rate, close to 29.9 FPS. How do I join clips of these multiple videos together? Audio synchronization is very important (this is a video recording of a classical music performance).
I used VirtualDub2 to output this script to a new .mp4 using 8-bit H264 (2 passes) and AAC compression. The resulting video shows the picture at a slightly faster rate than the audio, so that by the end of the 5 minute video, the audio is behind the picture by almost 2 seconds.Code:a = FFmpegSource2("filename-a.mp4", atrack=-1).ChangeFPS(preset="ntsc_video") b = FFmpegSource2("filename-b.mp4", atrack=-1).ChangeFPS(preset="ntsc_video") a.Trim(u, v) + a.Trim(w, x) + b.Trim(y, z)
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 2 of 2
Thread
Similar Threads
-
Avisynth, merge two videos, but I want to delay audio of one only.
By attackworld in forum EditingReplies: 3Last Post: 25th Mar 2019, 12:57 -
videos recorded from my tv will not play on pc
By jamespoo in forum DVB / IPTVReplies: 4Last Post: 10th Mar 2018, 11:23 -
avisynth with a programme recorded off the TV (satellite STB)
By pooksahib in forum Video ConversionReplies: 1Last Post: 29th Nov 2017, 16:31 -
avisynth and pixel aspect ratio
By silicontrip in forum Newbie / General discussionsReplies: 6Last Post: 29th Sep 2016, 02:10 -
Video pixel breakup with HD videos in VLC
By technicality1 in forum Software PlayingReplies: 5Last Post: 14th Feb 2016, 16:36