VLC 2x Video Input

*nix specific usage questions
Boyz
New Cone
New Cone
Posts: 3
Joined: 17 Mar 2011 20:39

VLC 2x Video Input

Postby Boyz » 21 Jun 2011 16:25

Hello,

i have 2x Sundtek MediaTV to grab video.
/dev/video0 and /dev/video1 both are working fine.
But i can't use both together with 2 vlc.
When i start first vlc with /dev/video0 and then 2nd vlc with /dev/video1 it says can't open device :?
Iam Using Debian wheezy 64bit.

Code: Select all

vlc v4l2:///dev/video0 :input-slave=oss:///dev/dsp0 :v4l2-standard=0:v4l2-standard=0 :v4l2-chroma= :v4l2-input=1 :v4l2-audio-input=0 :v4l2-io=0 :v4l2-width=-1 :v4l2-height=-1 :v4l2-aspect-ratio=4\:3 :v4l2-fps=0 :v4l2-caching=300 :no-v4l2-use-libv4l2 :v4l2-tuner=0 :v4l2-tuner-frequency=-1 :v4l2-tuner-audio-mode=0 :no-v4l2-controls-reset :v4l2-brightness=-1 :v4l2-contrast=-1 :v4l2-saturation=-1 :v4l2-hue=-1 :v4l2-black-level=-1 :v4l2-auto-white-balance=-1 :v4l2-do-white-balance=-1 :v4l2-red-balance=-1 :v4l2-blue-balance=-1 :v4l2-gamma=-1 :v4l2-exposure=-1 :v4l2-autogain=-1 :v4l2-gain=-1 :v4l2-hflip=-1 :v4l2-vflip=-1 :v4l2-hcenter=-1 :v4l2-vcenter=-1 :v4l2-audio-volume=-1 :v4l2-audio-balance=-1 :no-v4l2-audio-mute :v4l2-audio-bass=-1 :v4l2-audio-treble=-1 :v4l2-audio-loudness=-1 :v4l2-set-ctrls= :file-caching=300
Thanks for you help.


Best regards
Boyz

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

Re: VLC 2x Video Input

Postby Rémi Denis-Courmont » 21 Jun 2011 16:51

Without logs, I can only guess it's a limitation of the hardware driver.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Boyz
New Cone
New Cone
Posts: 3
Joined: 17 Mar 2011 20:39

Re: VLC 2x Video Input

Postby Boyz » 21 Jun 2011 22:21

here is log of 2nd vlc:

Code: Select all

[0x127db70] v4l2 access debug: using streaming i/o (mmap) [0x127db70] v4l2 access debug: found default width and height of 720x576 [0x127db70] v4l2 access debug: will try to find optimal width and height. [0x127db70] v4l2 access debug: Driver requires at most 829440 bytes to store a complete image [0x127db70] v4l2 access debug: Interlacing setting: interleaved (bottom top if M/NTSC, top bottom otherwise) [0x127db70] v4l2 access error: VIDIOC_STREAMON failed [0x127db70] v4l2 access debug: Trying libv4l2 wrapper [0x127db70] v4l2 access debug: opening device '/dev/video0' [0x127db70] v4l2 access error: cannot open video device '/dev/video0' (No such device or address) [0x127db70] main access debug: no access module matching "v4l2" could be loaded [0x127db70] main access debug: TIMER module_need() : 514.710 ms - Total 514.710 ms / 1 intvls (Avg 514.710 ms) [0xd63b40] main input error: open of `v4l2:///dev/video0' failed [0xd63b40] main input error: Ihre Eingabe konnte nicht geöffnet werden [0xd63b40] main input error: VLC kann die MRL 'v4l2:///dev/video0' nicht öffnen. Sehen Sie für Details im Fehlerprotokoll nach. [0xd5e380] main playlist debug: finished input [0xd63b40] main input debug: Program doesn't contain anymore ES [0xd63b40] main input debug: thread ended [0xd5e380] main playlist debug: dead input [0xd63b40] main input debug: TIMER input launching for 'v4l2:///dev/video0' : 3581.299 ms - Total 3581.299 ms / 1 intvls (Avg 3581.299 ms) [0xd5e380] main playlist debug: changing item without a request (current 0/1) [0xd5e380] main playlist debug: nothing to play

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

Re: VLC 2x Video Input

Postby Rémi Denis-Courmont » 22 Jun 2011 09:32

Yeah, the driver does not allow VLC to open the device. Not a VLC bug.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

sundtek
New Cone
New Cone
Posts: 4
Joined: 08 Aug 2010 10:42

Re: VLC 2x Video Input

Postby sundtek » 29 Nov 2011 21:01

Depending on which device you have we have a firmware upgrade which allows up to 4 USB devices on the same usb controller.

With firmware upgrade/AnalogTV:
1 Stick full resolution
2 Sticks full resolution
3 Sticks must be limited to meet the 480 mbit restriction

Default Firmware supports
1 Stick with full resolution
2 Sticks with lower resolution.


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

Who is online

Users browsing this forum: No registered users and 9 guests