Skip to contentSkip to conversation

cx18: where do the transport stream PIDs come from?

DISCUSSION Lars Hanisch 2 participants 3 messages Feb 26, 2010 – Mar 2, 2010 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi,

while working on a small test app which repacks the ivtv-PS into a TS, I received a sample from a cx18-based card. The
TS contains the video PID 301, audio PID 300 and PCR pid 101.

Where do these PIDs come from, are they set by the driver or are they firmware given? Is it possible to change them?

Regards,
Lars.

#1 lore raw
Quoted 6 lines · Lars Hanisch

Hi,

while working on a small test app which repacks the ivtv-PS into a TS, I received a sample from a cx18-based card. The
TS contains the video PID 301, audio PID 300 and PCR pid 101.

Where do these PIDs come from, are they set by the driver or are they firmware given?

For analog captures, for which the firmware creates the TS, the firmware sets them.

Quoted 1 line

Is it possible to change them?

It is not possible to tell the firmware to change them. There are two documented CX23418 API commands in cx23418.h:

CX18_CPU_SET_VIDEO_PID
CX18_CPU_SET_AUDIO_PID

Unfortunately, I know they do nothing and will always directly return 0x200800ff, which is a CX23418 API error code.

Regards,
Andy

Quoted 2 lines

Regards,
Lars.

#2 lore raw

Am 28.02.2010 14:04, schrieb Andy Walls:

Quoted 10 lines · Lars Hanisch
Quoted 6 lines

Hi,

while working on a small test app which repacks the ivtv-PS into a TS, I received a sample from a cx18-based card. The
TS contains the video PID 301, audio PID 300 and PCR pid 101.

Where do these PIDs come from, are they set by the driver or are they firmware given?

For analog captures, for which the firmware creates the TS, the firmware sets them.

That's what I thought. So I will use the same IDs for my conversion of an ivtv-PS.

Quoted 4 lines
Quoted 3 lines

Is it possible to change them?

Quoted 8 lines

It is not possible to tell the firmware to change them. There are two documented CX23418 API commands in cx23418.h:

CX18_CPU_SET_VIDEO_PID
CX18_CPU_SET_AUDIO_PID

Unfortunately, I know they do nothing and will always directly return 0x200800ff, which is a CX23418 API error code.

Good to know.

Thanks!
Lars.

Quoted 13 lines

Regards,
Andy

Quoted 2 lines

Regards,
Lars.

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html