destreamer icon indicating copy to clipboard operation
destreamer copied to clipboard

*BUG* --cc doesn't work when --format " " is specified

Open luke-who opened this issue 4 years ago • 3 comments

Hi just found that the --cc flag doesn't work if --format " " is specified other than using the default "mkv", which doesn't need to be specified at all. It seems --cc only works when there's no --format specified could you pls fix that? Cheers!

luke-who avatar Dec 18 '20 22:12 luke-who

Oh yeah, probably ASS can't be placed in any container.. do you have any specific example?

lukaarma avatar Dec 19 '20 17:12 lukaarma

yes for example ./destreamer.sh --cc --format "mp4" -i https://web.microsoftstream.com/video/xxxxxxxxxxxxxxxx or ./destreamer.sh --cc --format "mov" -i https://web.microsoftstream.com/video/xxxxxxxxxxxxxxxx will only download the video but won't generate any caption

however
./destreamer.sh --cc --format "mkv" -i https://web.microsoftstream.com/video/xxxxxxxxxxxxxxxx will do both and works fine as a result, although downloading video is fine, it seems it won't work on generating captions(--cc) when you specify any formats other than "mkv" Hope that helps :-)

luke-who avatar Dec 19 '20 18:12 luke-who

The issue is what I stated above, should be a quick fix @snobu. Here is what i found:

./destreamer.sh --cc --format "mp4" -i https://web.microsoftstream.com/video/xxxxxxxxxxxxxxxx

Need to add -c:s mov_text when mp4 is selected

./destreamer.sh --cc --format "mov" -i https://web.microsoftstream.com/video/xxxxxxxxxxxxxxxx

Same as above because if i remember right QTFF it's just a fancy mp4

lukaarma avatar Dec 19 '20 20:12 lukaarma