On 8/1/2019 4:10 PM, Reco wrote: > On Thu, Aug 01, 2019 at 03:56:16PM +0200, john doe wrote: >> On 8/1/2019 1:26 PM, Reco wrote: >>> Hi. >>> >>> On Thu, Aug 01, 2019 at 12:33:26PM +0200, john doe wrote: >>>> On 8/1/2019 10:42 AM, Kevin DAGNEAUX wrote: >>>>> Le 01/08/2019 à 09:41, john doe a écrit : >>>>>> On 7/31/2019 1:04 PM, john doe wrote: >>>>>>> Answering from this e-mail to all of the answers. >>>>>>> >>>>>>> On 7/30/2019 1:50 PM, Celejar wrote: >>>>>>>> On Tue, 30 Jul 2019 13:04:10 +0200 >>>>>>>> john doe <johndoe65...@mail.com> wrote: >>>>>>>> >>>>>>> stream from the above (VLC does it, so I should be able to do the >>>>>>> same). >>>>>>> >>>>>>> As suggested I will look at transcoding if I can't find that direct URL. >>>>>>> >>>>>> Looking at transcoding to mp3 using vlc I see that I will require to >>>>>> install x11 and other packages. >>>>>> >>>>>> If I'm successfull, the transcoding will be done on a server where x11 >>>>>> won't be available which makes the use of vlc not practical. >>>>>> Is there a command line (CLI) alternative to vlc for transcoding to mp3 >>>>>> and streaming that transcoded mp3 stream to my devices? >>>>>> >>>>>> -- >>>>>> John Doe >>>>>> >>>>> VLC can work without X11 >>>> >>>> Cool, how do I go to install vlc in such a way? >>>> >>>> apt-get will install x11 (x11-common, x11-utils ...) that is as far as I >>>> understand it. >>> >>> apt install vlc-bin >>> >>> The binary is called cvlc ("console" VLC). >>> >> >> Thanks Rico and "Kevin DAGNEAUX <kevin.dagne...@fiitelcom.fr>" >> >> Ok -- I've done that! >> >> Now if I do the below command I only get one line and the command exit >> with 1: >> >> $ cvlc output.mp3; echo $? >> VLC media player 3.0.7 Vetinari (revision 3.0.7-0-g86cee31099) >> 1 >> >> Where output.mp3 is a file that is playable. >> >> I'm assuming that the above is expected because the >> codecs/modules/libraries that are required are missing. >> If I'm correct, what is the best way to know what I need? > > apt install vlc-plugin-base > > Just a friendly warning - it'll bring a kitchen sink and a whole zoo along. >
Yeah, vlc-plugin-base will also install x11 related stuff. Looking at ffmpeg it will install x11 related stuff and also some for wayland stuff, and I also need an other utility to stream to multiple devices. Streamlink could do what I want with the '--player-external-http' option but I would need ffmpeg to convert my stream to mp3 and can only stream to one device at a time. Given that vlc does all that I want in one program, I might aas well go for it and try to be as selective as possible in what plugin I install. Even with the verbose flag, vlc does not tell me what is missing, I'll need to look at the docs to see how I can get vlc to be as verbose as possible. -- John Doe