Sagnac/streamsave

Is webm still supported?

Closed this issue · 6 comments

force_extension=.webm gives me a "Cache dumping stopped due to a error" message with the output being a 1kb webm file.

Sagnac commented

Yes, keep in mind only VP8, VP9, and AV1 are part of the WebM spec. Can you share the format information of the stream you're trying to save?

Yeah that was the problem, thought was still vp9 but they've apparently changed it.
Another thing, since there's not encoding involved I guess the "keeping active tracks" option like muteda audio/hidden subs is not available and I'm better off just ffmpeg the outputs?

Sagnac commented

Sorry, could you rephrase your question? I'm not sure I understand. Whether the audio is muted or not makes no difference, only which track is selected. If the stream has other tracks you want written you could switch to them and when they're properly cached you could write them to file.

Although if that's your objective (including multiple tracks) it's probably better to automate this using yt-dlp directly and using a tool like mkvmerge without having to encode.

Nothing to do with multiple tracks, poor choice of words on my part sorry.

Whether the audio is muted or not makes no difference

This was my question, if I mute the player or not before dumping the output will still have audio?

Sagnac commented

Yes, as long as that track is selected and cached it will be present in the output.

Ok thanks for the answer.