timvideos / HDMI2USB-jahanzeb-firmware

Original hand-coded firmware for the HDMI2USB - HDMI/DVI Capture - project
https://hdmi2usb.tv
Other
105 stars 26 forks source link

Switching input sources causes sync issues #113

Closed mithro closed 8 years ago

mithro commented 9 years ago

It appears that if you switch back and forth between the input sources the output gets out of sync.

image

mithro commented 9 years ago

image

mithro commented 9 years ago

Might have something to do with;

[swscaler @ 0x7f1a9a5ad640]using unscaled yuv422p -> yuyv422 special converter
VO: [xv] 1024x768 => 1024x768 Packed YUY2 
V:   0.0 116/116 ??% ??% ??,?% 0 0 
[mjpeg @ 0x7f1a99aafb00]overread 8
V:   0.0 197/197 ??% ??% ??,?% 0 0 
[mjpeg @ 0x7f1a99aafb00]mjpeg_decode_dc: bad vlc: 0:0 (0x24caa80)
[mjpeg @ 0x7f1a99aafb00]error dc
[mjpeg @ 0x7f1a99aafb00]error y=95 x=34
V:   0.0 236/236 ??% ??% ??,?% 0 0 
[mjpeg @ 0x7f1a99aafb00]overread 8
V:   0.0 426/426 ??% ??% ??,?% 0 0 
[mjpeg @ 0x7f1a99aafb00]overread 8
V:   0.0 466/466 ??% ??% ??,?% 0 0 
[mjpeg @ 0x7f1a99aafb00]overread 8
V:   0.0 534/534 ??% ??% ??,?% 0 0 
[mjpeg @ 0x7f1a99aafb00]overread 8
V:   0.0 634/634 ??% ??% ??,?% 0 0 
[mjpeg @ 0x7f1a99aafb00]overread 7
V:   0.0 672/672 ??% ??% ??,?% 0 0 
mithro commented 9 years ago

Selecting the same source again also causes the issue.

mithro commented 8 years ago

The new HDMI2USB-misoc-firmware doesn't suffer from these problems. The HDMI2USB-jahanzeb-firmware is no longer under development.

All active development is now on the HDMI2USB-misoc-firmware which supports both the Atlys and Opsis boards and has loads of other new features!