Tommy Tang | 9 Jul 2012 19:21
Picon

Re: music and movie in the CT during the migration


hello guys,
       Sorry for get this thread up again
       But I really want to know some information about these and Does anyone can give me some suggestion?

2012/7/1 Tommy Tang <thfbjhkhtdx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Hi all:
I'm testing the migration of OpenVZ with music and movie playing in the CT
 
1
As far as I know, I can enable the sound in CT through cloning the sound devices on the host
such as:
mknod /dev/snd/controlC0 c 116 6
mknod /dev/snd/pcmC0D0c c 116 5
mknod /dev/snd/pcmC0D0p c 116 4
mknod /dev/snd/seq c 116 3
mknod /dev/snd/timer c 116 2
chmod 660 /dev/snd/*
chown :audio /dev/snd/*
Is it the only way to enable sound in the container?
 
2
When I migrate the CT with sound in it, I got unsupported dev 116.
Is it possible to migrate CT with sound?
 
3
When I migrate the CT with movie play in it(no sound, see the video through vnc).
Nothing goes wrong but the movie hangs up at the moment CT suspend and I can't continue playing it.
The only thing I can do is closing the movie player and restarting the movie player.
So can the migration be achieved in some other way with movie going on playing?
 
Does anyone know about these problems or pls give me some clues!
 
Thanks!
 
Tommy
 
 
 
 
 
 
 
 
 

_______________________________________________
Users mailing list
Users@...
https://openvz.org/mailman/listinfo/users
Scott Dowdle | 9 Jul 2012 19:42
Favicon

Re: Re: music and movie in the CT during the migration

Tommy,

----- Original Message -----
> Sorry for get this thread up again
> But I really want to know some information about these and Does
> anyone can give me some suggestion?

So far as I'm aware, OpenVZ does NOT virtualize the sound stuff at all... so if you are able to get it working
inside of one container, I don't think it would work in any others.

Some remoting protocols do virtualize the sound stuff so maybe using one of those inside of a container will
make that possible.  The only one I'm aware of would be No Machine's NX 4 which isn't out yet but they have been
releasing previews... and are upto Preview 6.  I think it'll take a while before the final version comes
out... and I haven't tried it inside of an OpenVZ container yet... so whether or not it would provide you
with sound remains to be seen.  I guess if NX does all of the work and doesn't rely on the underlying
hardware/device support, it has a chance of working.

TYL,
--

-- 
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]
Tommy Tang | 10 Jul 2012 11:39
Picon

Re: Re: music and movie in the CT during the migration

Hi, Scott
       Thank you for your reply and I'll have a try.
       BTW:
       Is it possible to virtualize the sound stuff. or OpenVZ does not do this for it's impossible?
       If this is possible, are there some stuffs which have been virtualized in OpenVZ for me to draw from?
 
Thanks

2012/7/10 Scott Dowdle <dowdle-yBMptiTp05F74goWV3ctuw@public.gmane.org>
Tommy,

----- Original Message -----
> Sorry for get this thread up again
> But I really want to know some information about these and Does
> anyone can give me some suggestion?

So far as I'm aware, OpenVZ does NOT virtualize the sound stuff at all... so if you are able to get it working inside of one container, I don't think it would work in any others.

Some remoting protocols do virtualize the sound stuff so maybe using one of those inside of a container will make that possible.  The only one I'm aware of would be No Machine's NX 4 which isn't out yet but they have been releasing previews... and are upto Preview 6.  I think it'll take a while before the final version comes out... and I haven't tried it inside of an OpenVZ container yet... so whether or not it would provide you with sound remains to be seen.  I guess if NX does all of the work and doesn't rely on the underlying hardware/device support, it has a chance of working.

TYL,
--
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]
_______________________________________________
Users mailing list
Users-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org
https://openvz.org/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@...
https://openvz.org/mailman/listinfo/users
Kir Kolyshkin | 10 Jul 2012 16:16
Favicon

Re: Re: music and movie in the CT during the migration

Sound stuff does not need to be virtualized by OpenVZ. There are already enough pieces of software to facilitate it. For example, pulseaudio (which is there by default in most modern distros) can work in client/server mode over the network... so you can have a client in CT and server on the hardware node.

As for the video, I remember we tried migrating some video streaming server some 6-7 years ago, it went fine. As for client video, I guess you have to find a VNC-like solution that lets you watch video without much delay... Again, this has nothing to do with migration per se, since we basically migrate apps and their networking connections.

10.07.2012 13:43 пользователь "Tommy Tang" <thfbjhkhtdx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> написал:
_______________________________________________
Users mailing list
Users@...
https://openvz.org/mailman/listinfo/users
Tommy Tang | 10 Jul 2012 16:44
Picon

Re: Re: Re: music and movie in the CT during the migration

hi kir:
Thanks for your reply.
 

As for the video, I remember we tried migrating some video streaming server some 6-7 years ago, it went fine. As for client video, I guess you have to find a VNC-like solution that lets you watch video without much delay... Again, this has nothing to do with migration per se, since we basically migrate apps and their networking connections.

I actually use the vnc to connect to the CT and the movie is played through movie player
After I migrate the CT, the movie player can't continue playing the movie anymore
 
Tommy
 
Date: 2012-07-10 22:16
To: users
Subject: Re: [Users] Re: music and movie in the CT during the migration

Sound stuff does not need to be virtualized by OpenVZ. There are already enough pieces of software to facilitate it. For example, pulseaudio (which is there by default in most modern distros) can work in client/server mode over the network... so you can have a client in CT and server on the hardware node.

As for the video, I remember we tried migrating some video streaming server some 6-7 years ago, it went fine. As for client video, I guess you have to find a VNC-like solution that lets you watch video without much delay... Again, this has nothing to do with migration per se, since we basically migrate apps and their networking connections.

10.07.2012 13:43 пользователь "Tommy Tang" <thfbjhkhtdx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> написал:
_______________________________________________
Users mailing list
Users@...
https://openvz.org/mailman/listinfo/users

Gmane