![]() Writing library : libebml v1.3.5 libmatroska v1.4.8įormat/Info : High Efficiency Video Codingįormat profile : Main ID : V_MPEGH/ISO/HEVC Writing application : mkvmerge v20.0.0 ('I Am The Sun') 64-bit Would love to hear any idea's on how the corruption of the resulting concatenated video could be explained and hopefully resolved.Unique ID : 63907528843139518757704987483176230582 (0x30142470DBB26E63CC0E70184F44DEB6)Ĭomplete name : C:\Users\Owner\Desktop\Heroes S04E10 Brother's Keeper.mkv When inspecting the files, nothing obvious like filename, filetype, resolution seems to be the issue, the preprocessing seems to do what it should. ![]() Should I try to download all files and then locally concatenating them, or am I right to assume that the current approach should work. ![]() Or is this way of accessing the files by URL and then directly feeding that to moviepy a potential cause of troubles? (VideoFileClip( ) Initially I thought the mistake might be that ffmpeg does not download video's from the normal s3 link properly, but that would not explain why the the biggest video in the beginning and some other video's get rendered correctly, and some others aren't.Ĭould it that this is caused by a potential difference in codecs? (libx264 vs. When a next clip is loaded, that one either plays normally or has the same behaviour of freezing after a couple of frames. A frame remains stationary for the duration of the original clip. The problem however, is that without throwing any errors, some videos are frozen after the first couple of frames after concatenation has been successfull. result_with_audio = t_audio(some_audio.mp3) Later, some audio is added under the full duration of the video. Result = concatenate_videoclips(videos_to_concat, method=compose) Videos_to_concat.append(VideoFileClip(video.s3_link)) Videos_to_concat(VideoFileClip(core_video.s3_link)) from moviepy.editor import VideoFileClip, concatenate_videoclips, AudioFileClip This is done by using Pythons Moviepy library. Of all new uploads in s3, a queue is created which an administrator can approve or delete.Īll approved video's end up in a list that is concatenated with a current 'core video'. User's can upload a video, which is sent to amazon s3 for storage.Īll video's are preprocessed by Moviepy to be an mp4 file, running on 24 fps without audio, with a resolution of 720p.Īfter this preprocessing, the video is uploaded to amazon s3. I have been trying to build a project in which a Flask Application can automatically concatenate a selected amount of video's to a 'core video'.
0 Comments
Leave a Reply. |