You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having issues when exporting the video. It does render but it does not render correctly.
I'm trying to make a compilation of videos. The first video is always fine but the rest are all garbled.
OS : OS X EL Capitan v.10.11.6
This is how I concatenate all the clips and add the audio to it.
I used the write_videofile parameters from issue #356(direct link to comment) but I'm still getting the issue...
final_audio = mp.AudioFileClip(music_fp)
# clip_list is a list of CompositeVideoClip
final_clip = mp.concatenate_videoclips(clip_list).fadein(2).fadeout(2)
final_clip = final_clip.set_audio(final_audio.set_duration(int(final_clip.duration)))
final_clip.write_videofile(
output_fp,
verbose=True,
codec="libx264",
audio_codec='aac',
temp_audiofile='temp-audio.m4a',
remove_temp=True,
preset="medium",
ffmpeg_params=["-profile:v","baseline", "-level","3.0","-pix_fmt", "yuv420p"])
Garbled output example
I know this shouldn't be posted here but more on Stackoverflow or the moviepy subreddit but it seems to take forever to get even a single response on either of those. Thanks in advance for your help
The text was updated successfully, but these errors were encountered:
I managed to fix this, I needed to add a method="compose" parameter to concatenate_videoclips() most likely because my clips might have been of different sizes.
I'm having issues when exporting the video. It does render but it does not render correctly.
I'm trying to make a compilation of videos. The first video is always fine but the rest are all garbled.
OS : OS X EL Capitan v.10.11.6
This is how I concatenate all the clips and add the audio to it.
I used the write_videofile parameters from issue #356 (direct link to comment) but I'm still getting the issue...
Garbled output example
I know this shouldn't be posted here but more on Stackoverflow or the moviepy subreddit but it seems to take forever to get even a single response on either of those. Thanks in advance for your help
The text was updated successfully, but these errors were encountered: