Milan Nikolic
Milan Nikolic
Well, the crash is in github.com/pion/mediadevices/pkg/codec/x264._Cfunc_enc_new, I don't see anything related to this repo in the traceback. Probably can be because you are trying to initialize two different x264 encoders...
Hi, I added an Ebitengine example here https://github.com/gen2brain/mpeg/blob/main/examples/player-eb/main.go. There are some issues though, the audio is crackling. I tried to play the SDL example with the `S16` format I added...
@tinne26 Thanks, I did not know about `IsKeyJustPressed`, I didn't use Ebitengine before, and I suspected something is wrong there because I could not toggle fullscreen, I will change that...
Yes, sorry, just to point out this, the decoder will preallocate the memory for the audio sample, and it should be used in the callback function, i.e. write the received...
Well, yes, the Decode() is called with the `tick` seconds, usually 1/60, it will call Video/Audio callbacks any number of times, for this to work you must SetAudioLeadTime() to the...
@hajimehoshi No idea, mpeg package only uses the standard library. I get the same, I wanted to try and build a master without modules, but then the problem is v2.
Ok, I removed modules, tidy now works, thanks! I also switched to inpututil.
@tinne26 Feel free to modify whatever you need directly in the library. I added a lot of helper functions like `RGBA()`, `YCbCr()`, `Bytes()`, `Pixels()`, memory is preallocated for different audio...
The new release is uploaded and the README is updated.
Ok, but that looks like a hack. If you do here `go mod init`, followed by `tidy` one only gets `go.mod`, without `go.sum` because there are no 3rdparty packages. That...