CVLC executable

*nix specific usage questions
ransha
New Cone
New Cone
Posts: 6
Joined: 12 Sep 2019 06:25

CVLC executable

Postby ransha » 12 Sep 2019 06:38

Hi,
Probably it is basic question but i could not find solution available online while my search.
I am trying to stream video from command line on ubuntu server. I have download VLC source code tarball from http://get.videolan.org/vlc/3.0.8/vlc-3.0.8.tar.xz, and created executable by running make command in following steps:
./bootstrap
./configure
make

I can see vlc executable is created but not cvlc. What am i missing?
I will appreciate any help on this. Thanks.

b1ue
New Cone
New Cone
Posts: 5
Joined: 14 Aug 2019 19:09

Re: CVLC executable

Postby b1ue » 12 Sep 2019 14:51

Hi ! Can I see your config.log ? [url]https://pastebin.com/[/url]

ransha
New Cone
New Cone
Posts: 6
Joined: 12 Sep 2019 06:25

Re: CVLC executable

Postby ransha » 13 Sep 2019 07:01

Hi b1ue. Thanks a lot for looking into it.
I believe you mean the log that is generated during ./configure command is executed. Please find the log at [url]https://pastebin.com/mtuYUYud[/url]

b1ue
New Cone
New Cone
Posts: 5
Joined: 14 Aug 2019 19:09

Re: CVLC executable

Postby b1ue » 13 Sep 2019 10:28

Hello,

Actually I meant the file itself(config.log), because it contains results of failed tests. I don't think it's related, but it's generally good practice to create a build directory and run ../configure from it.

please try to bootstrap, mkdir build && cd build && ../configure. If you don't find the file in the build directory, please send your config.log

ransha
New Cone
New Cone
Posts: 6
Joined: 12 Sep 2019 06:25

Re: CVLC executable

Postby ransha » 14 Sep 2019 03:55

Hi, My bad, i misunderstood. Since the config.log was bigger than 512kb i had to create two pastebin links. Second one contains remaining log.
[url]https://pastebin.com/JfEU5Xfy[/url]
[url]https://pastebin.com/d5uBEbaE[/url]

Please let me know what you notice.

peppy.player
Blank Cone
Blank Cone
Posts: 38
Joined: 10 Nov 2017 00:07

Re: CVLC executable

Postby peppy.player » 15 Sep 2019 03:34

This is a workaround rather than the answer to your question. There is no cvlc on Windows either but I was able to run 'vlc' without any garphical window this way:

Code: Select all

vlc -I dummy --dummy-quiet ...other vlc options
This way you can stream without playing file in a graphical window.

ransha
New Cone
New Cone
Posts: 6
Joined: 12 Sep 2019 06:25

Re: CVLC executable

Postby ransha » 15 Sep 2019 07:30

Thanks peppy.player.
This still gives me error:

00007f0d5c002230] main video output debug: Opening vout display wrapper
[00007f0d54001370] main vout display debug: looking for vout display module matching "any": 10 candidates
[00007f0d54001370] gl vout display error: parent window not available
[00007f0d54001370] xcb vout display error: window not available
[00007f0d54001370] fb vout display warning: disabling TTY handling, use with caution because there is no way to return to the TTY
[00007f0d54001370] fb vout display error: cannot get terminal mode (Inappropriate ioctl for device)
[00007f0d5c002230] main video output error: video output creation failed
[00007f0d5c005c20] main spu text debug: removing module "freetype"
[00007f0d5c06e010] main scale debug: removing module "yuvp"


I would be more interested if cvlc is the solution.

b1ue
New Cone
New Cone
Posts: 5
Joined: 14 Aug 2019 19:09

Re: CVLC executable

Postby b1ue » 18 Sep 2019 00:03

Hello,

sorry for the late reply,

Are you trying to run it on a remote display ?

if yes, you could:

- export DISPLAY=:0
- ./vlc -I rc <yourfile>

that way, you'll be able to have a remote control interface instead of the dummy one.

From what I saw in your config.log, I don't see why you wouldn't have the cvlc file, did you mean you cannot run it?

ransha
New Cone
New Cone
Posts: 6
Joined: 12 Sep 2019 06:25

Re: CVLC executable

Postby ransha » 18 Sep 2019 06:26

Hi b1ue, great to hear from you.

Actually I am trying receive stream through vlc command line on ubuntu server (lets say from youtube). So this server does not have vlc GUI or interface. Now when i try to execute command like:

./vlc -vvv http//:domain.com/file.mp4
It throws above error and says "video output creation failed"

Yes, I see cvlc file is generated but it is not a executable file like vlc is. So I am unable to run it.
Thanks again for looking into it

b1ue
New Cone
New Cone
Posts: 5
Joined: 14 Aug 2019 19:09

Re: CVLC executable

Postby b1ue » 18 Sep 2019 11:09

The error is normal, if you run vlc while display is not set it won't be able to create the video output.

If you do what I said in the previous message, you will start vlc in the remote display but you won't see it in your client.

You need to setup X11 forwarding in your server if you want to have the vlc interface in your client.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 22 guests