Skip to content

Commit

Permalink
add sound tracks
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitner committed Aug 18, 2020
1 parent 2da37a1 commit 35d1c06
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def generateVideoClip(url):
introClip = ImageClip('assets/newzery.png').resize(width=WIDTH, height=HEIGHT).set_pos(
('center', 'center')).set_duration(total_duration + INTRO_TIMEOUT).fadein(FADE_TIMEOUT)
finalClip = CompositeVideoClip([introClip, textClip.set_start(
INTRO_TIMEOUT).set_position('center', 'center')]).set_duration(total_duration + INTRO_TIMEOUT) # .set_audio(AudioFileClip(get_music_path(text)))
INTRO_TIMEOUT).set_position('center', 'center')]).set_audio(AudioFileClip(get_music_path(text))).set_duration(total_duration + INTRO_TIMEOUT)
finalClip.write_videofile('final.mp4', fps=30, codec='mpeg4')
generated = 1
except Exception as e:
Expand Down
Binary file added sound_tracks/compound-0.mp3
Binary file not shown.
Binary file added sound_tracks/compound-1.mp3
Binary file not shown.
Binary file added sound_tracks/neg-0.mp3
Binary file not shown.
Binary file added sound_tracks/neg-1.mp3
Binary file not shown.
Binary file added sound_tracks/neu-0.mp3
Binary file not shown.
Binary file added sound_tracks/neu-1.mp3
Binary file not shown.
Binary file added sound_tracks/pos-0.mp3
Binary file not shown.
Binary file added sound_tracks/pos-1.mp3
Binary file not shown.

0 comments on commit 35d1c06

Please sign in to comment.