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 رو رفع میکنم.
ولی این درسهام خیلی سنگین شده این ترم، خیلی اذیت میکنه... |
sina-rostami
left a comment
There was a problem hiding this comment.
also rebase your branch with master
| return time_slice | ||
|
|
||
| def audios_splitter(targetAudio,time_box,output_path,format=".mp3"): | ||
| output_path = output_path.replace("\\","/") |
| removefile(targetVideo) | ||
|
|
||
|
|
||
| def timeLine(time_table, time_Lines, meeting = "sample"): |
There was a problem hiding this comment.
also in other functions and vars
| import os | ||
| import re | ||
|
|
||
| import tools as milad # Miladshakerdn => Github |
| 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.
| 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.
| prev_scrnshr = "" | |
| prev_screen_share = "" |
| for iname in time_box: | ||
| if str(iname).startswith(vTemp): | ||
| video_name = iname | ||
| targetAudioV = video_name + ".mp3" |
media_converter.py
Outdated
| log_level = 'quiet' | ||
|
|
||
| # Sound volume 0-100 | ||
| volume = 100 |
There was a problem hiding this comment.
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. شناسایی و حذف فایل های صوتی خراب