Search found 9 matches

Go to advanced search

by NicolasS
19 Jun 2023 10:31
Forum: Development around libVLC
Topic: Video not read in QWidget
Replies: 11
Views: 1589

Re: Video not read in QWidget

Is there an (unstable) version of vlc that supports wayland?

I thought I was reading about a 4.0 maybe?

If so, I imagine it can be found on gitlab on a particular branch, right?

Thanks for help.
by NicolasS
19 Jun 2023 10:26
Forum: Development around libVLC
Topic: Streaming and recording webcam with sound
Replies: 2
Views: 464

Re: Streaming and recording webcam with sound

Hi mfkl.

I have tried to use libvlc_media_add_option and it works with it.

Thanks for help. Now audio is working fine !
by NicolasS
17 Jun 2023 13:31
Forum: Development around libVLC
Topic: Streaming and recording webcam with sound
Replies: 2
Views: 464

Streaming and recording webcam with sound

Hi, I am developing a small application with libvlc whose purpose is to stream and record video from a webcam. For the moment, it works fine by sound is missing. And now, I wish to add sound. In the command line, I do: vlc v4l2:///dev/video0 :input-slave=pulse:// --gain=0 ... But with libvlc I can't...
by NicolasS
10 Jun 2023 09:24
Forum: Development around libVLC
Topic: Video not read in QWidget
Replies: 11
Views: 1589

Re: Video not read in QWidget

It's well known that users/developers never read the doc. I am guilty ! ;-)

Thanks a lot for your answers. The workaround works fine.

Have a nice day.
by NicolasS
04 Jun 2023 16:12
Forum: Development around libVLC
Topic: Video not read in QWidget
Replies: 11
Views: 1589

Re: Video not read in QWidget

I have found a work around by using QT_QPA_PLATFORM=xcb
by NicolasS
04 Jun 2023 16:05
Forum: Development around libVLC
Topic: Video not read in QWidget
Replies: 11
Views: 1589

Re: Video not read in QWidget

I was wrong. The problem comes from wayland. When I'm using X11, no problem. With wayland (If I understood correctly), there is no more global window ids. So I don't know what to give to libvlc_media_player_set_xwindow. Maybe it's incorrect to call this function. I will look if there is a function l...
by NicolasS
02 Jun 2023 18:34
Forum: Development around libVLC
Topic: Video not read in QWidget
Replies: 11
Views: 1589

Re: Video not read in QWidget

I have added a "std::cout << "videoWidget->winId() " << videoWidget->winId() << std::endl;" in Mwindow::openFile. It gives :
videoWidget->winId() 8

I don't know precisely what is WId return by QWidget::winId and how it is convert to string.
by NicolasS
31 May 2023 09:31
Forum: Development around libVLC
Topic: Video not read in QWidget
Replies: 11
Views: 1589

Re: Video not read in QWidget

Thanks for your reply. videoWidget->winId() seems to be valid and initialized. When I print it, I see value like 1 or 2. But I don't know if it's ok. I read here : https://doc.qt.io/qt-6/qwidget.html#winId that "Portable in principle, but if you use it you are probably about to do something non...
by NicolasS
27 May 2023 08:43
Forum: Development around libVLC
Topic: Video not read in QWidget
Replies: 11
Views: 1589

Video not read in QWidget

Hello, I built the project found on this page: https://github.com/videolan/vlc/tree/master/doc/libvlc/QtPlayer and tested it. Unfortunately, every time I start playing a file, libvlc opens a new window instead of playing the video in the QWidget. The project was built under Fedora 38. The behavior i...

Go to advanced search