nareix / joy4

Golang audio/video library and streaming server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to transcode to VP9 on the fly?

ivanjaros opened this issue · comments

I am having issues with MediaSource in browser for MP4 files. 99% of files just won't play if used through MS. So I transcoded one of my captured MP4 files into VP9(webm) via ffmpeg and it worked just fine. So I would like to take in the FLV stream and instead of using MP4 muxer, I would like to use VP9/WebM muxer. But due to the nature of live streaming, I cannot/want to do this afterwards(MP4->WebM) so It has to be captured into WebM right away. Is there some library that could support this with joy4 library? I know there is C binding for direct use of ffmpeg in here but I do nto allow C code iny my Go code so that is not a viable option for me.