Discussion:
[vlc-devel] VLC player 360 degree support in Vetinari 3.0.0-git Vetinari in Linux
Ajit Kumar
2017-09-29 06:47:27 UTC
Permalink
Hi,
I have cloned repository videolan\vlc on github ( synced master to
tip of tree)
I compiled it on my ubuntu PC and wanted to check if 360 degree support
works on the compiled build.I have referred wiki on vlc for the compilation
and it has compiled successfully using below configure option.

./configure --prefix=/home/akumar5/vlc --enable-ffmpeg --enable-flac
--with-ffmpeg-tree=/home/akumar5/work/FFmpeg --enable-x11 --enable-xvideo
--disable-gtk --enable-sdl --enable-ffmpeg --with-ffmpeg-mp3lame
--enable-mad --enable-libdvbpsi --enable-a52 --enable-dca --enable-libmpeg2
--enable-dvdnav --enable-faad --enable-vorbis --enable-ogg --enable-theora
--enable-faac--enable-mkv --enable-freetype --enable-fribidi --enable-speex
--enable-flac --enable-livedotcom --with-livedotcom-tree=/usr/lib/live
--enable-caca --enable-skins --enable-skins2 --enable-alsa
--disable-kde--disable-qt --enable-wxwindows --enable-ncurses --enable-asa
--enable-release --enable-gles2


The problem i am facing is my compiled linux build does not work as per
expectation on 360 videos like eagle360 degree from this link below.
Though,It works flawlessly on the compiled player for windows platform
"vlc-3.0.0-git-win32.exe
<https://people.videolan.org/%7Ejb/Builds/360/vlc-3.0.0-git-win32.exe> "
readily available in the link below.

https://people.videolan.org/~jb/Builds/360/

I am trying to reverse engineer 360 degree support on vlc player for my
understanding of the support need. I am trying to get it working for linux
platfrom , which i am not absolutely sure was tried earlier and need inputs
on what i could be missing in my build procedure.

Any inputs regarding same is appreciated.
Thomas Guillem
2017-09-29 08:43:07 UTC
Permalink
Post by Ajit Kumar
Hi,
I have cloned repository videolan\vlc on github ( synced master
to tip of tree)> I compiled it on my ubuntu PC and wanted to check if 360 degree
support works on the compiled build.I have referred wiki on vlc for
the compilation and it has compiled successfully using below
configure option.>
./configure --prefix=/home/akumar5/vlc --enable-ffmpeg --enable-flac
--with-ffmpeg-tree=/home/akumar5/work/FFmpeg --enable-x11 --enable-
xvideo --disable-gtk --enable-sdl --enable-ffmpeg --with-ffmpeg-
mp3lame --enable-mad --enable-libdvbpsi --enable-a52 --enable-dca --enable-
libmpeg2 --enable-dvdnav --enable-faad --enable-vorbis --enable-ogg
--enable-theora --enable-faac--enable-mkv --enable-freetype --enable-
fribidi --enable-speex --enable-flac --enable-livedotcom --with-livedotcom-
tree=/usr/lib/live --enable-caca --enable-skins --enable-skins2 --enable-
alsa --disable-kde--disable-qt --enable-wxwindows --enable-ncurses --enable-
asa --enable-release --enable-gles2>
The problem i am facing is my compiled linux build does not work
as per expectation on 360 videos like eagle360 degree from this
link below. Though,It works flawlessly on the compiled player for
windows platform "vlc-3.0.0-git-win32.exe[1] " readily available in
the link below.>
https://people.videolan.org/~jb/Builds/360/[2]
I am trying to reverse engineer 360 degree support on vlc player for
my understanding of the support need. I am trying to get it working
for linux platfrom , which i am not absolutely sure was tried earlier
and need inputs on what i could be missing in my build procedure.>
Any inputs regarding same is appreciated.
Hi,

360 is working on every OS/platform. You just need to make sure direct3d
is used on Windows, and OpenGL is used on other platforms.With a default configuration, OpenGL/Direct3D should be built and used
as a default video output.
Post by Ajit Kumar
_________________________________________________
vlc-devel mailing list
https://mailman.videolan.org/listinfo/vlc-devel
Links:

1. https://people.videolan.org/%7Ejb/Builds/360/vlc-3.0.0-git-win32.exe
2. https://people.videolan.org/%7Ejb/Builds/360/
Adrien Maglo
2017-09-29 08:47:28 UTC
Permalink
Post by Ajit Kumar
I am trying to reverse engineer 360 degree support on vlc player for my
understanding of the support need. I am trying to get it working for
linux platfrom , which i am not absolutely sure was tried earlier and
need inputs on what i could be missing in my build procedure.
Any inputs regarding same is appreciated.
It was originally developed on the Linux platform. Besides, I have been
lately testing it nearly everyday so I can assure you that it is
supported on Linux.

You should be more precise in your report. What "does not work as per
expectation" exactly means? What do you get? Do not hesitate also to
send us verbose VLC logs.

Best regards,
--
MagSoft
Bang He
2017-09-29 09:35:48 UTC
Permalink
i wonder how to watch your 360 video. can you tell me some ways to watch it?
Post by Adrien Maglo
Post by Ajit Kumar
I am trying to reverse engineer 360 degree support on vlc player for my
understanding of the support need. I am trying to get it working for linux
platfrom , which i am not absolutely sure was tried earlier and need inputs
on what i could be missing in my build procedure.
Any inputs regarding same is appreciated.
It was originally developed on the Linux platform. Besides, I have been
lately testing it nearly everyday so I can assure you that it is supported
on Linux.
You should be more precise in your report. What "does not work as per
expectation" exactly means? What do you get? Do not hesitate also to send
us verbose VLC logs.
Best regards,
--
MagSoft
_______________________________________________
vlc-devel mailing list
https://mailman.videolan.org/listinfo/vlc-devel
Ajit Kumar
2017-09-30 10:01:08 UTC
Permalink
Hi All,

Thanks for confirming 360 degree video works on Linux as well.

I am using Ubuntu 14.04 machine to compile the Vetinari 3.0.0-git and
compilation and playback of 360 degree video works.

I then use my mouse and keyboard to change the viewing angle and notice no
change in video on any mouse/keyboard actions.

From logs i could tell , the VOUT_DISPLAY_CHANGE_VIEWPOINT control request
is coming to the module>video_ouput>xcb>x11.c but it is not honoured.

Since, there is no appropriate handling for same in xcb found it in my code
walk through.

(Log snippet below)

[a4f53650] xcb_x11 vout display error: Unknown request in XCB vout display
[a4f53650] core vout display error: Failed to change Viewpoint
[a4f87fc8] motiondetect filter debug: Counted 0 moving shapes.

This makes me think though i have synced to the tip of tree in the master
branch,

I may not working on a branch in which the 360 support is available .Please
correct me if i am wrong here.

Or

my current xcb module in video_output does not process any 360 degree
navigation requests and i need to move to the correct version of xcb which
supports it.

Please redirect me to a branch which supports navigation of 360 degree
video.

Verbose logs are attached:

Attachment: 360degree_vlc.log

Thanks

Ajit Kumar
Post by Ajit Kumar
Hi,
I have cloned repository videolan\vlc on github ( synced master to
tip of tree)
I compiled it on my ubuntu PC and wanted to check if 360 degree support
works on the compiled build.I have referred wiki on vlc for the compilation
and it has compiled successfully using below configure option.
./configure --prefix=/home/akumar5/vlc --enable-ffmpeg --enable-flac
--with-ffmpeg-tree=/home/akumar5/work/FFmpeg --enable-x11
--enable-xvideo --disable-gtk --enable-sdl --enable-ffmpeg
--with-ffmpeg-mp3lame --enable-mad --enable-libdvbpsi --enable-a52
--enable-dca --enable-libmpeg2 --enable-dvdnav --enable-faad
--enable-vorbis --enable-ogg --enable-theora --enable-faac--enable-mkv
--enable-freetype --enable-fribidi --enable-speex --enable-flac
--enable-livedotcom --with-livedotcom-tree=/usr/lib/live --enable-caca
--enable-skins --enable-skins2 --enable-alsa --disable-kde--disable-qt
--enable-wxwindows --enable-ncurses --enable-asa --enable-release
--enable-gles2
The problem i am facing is my compiled linux build does not work as per
expectation on 360 videos like eagle360 degree from this link below.
Though,It works flawlessly on the compiled player for windows platform
"vlc-3.0.0-git-win32.exe
<https://people.videolan.org/%7Ejb/Builds/360/vlc-3.0.0-git-win32.exe> "
readily available in the link below.
https://people.videolan.org/~jb/Builds/360/
I am trying to reverse engineer 360 degree support on vlc player for my
understanding of the support need. I am trying to get it working for linux
platfrom , which i am not absolutely sure was tried earlier and need inputs
on what i could be missing in my build procedure.
Any inputs regarding same is appreciated.
Adrien Maglo
2017-10-02 11:30:37 UTC
Permalink
Post by Ajit Kumar
Hi All,
Hello Ajit,
Post by Ajit Kumar
             Thanks for confirming 360 degree video works on Linux as well.
I am using Ubuntu 14.04 machine to compile the Vetinari 3.0.0-git and
compilation and playback of 360 degree video works.
I then use my mouse and keyboard to change the viewing angle and notice
no change in video on any mouse/keyboard actions.
From logs i could tell , the VOUT_DISPLAY_CHANGE_VIEWPOINT control
request is coming to the module>video_ouput>xcb>x11.c but it is not
honoured.
Since, there is no appropriate handling for same in xcb found it in my
code walk through.
(Log snippet below)
[a4f53650] xcb_x11 vout display error: Unknown request in XCB vout display
[a4f53650] core vout display error: Failed to change Viewpoint
[a4f87fc8] motiondetect filter debug: Counted 0 moving shapes.
This makes me think though i have synced to the tip of tree in the
master branch,
I may not working on a branch in which the 360 support is available
.Please correct me if i am wrong here.
Or
my current xcb module in video_output does not process any 360 degree
navigation requests and i need to move to the correct version of xcb
which supports it.
Please redirect me to a branch which supports navigation of 360 degree
video.
The master branch does support 360 degree navigation.
As Thomas previously told you, on Linux you must use the OpenGL video
output. This is not currently the case according to your logs.

Best regards,
--
MagSoft
Ajit Kumar
2017-10-05 13:15:09 UTC
Permalink
Hi Adrien/Thomas,
Finally had success, Thanks a lot for the inputs.

I finally had success and it is working for me now.
I am able to change viewing angles using mouse actions and keys on
keyboard. in my current build.
I don't exactly know what different did it t make his time.

But, this time I used ubuntu 16.04 .
I had re-built ffmpeg libs out of the vlc tree and re-configured
vlc player as mentioned below to get it working at this point.

./configure '--disable-vdpau' '--diable-qt'


Thanks
Ajit Kumar
Post by Adrien Maglo
Post by Ajit Kumar
Hi All,
Hello Ajit,
Thanks for confirming 360 degree video works on Linux as
Post by Ajit Kumar
well.
I am using Ubuntu 14.04 machine to compile the Vetinari 3.0.0-git and
compilation and playback of 360 degree video works.
I then use my mouse and keyboard to change the viewing angle and notice
no change in video on any mouse/keyboard actions.
From logs i could tell , the VOUT_DISPLAY_CHANGE_VIEWPOINT control
request is coming to the module>video_ouput>xcb>x11.c but it is not
honoured.
Since, there is no appropriate handling for same in xcb found it in my
code walk through.
(Log snippet below)
[a4f53650] xcb_x11 vout display error: Unknown request in XCB vout display
[a4f53650] core vout display error: Failed to change Viewpoint
[a4f87fc8] motiondetect filter debug: Counted 0 moving shapes.
This makes me think though i have synced to the tip of tree in the master
branch,
I may not working on a branch in which the 360 support is available
.Please correct me if i am wrong here.
Or
my current xcb module in video_output does not process any 360 degree
navigation requests and i need to move to the correct version of xcb which
supports it.
Please redirect me to a branch which supports navigation of 360 degree
video.
The master branch does support 360 degree navigation.
As Thomas previously told you, on Linux you must use the OpenGL video
output. This is not currently the case according to your logs.
Best regards,
--
MagSoft
Ajit Kumar
2017-10-05 15:03:22 UTC
Permalink
Hi,
Now that it is working.
I was now experimenting to see if i could stream the 360 degree video to
another instance of vlc.
So, as to confirm whether changing the viewing angle on the streamed
content is also reflected in another instance of vlc which receives the
content ?

In my observation, i did not see the another vlc instance mimic the change
in viewing angle and am curious to know why it is not possible to do so?

Assuming there are multiple video_output modules compiled in my build:
I want to know if can tell from vlc verbose logs the module in
"video_output" which is doing the change in viewing angle in my build.

Thanks
Ajit Kumar
Post by Ajit Kumar
Hi Adrien/Thomas,
Finally had success, Thanks a lot for the inputs.
I finally had success and it is working for me now.
I am able to change viewing angles using mouse actions and keys on
keyboard. in my current build.
I don't exactly know what different did it t make his time.
But, this time I used ubuntu 16.04 .
I had re-built ffmpeg libs out of the vlc tree and re-configured
vlc player as mentioned below to get it working at this point.
./configure '--disable-vdpau' '--diable-qt'
Thanks
Ajit Kumar
Post by Adrien Maglo
Post by Ajit Kumar
Hi All,
Hello Ajit,
Thanks for confirming 360 degree video works on Linux as
Post by Ajit Kumar
well.
I am using Ubuntu 14.04 machine to compile the Vetinari 3.0.0-git and
compilation and playback of 360 degree video works.
I then use my mouse and keyboard to change the viewing angle and notice
no change in video on any mouse/keyboard actions.
From logs i could tell , the VOUT_DISPLAY_CHANGE_VIEWPOINT control
request is coming to the module>video_ouput>xcb>x11.c but it is not
honoured.
Since, there is no appropriate handling for same in xcb found it in my
code walk through.
(Log snippet below)
[a4f53650] xcb_x11 vout display error: Unknown request in XCB vout display
[a4f53650] core vout display error: Failed to change Viewpoint
[a4f87fc8] motiondetect filter debug: Counted 0 moving shapes.
This makes me think though i have synced to the tip of tree in the
master branch,
I may not working on a branch in which the 360 support is available
.Please correct me if i am wrong here.
Or
my current xcb module in video_output does not process any 360 degree
navigation requests and i need to move to the correct version of xcb which
supports it.
Please redirect me to a branch which supports navigation of 360 degree
video.
The master branch does support 360 degree navigation.
As Thomas previously told you, on Linux you must use the OpenGL video
output. This is not currently the case according to your logs.
Best regards,
--
MagSoft
Loading...