You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it going to use sdl2_nim or sdl2, updateYUVTexture only exists in sdl2_nim,
but
import sdl2,sdl2/audio
of fplay.nim
means import from nim-lang/sdl2, though it compiles and can play video, but sound processing has some obvious issue, makes sound sharp and lags. I suspect that it has some business with this issue.Using sdl2_nim uses
import sdl2/sdl
is enough, it includes all the modules.
I've tried using sdl2_nim , it's the same, not sure where the issue lies in.
The text was updated successfully, but these errors were encountered:
For the fplay.nim example, I'm using nim-lang/sdl2.
As for its audio example, it's indeed has problem with choppy player. I believe due to SDL2 added a silent padding on each audio frame so it's playing a choppy audio.
I was looking a workaround for this issue, one of workaround I found is using queued frame for video and audio frame on different thread and play those frame when the queued packet/frame is enough. (ref: fosterseth/sdl2_video_player .
I haven't had any chance to try it further, will look it later.
Is it going to use sdl2_nim or sdl2, updateYUVTexture only exists in sdl2_nim,
but
of fplay.nim
means import from nim-lang/sdl2, though it compiles and can play video, but sound processing has some obvious issue, makes sound sharp and lags. I suspect that it has some business with this issue.Using sdl2_nim uses
is enough, it includes all the modules.
I've tried using sdl2_nim , it's the same, not sure where the issue lies in.
The text was updated successfully, but these errors were encountered: