youtube mp3 error #6397

Closed
opened 2026-02-21 03:15:49 -05:00 by deekerman · 3 comments
Owner

Originally created by @trevor23 on GitHub (Dec 18, 2015).

when trying to download a youtube mp3 leaves me this erro:

WARNING: Your copy of avconv is outdated, update avconv to version 10-0 or newer if you encounter any errors.
ERROR: Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument

this and the command:

local command = 'youtube-dl --add-metadata -f "bestaudio/best" -o "/tmp/%(title)s.%(ext)s" --restrict-filenames -x --audio-format mp3 --audio-quality 192K '..yt_url

local searchString = '%[ffmpeg] Destination: '

What is wrong?

Originally created by @trevor23 on GitHub (Dec 18, 2015). when trying to download a youtube mp3 leaves me this erro: WARNING: Your copy of avconv is outdated, update avconv to version 10-0 or newer if you encounter any errors. ERROR: Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument ## this and the command: local command = 'youtube-dl --add-metadata -f "bestaudio/best" -o "/tmp/%(title)s.%(ext)s" --restrict-filenames -x --audio-format mp3 --audio-quality 192K '..yt_url ## local searchString = '%[ffmpeg] Destination: ' What is wrong?
Author
Owner

@phihag commented on GitHub (Dec 18, 2015):

Your copy of avconv is outdated. Update avconv to version 10-0 or newer.

@phihag commented on GitHub (Dec 18, 2015): Your copy of avconv is outdated. Update avconv to version 10-0 or newer.
Author
Owner

@trevor23 commented on GitHub (Dec 18, 2015):

@phihag how can I update it?

@trevor23 commented on GitHub (Dec 18, 2015): @phihag how can I update it?
Author
Owner

@phihag commented on GitHub (Dec 18, 2015):

@trevor23 How did you install avconv? If you used a package manager of a distribution, contact the distribution's support. If you installed avconv from source, reinstall with the current version. If you used a binary avconv image, reinstall with the current version.

In any case, this sounds like out of scope for this issue tracker, which is about youtube-dl issues only.

@phihag commented on GitHub (Dec 18, 2015): @trevor23 How did you install avconv? If you used a package manager of a distribution, contact the distribution's support. If you installed avconv from source, reinstall with the current version. If you used a binary avconv image, reinstall with the current version. In any case, this sounds like out of scope for this issue tracker, which is about youtube-dl issues only.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#6397
No description provided.