Page 1 of 1
CVLC executable
Posted: 12 Sep 2019 06:38
by ransha
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.
Re: CVLC executable
Posted: 12 Sep 2019 14:51
by b1ue
Hi ! Can I see your config.log ? [url]https://pastebin.com/[/url]
Re: CVLC executable
Posted: 13 Sep 2019 07:01
by ransha
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]
Re: CVLC executable
Posted: 13 Sep 2019 10:28
by b1ue
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
Re: CVLC executable
Posted: 14 Sep 2019 03:55
by ransha
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.
Re: CVLC executable
Posted: 15 Sep 2019 03:34
by peppy.player
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.
Re: CVLC executable
Posted: 15 Sep 2019 07:30
by ransha
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.
Re: CVLC executable
Posted: 18 Sep 2019 00:03
by b1ue
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?
Re: CVLC executable
Posted: 18 Sep 2019 06:26
by ransha
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
Re: CVLC executable
Posted: 18 Sep 2019 11:09
by b1ue
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.