-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
اضافه شدن فیچر های جدید #27
base: master
Are you sure you want to change the base?
Conversation
Check audio is health (fix bug) slpit audios ( Sounds cut based on video file ) Added audios to videos file with local ffmpeg Add new tools in tools.py
سلام خیلی ممنون از شما |
سلام، لطفا دارید. اگر وقت کردم این نیاز به نصب نسخه سیستمی ffmpeg رو رفع میکنم.
ولی این درسهام خیلی سنگین شده این ترم، خیلی اذیت میکنه... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also rebase your branch with master
return time_slice | ||
|
||
def audios_splitter(targetAudio,time_box,output_path,format=".mp3"): | ||
output_path = output_path.replace("\\","/") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need to this
removefile(targetVideo) | ||
|
||
|
||
def timeLine(time_table, time_Lines, meeting = "sample"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use snake_case convention
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also in other functions and vars
@@ -2,70 +2,68 @@ | |||
import xmltodict | |||
import os | |||
import re | |||
|
|||
import tools as milad # Miladshakerdn => Github |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use a proper name :)
aud = ffmpeg.input(meeting_temp_path + camera_voip).audio | ||
audios.append(ffmpeg.filter(aud, 'adelay', '{}ms'.format(time_table[camera_voip][0]))) | ||
target_audio_path = meeting_temp_path + camera_voip | ||
prop = len(ffmpeg.probe(meeting_temp_path + camera_voip)['streams']) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prop = len(ffmpeg.probe(meeting_temp_path + camera_voip)['streams']) | |
probe_len = len(ffmpeg.probe(meeting_temp_path + camera_voip)['streams']) |
milad.audios_splitter(targetAudio, time_box, output_path) | ||
|
||
videos = [] | ||
prev_scrnshr = "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prev_scrnshr = "" | |
prev_screen_share = "" |
for iname in time_box: | ||
if str(iname).startswith(vTemp): | ||
video_name = iname | ||
targetAudioV = video_name + ".mp3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use snake_case convention
media_converter.py
Outdated
|
||
def convert_media(meeting_id): | ||
# for debugging change from 'quiet' to 'info' | ||
log_level = 'quiet' | ||
|
||
# Sound volume 0-100 | ||
volume = 100 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this makes the sound very noisy, I think we don't need this at least for now
sound of screen shares is not sync with the video |
Configure WhiteSource Bolt for GitHub
تنظیم حجم صدا به 1
حجم صدا 50
نیازمندی جدید
نیاز به نصب نسخه سیستمی ffmpeg
تغییرات
1. اضافه شدن صوت به ویدئو ها
2. دسته بندی صوتهای بدون ویدئو
3. ویدئو ها و صوتها به ترتیب زمانی شماره گذاری شده اند
4. شناسایی و حذف فایل های صوتی خراب