Search found 4 matches

Go to advanced search

by brianuuu
17 Mar 2022 17:28
Forum: Development around libVLC
Topic: Getting Raw Audio Data with libVLC on Qt Application
Replies: 7
Views: 709

Re: Getting Raw Audio Data with libVLC on Qt Application

There is a bug in the documentation. You need to use "FL32".
I have tried FL32 too, but still doesn't change, I even tried others like S16N, S32N, S32L, nothing affects it :(
For reference I'm using revision 3.0.16-0-g5e70837d8d
by brianuuu
17 Mar 2022 16:01
Forum: Development around libVLC
Topic: Getting Raw Audio Data with libVLC on Qt Application
Replies: 7
Views: 709

Re: Getting Raw Audio Data with libVLC on Qt Application

Yes, yes, and no. I see, so I have manage to play the audio using Qt with raw PCM data, but when I try to change the audio format, it always forced to use s16l, the code I'm using: libvlc_audio_set_callbacks(m_mediaPlayer, cbAudioPlay, nullptr, nullptr, nullptr, nullptr, &ctxAudio); libvlc_audi...
by brianuuu
15 Mar 2022 22:25
Forum: Development around libVLC
Topic: Getting Raw Audio Data with libVLC on Qt Application
Replies: 7
Views: 709

Re: Getting Raw Audio Data with libVLC on Qt Application

You can't use both at the same time. smem is not part of the supported LibVLC API. Please refer to the official API documentation, not old wiki articles. Thanks for the reply, I can see there's libvlc_audio_set_callbacks() that can give me raw audio data as well? But in this case I will need to imp...
by brianuuu
15 Mar 2022 19:04
Forum: Development around libVLC
Topic: Getting Raw Audio Data with libVLC on Qt Application
Replies: 7
Views: 709

Getting Raw Audio Data with libVLC on Qt Application

Hello, I have been developing a Qt Application that uses libVLC to display output from game capture cards for video/audio analysis. I have all the video output working fine for a while now and I want to start looking into how to get audio data to first doing visualizations and ultimately do audio an...

Go to advanced search