Skip to contentSkip to conversation

HVR-1300 analog inputs

DISCUSSION Florent Audebert 3 participants 7 messages Jun 1, 2011 – Jun 6, 2011 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi,

I'm experimenting around with an Hauppauge HVR-1300 (cx88_blackbird) analog inputs (PAL-I signal).

Using qv4l2 (trunk) and 2.6.36.4, I successfully get a clean image on both composite and s-video inputs with resolutions of 640x480 or less.

With any higher resolutions, I have thin horizontal lines at moving positions (seems to cycle)[1].

I've tried various settings using qv4l2 on /dev/video0 and /dev/video1 with no success.

Is there a way to get higher encoding resolution from this board ?

Thanks for helping !

Regards,

[1] http://bit.ly/m3o9HT

Signature · 1 line
Florent Audebert
#1 lore raw
Quoted 8 lines · Florent Audebert

Hi,

I'm experimenting around with an Hauppauge HVR-1300 (cx88_blackbird) analog inputs (PAL-I signal).

Using qv4l2 (trunk) and 2.6.36.4, I successfully get a clean image on both composite and s-video inputs with resolutions of 640x480 or less.

Quoted 7 lines

With any higher resolutions, I have thin horizontal lines at moving positions (seems to cycle)[1].

I've tried various settings using qv4l2 on /dev/video0 and /dev/video1 with no success.

Is there a way to get higher encoding resolution from this board ?

You probably won't be able to go any higher than a width of 720. That said, it looks like either the driver is not responding properly or the application doesn't realize that the driver returned it's maximum field width (the V4L2 API specifies that in the S_FMT call that if the calling application specifies an invalid width, the driver can return a valid width and the application should recognize and use that value).

Devin

Signature · 2 lines
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
#2 lore raw

Only FYI,

I am using the HVR-1300 with the build-media.git repo (sorry I forget the correct name). UK PAL-I capturing fine at full res. Using mtythv and tested using smplayer on /dev/video0 (or video1). (Full UK PAL res).

I know that won't directly help, but at least you know that is can/does work at full res.

Quoted 30 lines · Devin Heitmueller
Quoted 8 lines · Florent Audebert

Hi,

I'm experimenting around with an Hauppauge HVR-1300 (cx88_blackbird) analog inputs (PAL-I signal).

Using qv4l2 (trunk) and 2.6.36.4, I successfully get a clean image on both composite and s-video inputs with resolutions of 640x480 or less.

Quoted 8 lines

With any higher resolutions, I have thin horizontal lines at moving positions (seems to cycle)[1].

I've tried various settings using qv4l2 on /dev/video0 and /dev/video1 with no success.

Is there a way to get higher encoding resolution from this board ?

You probably won't be able to go any higher than a width of 720. That said, it looks like either the driver is not responding properly or the application doesn't realize that the driver returned it's maximum field width (the V4L2 API specifies that in the S_FMT call that if the calling application specifies an invalid width, the driver can return a valid width and the application should recognize and use that value).

Devin

#3 lore raw
In reply to Devin Heitmueller
Quoted 5 lines · Devin Heitmueller
Quoted 3 lines · Florent Audebert

I'm experimenting around with an Hauppauge HVR-1300 (cx88_blackbird) analog inputs (PAL-I signal).

Quoted 7 lines

You probably won't be able to go any higher than a width of 720. That said, it looks like either the driver is not responding properly or the application doesn't realize that the driver returned it's maximum field width (the V4L2 API specifies that in the S_FMT call that if the calling application specifies an invalid width, the driver can return a valid width and the application should recognize and use that value).

Thanks for your answer.

I've tried using mplayer as suggested in another post. Resolution is alright with both composite and s-video (PAL-I). I suppose something went wrong with qv4l2.

Nonetheless, I have vertical lines when using s-video at MPEG device output (more visible in white areas)[1].

Reading from capture device is alright whether s-video (input=2) or composite (input=1) is selected. I've tested it like this:

mplayer tv:// -tv driver=v4l2:input=1:normid=4:device=/dev/video0

Note that I am using media_build.git and mplayer trunks.

Any idea why I'm getting those vertical lines with s-video from decoder output only ?

Regards,

[1] http://bit.ly/iEm8xd

Signature · 1 line
Florent Audebert
#4 lore raw
Quoted 5 lines · Florent Audebert

Nonetheless, I have vertical lines when using s-video at MPEG device output (more visible in white areas)[1].

Reading from capture device is alright whether s-video (input=2) or composite (input=1) is selected. I've tested it like this:

So, if I understand you correctly, you're getting the lines when using the MPEG encoder but not the raw output? This looks like the decoder's clamp control registers are not properly configured, which I would have assumed would occur regardless of whether the encoder was being used.

Devin

Signature · 2 lines
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
#5 lore raw
Quoted 5 lines · Devin Heitmueller
Quoted 3 lines · Florent Audebert

Nonetheless, I have vertical lines when using s-video at MPEG device output (more visible in white areas)[1].

Quoted 8 lines
Quoted 2 lines

Reading from capture device is alright whether s-video (input=2) or composite (input=1) is selected. I've tested it like this:

So, if I understand you correctly, you're getting the lines when using the MPEG encoder but not the raw output? This looks like the decoder's clamp control registers are not properly configured, which I would have assumed would occur regardless of whether the encoder was being used.

That's right. RAW output seems clean so far in all cases.

- When selecting composite input, MPEG encoder output is clean
- When selecting s-video input, MPEG encoder output have lines

Regards,

Signature · 1 line
Florent AUDEBERT
#6 lore raw
Quoted 4 lines · Florent Audebert

That's right. RAW output seems clean so far in all cases.

 - When selecting composite input, MPEG encoder output is clean
 - When selecting s-video input, MPEG encoder output have lines

Oh, that is interesting. If I had to bet, I would think perhaps enabling the MPEG encoder is causing a reset of the decoder's register state, and the defaults are probably appropriate for CVBS input (in terms of things like the clamp control, comb filter configuration, etc).

Devin

Signature · 2 lines
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com