Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDMI capture device #6

Open
skinkie opened this issue May 8, 2019 · 1 comment
Open

HDMI capture device #6

skinkie opened this issue May 8, 2019 · 1 comment

Comments

@skinkie
Copy link
Contributor

skinkie commented May 8, 2019

At this moment I am testinga HDMI capture device. (I expect that device is actually a HDMI to composite to capture device.) Using this device in mplayer on an ordinary PC I receive colours.

Selected device: usbtv
 Capabilities:  video capture  read/write  streaming
 supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR; 4 = NTSC-443; 5 = PAL; 6 = PAL-BG; 7 = PAL-H; 8 = PAL-I; 9 = PAL-DK; 10 = PAL-M; 11 = PAL-60;
 inputs: 0 = Composite; 1 = S-Video;
 Current input: 0
 Current format: YUYV

[swscaler @ 0x55d43a6fdbe0] bicubic scaler, from yuyv422 to bgra using MMXEXT
VO: [x11] 720x576 => 720x576 BGRA 
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)

When using this device with dmxwebcam, I instead see a black and white image with blue and yellow vertical lines, additionally there is heavy overscan, which does not appear using mplayer.

./dmxwebcam --fullscreen --display 1 --width 720 --height 576 --fps 25
dmxwebcam[2048]:info:video dimension 720x576 -> 720x480
dmxwebcam[2048]:error:unable to set requested fps (25)

So I think there are two individual problems: the correct source colourspace (and its potential conversion) the other capture usb stick does appear in colour. And the automatic resolution reduction.

@skinkie
Copy link
Contributor Author

skinkie commented May 8, 2019

Colourspace solution

v4l2-ctl -d /dev/video0 -s pal-B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant