Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rp_server_one
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ranasinghe R.A.P.T
rp_server_one
Commits
138eb974
Commit
138eb974
authored
Aug 03, 2022
by
Pamal-Ranasinghe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make slight change in video appending
parent
0c658a5c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
resources/__pycache__/speechExtraction.cpython-38.pyc
resources/__pycache__/speechExtraction.cpython-38.pyc
+0
-0
resources/wordsMappingModel.py
resources/wordsMappingModel.py
+4
-3
No files found.
resources/__pycache__/speechExtraction.cpython-38.pyc
View file @
138eb974
No preview for this file type
resources/wordsMappingModel.py
View file @
138eb974
...
@@ -32,9 +32,10 @@ class WordMapping:
...
@@ -32,9 +32,10 @@ class WordMapping:
print
(
str
(
self
.
filtered_sentence
[
i
])
+
extension
)
print
(
str
(
self
.
filtered_sentence
[
i
])
+
extension
)
bucket
.
download_file
(
str
(
self
.
filtered_sentence
[
i
])
+
extension
,
'D:/s3_tute/'
+
str
(
self
.
filtered_sentence
[
i
])
+
extension
)
bucket
.
download_file
(
str
(
self
.
filtered_sentence
[
i
])
+
extension
,
'D:/s3_tute/'
+
str
(
self
.
filtered_sentence
[
i
])
+
extension
)
for
filename
in
glob
.
glob
(
'D:/s3_tute/*.mp4'
):
for
i
in
range
(
0
,
len
(
self
.
filtered_sentence
)):
clip
=
VideoFileClip
(
filename
)
with
open
(
'D:/s3_tute/'
+
str
(
self
.
filtered_sentence
[
i
])
+
extension
)
as
f
:
clip_arr
.
append
(
clip
)
clip
=
VideoFileClip
(
f
.
name
)
clip_arr
.
append
(
clip
)
final
=
concatenate_videoclips
(
clip_arr
)
final
=
concatenate_videoclips
(
clip_arr
)
final
.
write_videofile
(
"assets/final_video/final_out.mp4"
)
final
.
write_videofile
(
"assets/final_video/final_out.mp4"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment