Skip to content

ExecutiveAssistantAgent 1.0.3

Choose a tag to compare

@xhqing xhqing released this 08 Oct 12:16
· 66 commits to main since this release
893a1ad

Confirm the audio codecs that play with sound in VS Code's media preview

Changed (tmp/codec-test/: confirmed which audio codecs play inside VS Code)

  • Why: the previous entry (1.0.2) ended with "the three samples are the final word on what actually plays". The user then tested them in VS Code and reported that both MP4 samples - H.264 with MP3 audio and H.264 with FLAC audio - do play with sound, so the practical workaround for previewing videos with audio inside the editor is now confirmed. (The WebM sample was not reported back; it is expected to be unplayable because VS Code's bundled library has no matroska demuxer.)
  • What changed: recorded the test result. To hear sound in the built-in preview, re-encode the audio into MP3 or FLAC inside an MP4 while keeping the video stream as-is (-c:v copy): ffmpeg -i in.mp4 -c:v copy -c:a libmp3lame -b:a 128k preview.mp4, or -c:a flac for a lossless track. Videos with their native AAC audio are still best played in a system player (QuickTime / IINA).