반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- OPIC 하루 전
- tersorboard mapping
- OPIC 당일치기
- AI생성함
- OPIC 하루전 시작
- 일기 #다짐
- reinforced learning
- OPIC 오늘 시작
- 인간종말
- tesorboard
- AI모델
- 빅데이터 분석기사 #빅분기실기 #데이터마님 # 빅분기실기준비
- whisper jax
- OPIC 번개
- 음성전처리 #음성처리 #python 음성추출 # python 음성 추출 #moviepy
- docker 환경 문제
- ollama
- 엑셀에 ollama
- 공개키 docker
- ImportError: cannot import name 'Mapping' from 'collections'
- OPIC 시험 전날
- tensorboard html5
- dice loss
- focal loss
- ImportError: cannot import name 'Mapping' from 'collections' tensrorbaord
- DDPG
- gpt excel 사용
- cross entoropy
- 강화학습 간단 정리
- tensorboard 에러
Archives
- Today
- Total
목록음성전처리 #음성처리 #python 음성추출 # python 음성 추출 #moviepy (1)
Moonie
폴더 내 모든 동영상에서 음성을 추출 하는 코드
import os import moviepy.editor as mp path_dir = "데이터 폴더 경로" dst_dir = "대상 폴더 경로" for (root, directories, files) in os.walk(path_dir): for d in directories: d_path = os.path.join(root, d) print(d_path) for file in files: file_path = os.path.join(root, file) # path_dir경로/파일 print(file_path) wave_name = dst_dir + file.strip(".mp4") + (".mp3") # 대상경로+ 파일 명에서 확장자 바꾸기 print(wave_name) dst_file_path =..
공부/코드관련
2023. 5. 19. 01:03