Merging webm dash video/audio fails #2808

Closed
opened 2026-02-21 00:31:01 -05:00 by deekerman · 3 comments
Owner

Originally created by @LukeMauldin on GitHub (Aug 14, 2014).

Executing this command fails:
youtube-dl -f 140+242 https://www.youtube.com/watch?v=pTjS0o-ZIRg

Error:
ERROR: Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted

On Mac OSX 10.9 using avconv 10.3

The formats are .m4a for audio and .webm for video. After searching through open issues it seems that multiple people are having problems merging webm videos.

Originally created by @LukeMauldin on GitHub (Aug 14, 2014). Executing this command fails: youtube-dl -f 140+242 https://www.youtube.com/watch\?v\=pTjS0o-ZIRg Error: ERROR: Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted On Mac OSX 10.9 using avconv 10.3 The formats are .m4a for audio and .webm for video. After searching through open issues it seems that multiple people are having problems merging webm videos.
Author
Owner

@weedy commented on GitHub (Sep 27, 2014):

Aac-audio isn't allowed in a webm-container. Only vorbis-audio (and perhaps opus by now). That's why avconv/ffmpeg shows you the error.

@weedy commented on GitHub (Sep 27, 2014): Aac-audio isn't allowed in a webm-container. Only vorbis-audio (and perhaps opus by now). That's why avconv/ffmpeg shows you the error.
Author
Owner

@LukeMauldin commented on GitHub (Sep 27, 2014):

Upgrading to libav 11 resolved this issue.

@LukeMauldin commented on GitHub (Sep 27, 2014): Upgrading to libav 11 resolved this issue.
Author
Owner

@clampak commented on GitHub (Nov 22, 2014):

I have avconv 11, and this does not resolve this issue for me. @weedy is correct, aac isn't a valid audio format for a webm container.

@clampak commented on GitHub (Nov 22, 2014): I have avconv 11, and this does not resolve this issue for me. @weedy is correct, aac isn't a valid audio format for a webm container.
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#2808
No description provided.