lab50.vsix icon indicating copy to clipboard operation
lab50.vsix copied to clipboard

Playback errors when trying to play embedded video in `lab_demo` in VS Code desktop on macOS

Open dmalan opened this issue 3 years ago • 7 comments

Screen Shot 2022-09-09 at 8 46 57 PM

dmalan avatar Sep 10 '22 00:09 dmalan

Not a bug or maybe a VS Code bug. I can't get it work on VS Code Desktop version but works ok on Codespace.

rongxin-liu avatar Sep 10 '22 00:09 rongxin-liu

Mind checking what audio and video codecs that video uses?

dmalan avatar Sep 10 '22 00:09 dmalan

VP09 / OPUS Screen Shot 2022-09-09 at 20 54 22

rongxin-liu avatar Sep 10 '22 00:09 rongxin-liu

YouTube playback issue: https://github.com/microsoft/vscode/issues/158858 MP4 playback issue: https://github.com/microsoft/vscode/issues/158972

rongxin-liu avatar Sep 10 '22 01:09 rongxin-liu

Just to close the loop here, possible for us (or VS Code) to compel the player to fall back on H.264 instead somehow, as in your browser-based tests a while back? Possible to simulate, perhaps, by executing a command in VS Code's developer console?

dmalan avatar Sep 10 '22 17:09 dmalan

Not possible from my experiment. Had tried injecting these codes in our lab.js script to suppress VP09 but no luck.

Best to have VS Code support VP09/OPUS codec.

rongxin-liu avatar Sep 10 '22 17:09 rongxin-liu

I also tried playing back our mp4 file from the CDN, but no audio it seems. I think this is because all our videos use aac codec for the audio, but VS Code desktop doesn't support this codec. Not sure why such popular/basic aac codec is not supported.

https://github.com/microsoft/vscode/issues/158972

rongxin-liu avatar Sep 10 '22 17:09 rongxin-liu