Skip to content

Commit

Permalink
Merge pull request #5 from sebosp/master
Browse files Browse the repository at this point in the history
Use the variable extension to avoid .ogg.ogg extension
  • Loading branch information
fede2cr authored Jul 7, 2024
2 parents ba64fa8 + 0804a07 commit 4a0942e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 32 deletions.
33 changes: 2 additions & 31 deletions imitator/yt_demuc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,32 +1,3 @@
antlr4-python3-runtime==4.9.3
Brotli==1.0.9
certifi==2023.7.22
click==8.1.3
cloudpickle==2.2.1
Cython==0.29.33
demucs==4.0.0
diffq==0.2.3
dora-search==0.1.11
einops==0.6.0
julius==0.2.7
lameenc==1.4.2
mutagen==1.46.0
numpy==1.24.2
nvidia-cublas-cu11==11.10.3.66
nvidia-cuda-nvrtc-cu11==11.7.99
nvidia-cuda-runtime-cu11==11.7.99
nvidia-cudnn-cu11==8.5.0.96
omegaconf==2.3.0
openunmix==1.2.1
pycryptodomex==3.17
PyYAML==6.0
retrying==1.3.4
six==1.16.0
submitit==1.4.5
torch==1.13.1
torchaudio==0.13.1
tqdm==4.64.1
treetable==0.2.5
typing_extensions==4.5.0
websockets==10.4
yt-dlp==2023.9.24
demucs==4.0.1
yt-dlp==2024.7.1
2 changes: 1 addition & 1 deletion imitator/yt_demuc/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def download_video(video_id: str):
ydl_opts = {
'format': 'vorbis/bestaudio/best',
'quiet': 'True',
'outtmpl': '{}.ogg'.format(video_id),
'outtmpl': f'{video_id}.%(ext)s',
'restrictfilename': 'True',
'postprocessors': [{
'key': 'FFmpegExtractAudio',
Expand Down

0 comments on commit 4a0942e

Please sign in to comment.