Skip to content
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

unable to extract audio #25940

Closed
beew opened this issue Jul 9, 2020 · 1 comment
Closed

unable to extract audio #25940

beew opened this issue Jul 9, 2020 · 1 comment
Labels

Comments

@beew
Copy link

@beew beew commented Jul 9, 2020

Hi, I am unable to extract audio from videos (e.g mp3) In fact it seems that tartube is unable to download any format other than video in mp4 or webm. .

e.g tried this link https://www.youtube.com/watch?v=rLtZKkCIVmI I don't want the video, I just want the audio. I use the classic interface and choose format mp3 from the box.

Here is the output.

/home/bee/.local/bin/youtube-dl --newline -i --hls-prefer-native -o /home/bee/Music/%(title)s.%(ext)s -f mp3 --ffmpeg-location /usr/bin/ffmpeg https://www.youtube.com/watch?v=rLtZKkCIVmI
[youtube] rLtZKkCIVmI: Downloading webpage
ERROR: requested format not available

However, using youtube-dl with the comand line downloads video, extracts audio and converst to desired format with no problem.

This works flawlessly

$youtube-dl -x --audio-format mp3 https://www.youtube.com/watch?v=rLtZKkCIVmI
[youtube] rLtZKkCIVmI: Downloading webpage
[download] Destination: Tom Waits - 'Downtown Train'-rLtZKkCIVmI.m4a
[download] 100% of 4.66MiB in 00:02
[ffmpeg] Correcting container in "Tom Waits - 'Downtown Train'-rLtZKkCIVmI.m4a"
[ffmpeg] Destination: Tom Waits - 'Downtown Train'-rLtZKkCIVmI.mp3
Deleting original file Tom Waits - 'Downtown Train'-rLtZKkCIVmI.m4a (pass -k to keep)

Tartube v2.1.051 installed with pip3

youtube-dl version 2020.06.16.1

OS Ubuntu 20.04

@dstftw dstftw closed this Jul 9, 2020
@dstftw dstftw added the invalid label Jul 9, 2020
@beew
Copy link
Author

@beew beew commented Jul 9, 2020

Oops sorry, wrong site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.