Skip to content

Instantly share code, notes, and snippets.

@ohac
Last active July 13, 2020 08:39
Show Gist options
  • Select an option

  • Save ohac/a246d2cce1ac5f182ff2f24fb1054f7f to your computer and use it in GitHub Desktop.

Select an option

Save ohac/a246d2cce1ac5f182ff2f24fb1054f7f to your computer and use it in GitHub Desktop.

linux側

ffmpeg -f jack -i "win" -ac 2 -acodec pcm_s16le -ar 44100 \
  -f s16le "udp://172.21.62.122:18181"

windows側

ffplay -nodisp -ac 2 -acodec pcm_s16le -ar 44100 -analyzeduration 0 \
  -probesize 32 -f s16le -i udp://0.0.0.0:18181?listen=1

注意

VirtualBoxのnullオーディオドライバーを使うととても遲くなるため、JACKのdummy driverを使うこと。

参考

https://gist.github.com/Fusl/3a708b8c32c9d5264fa0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment