VLC fails to start remotely through SSH

*nix specific usage questions
elesouef
Blank Cone
Blank Cone
Posts: 20
Joined: 14 Apr 2010 10:34

VLC fails to start remotely through SSH

Postby elesouef » 26 Oct 2010 16:12

Hello,

I have VLC running well on an Ubuntu 10.04. Now that it works ok, I try to run it from a remote Debian Squeeze computer with the following command :

Code: Select all

cvlc -vvv v4l2:// :v4l2-dev='/dev/video0' :v4l2-standard=4 :v4l2-input=2 :v4l2-stereo :v4l2-samplerate=48000 :v4l2-caching=500 :v4l2-tuner=0 :audio-dev=/dev/dsp
It fails to start completely with the following logs :

Code: Select all

[0x87a2e80] xvideo video output debug: XShm video extension v1.1 (with pixmaps, opcode: 140) [0xb6e00c80] main input debug: Buffering 56% [0x87a2e80] xvideo video output debug: Window manager supports NetWM [0xb6e00c80] main input debug: Buffering 64% [0x87a2e80] xvideo video output debug: Window manager supports _NET_WM_STATE_FULLSCREEN [0x87a2e80] xvideo video output debug: Window manager supports _NET_WM_STATE_ABOVE [0x87a2e80] xvideo video output debug: Window manager supports _NET_WM_STATE_BELOW [0x87a2e80] main video output debug: using video output module "xvideo" [0x87a2e80] main video output debug: TIMER module_need() : 349,844 ms - Total 349,844 ms / 1 intvls (Avg 349,844 ms) [0x87a2e80] main video output debug: Deinterlacing available [0xb6e00c80] main input debug: Buffering 72% [0xb6e00c80] main input debug: Buffering 80% [????????] x11 video output error: X11 request 140.1 failed with error code 10: BadAccess (attempt to access private resource denied) [????????] x11 video output notice: buggy X11 server claims shared memory [????????] x11 video output notice: support though it does not work (OpenSSH?) [????????] x11 video output error: X11 request 140.1 failed with error code 10: BadAccess (attempt to access private resource denied) [????????] x11 video output notice: buggy X11 server claims shared memory [????????] x11 video output notice: support though it does not work (OpenSSH?) [0xb6e00c80] main input debug: Buffering 88% [????????] x11 video output error: X11 request 140.1 failed with error code 10: BadAccess (attempt to access private resource denied) [????????] x11 video output notice: buggy X11 server claims shared memory [????????] x11 video output notice: support though it does not work (OpenSSH?) [????????] x11 video output error: X11 request 140.1 failed with error code 10: BadAccess (attempt to access private resource denied) [????????] x11 video output notice: buggy X11 server claims shared memory [????????] x11 video output notice: support though it does not work (OpenSSH?) [????????] x11 video output error: X11 request 140.1 failed with error code 10: BadAccess (attempt to access private resource denied) [????????] x11 video output notice: buggy X11 server claims shared memory [????????] x11 video output notice: support though it does not work (OpenSSH?) [????????] x11 video output error: X11 request 140.1 failed with error code 10: BadAccess (attempt to access private resource denied) [????????] x11 video output notice: buggy X11 server claims shared memory [????????] x11 video output notice: support though it does not work (OpenSSH?) [0xb6e00c80] main input debug: Buffering 96% [????????] x11 video output error: X11 request 140.1 failed with error code 10: BadAccess (attempt to access private resource denied) [????????] x11 video output notice: buggy X11 server claims shared memory [????????] x11 video output notice: support though it does not work (OpenSSH?) [????????] x11 video output error: X11 request 140.1 failed with error code 10: BadAccess (attempt to access private resource denied) [????????] x11 video output notice: buggy X11 server claims shared memory [????????] x11 video output notice: support though it does not work (OpenSSH?) [0xb6e00c80] main input debug: Stream buffering done (520 ms in 520 ms) [????????] x11 video output error: X11 request 140.1 failed with error code 10: BadAccess (attempt to access private resource denied) [????????] x11 video output notice: buggy X11 server claims shared memory [????????] x11 video output notice: support though it does not work (OpenSSH?) [????????] x11 video output error: X11 request 140.1 failed with error code 10: BadAccess (attempt to access private resource denied) [????????] x11 video output notice: buggy X11 server claims shared memory [????????] x11 video output notice: support though it does not work (OpenSSH?) [????????] x11 video output error: X11 request 140.1 failed with error code 10: BadAccess (attempt to access private resource denied) [????????] x11 video output notice: buggy X11 server claims shared memory [????????] x11 video output notice: support though it does not work (OpenSSH?) [????????] x11 video output error: X11 request 140.1 failed with error code 10: BadAccess (attempt to access private resource denied) [????????] x11 video output notice: buggy X11 server claims shared memory [????????] x11 video output notice: support though it does not work (OpenSSH?) [????????] x11 video output error: X11 request 140.1 failed with error code 10: BadAccess (attempt to access private resource denied) [????????] x11 video output notice: buggy X11 server claims shared memory [????????] x11 video output notice: support though it does not work (OpenSSH?) [????????] x11 video output error: X11 request 140.1 failed with error code 10: BadAccess (attempt to access private resource denied) [????????] x11 video output notice: buggy X11 server claims shared memory [????????] x11 video output notice: support though it does not work (OpenSSH?) [????????] x11 video output error: X11 request 140.1 failed with error code 10: BadAccess (attempt to access private resource denied) [????????] x11 video output notice: buggy X11 server claims shared memory [????????] x11 video output notice: support though it does not work (OpenSSH?) [????????] x11 video output error: X11 request 140.1 failed with error code 10: BadAccess (attempt to access private resource denied) [????????] x11 video output notice: buggy X11 server claims shared memory [????????] x11 video output notice: support though it does not work (OpenSSH?) [0x87a2e80] main video output debug: got 16 direct buffer(s) [0x87a2e80] main video output debug: pic render sz 384x288, of (0,0), vsz 384x288, 4cc I420, ar 4:3, sar 1:1, msk r0x0 g0x0 b0x0 [0x87a2e80] main video output debug: pic in sz 384x288, of (0,0), vsz 384x288, 4cc I420, ar 4:3, sar 1:1, msk r0x0 g0x0 b0x0 [0x87a2e80] main video output debug: pic out sz 384x288, of (0,0), vsz 384x288, 4cc I420, ar 4:3, sar 1:1, msk r0x0 g0x0 b0x0 [0x87a2e80] main video output debug: direct render, mapping render pictures 0-14 to system pictures 1-15 [0x8773b50] main decoder debug: End of video preroll [0x8773b50] main decoder debug: Received first picture [0x877cc80] freetype spu text debug: using fontsize: 18 [0x8875710] main blend debug: looking for video blending module: 1 candidate [0xb6e00c80] main input debug: Decoder buffering done in 125 ms [0x8875710] blend blend debug: chroma: YUVA -> I420 [0x8875710] main blend debug: using video blending module "blend" [0x8875710] main blend debug: TIMER module_need() : 0,284 ms - Total 0,284 ms / 1 intvls (Avg 0,284 ms) [????????] x11 video output error: X11 request 132.19 failed with error code 148: BadShmSeg (invalid shared segment parameter) X Error of failed request: BadShmSeg (invalid shared segment parameter) Major opcode of failed request: 132 (XVideo) Minor opcode of failed request: 19 () Segment id in failed request: 0x51 Serial number of failed request: 105 Current serial number in output stream: 106
What can be the problem and is it possible to solve it ?

Thanks.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC fails to start remotely through SSH

Postby Rémi Denis-Courmont » 26 Oct 2010 17:02

Updating to VLC 1.1.x should fix this. However you should note that viewing video through SSH requires extremely high bandwidth (raw video) and CPU power (encryption/decryption).
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

elesouef
Blank Cone
Blank Cone
Posts: 20
Joined: 14 Apr 2010 10:34

Re: VLC fails to start remotely through SSH

Postby elesouef » 26 Oct 2010 19:48

Ok. Never thought about bandwidth consumption but the idea is to start cvlc without duplicate output to display, thus displaying the transcoded video locally.

Thank you for help.


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

Who is online

Users browsing this forum: No registered users and 18 guests