Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Streaming using VLC: which USE flags are required
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
jang0
n00b
n00b


Joined: 09 Nov 2020
Posts: 72

PostPosted: Wed Jun 02, 2021 10:18 pm    Post subject: Streaming using VLC: which USE flags are required Reply with quote

I'm trying to record screen audio and video using media-sound/vlc, I followed some tutorials as well as the gentoo wiki. When I enter into Media/Capture devices, I can capture desktop video but without sound; in adition there are not audio or video input devices avialable in this VLC menu.
My current VLC use flags:
Code:

[ebuild   R   ] media-video/vlc-3.0.14  USE="X alsa dbus dvbpsi encode ffmpeg gcrypt libsamplerate live lua matroska mp3 mpeg ncurses pulseaudio qt5 ssl theora upnp vpx wayland -a52 -aom -archive -aribsub -bidi -bluray -cddb -chromaprint -chromecast -dav1d -dc1394 -debug (-directx) -dts -dvd -faad -fdk -flac -fluidsynth -fontconfig -gme -gnome-keyring -gstreamer -ieee1394 -jack -jpeg -kate -libass -libcaca -libnotify -libtar -libtiger -linsys -lirc -macosx-notifications -mad -modplug -mtp -musepack -nfs -ogg -omxil -optimisememory -opus -png -projectm -rdp -run-as-root -samba -sdl-image -sftp -shout -sid -skins -soxr -speex -srt -svg -taglib -test -tremor -truetype -twolame -udev -v4l -vaapi -vdpau -vnc -x264 -x265 -xml -zeroconf -zvbi" CPU_FLAGS_X86="mmx sse" LUA_SINGLE_TARGET="lua5-1 -lua5-2"


Some gentoo wiki recommended use flags are not actually in the repository: gnutls, rtsp, vcdx and vorbis. It need to be actualized.

Which Use flags should I use? thank you.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30988
Location: here

PostPosted: Thu Jun 03, 2021 5:51 am    Post subject: Reply with quote

You should enable v4l use flag for capture video input device.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
stonespheres
n00b
n00b


Joined: 16 Apr 2021
Posts: 16
Location: Australia

PostPosted: Thu Jun 03, 2021 11:23 pm    Post subject: Re: Streaming using VLC: which USE flags are required Reply with quote

jang0 wrote:
I'm trying to record screen audio and video using media-sound/vlc, I followed some tutorials as well as the gentoo wiki. When I enter into Media/Capture devices, I can capture desktop video but without sound; in adition there are not audio or video input devices avialable in this VLC menu.
My current VLC use flags:
Code:

[ebuild   R   ] media-video/vlc-3.0.14  USE="X alsa dbus dvbpsi encode ffmpeg gcrypt libsamplerate live lua matroska mp3 mpeg ncurses pulseaudio qt5 ssl theora upnp vpx wayland -a52 -aom -archive -aribsub -bidi -bluray -cddb -chromaprint -chromecast -dav1d -dc1394 -debug (-directx) -dts -dvd -faad -fdk -flac -fluidsynth -fontconfig -gme -gnome-keyring -gstreamer -ieee1394 -jack -jpeg -kate -libass -libcaca -libnotify -libtar -libtiger -linsys -lirc -macosx-notifications -mad -modplug -mtp -musepack -nfs -ogg -omxil -optimisememory -opus -png -projectm -rdp -run-as-root -samba -sdl-image -sftp -shout -sid -skins -soxr -speex -srt -svg -taglib -test -tremor -truetype -twolame -udev -v4l -vaapi -vdpau -vnc -x264 -x265 -xml -zeroconf -zvbi" CPU_FLAGS_X86="mmx sse" LUA_SINGLE_TARGET="lua5-1 -lua5-2"


Some gentoo wiki recommended use flags are not actually in the repository: gnutls, rtsp, vcdx and vorbis. It need to be actualized.

Which Use flags should I use? thank you.


You'll need v4l for video capture. Additionally you'll need either jack, pulseaudio, pipewire or alsa for audio.
If you want to stream to popular streaming services you'll also need lua.
_________________
Every emerge is an opportunity.
Back to top
View user's profile Send private message
jang0
n00b
n00b


Joined: 09 Nov 2020
Posts: 72

PostPosted: Mon Jun 07, 2021 10:48 pm    Post subject: Reply with quote

I used the abovesaid flags (pulseaudio and alsa) plus v4l, when I navigate to "Media" > "Open Capture Device" get those options:
Capture Mode >

    - Video Camera
    - TV - Digital
    - TV - Analog
    - Desktop

In this menu I don't see audio devices; and "VIdeo Camera" nor "Desktop" capture audio already, I've played with video H264 MP3 + MP4 formats as explain in the tutorials.

Is it due to a missing flag? how can I record Audio?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum