On 26.04.2009 18:11, Senufo wrote:
Hi,
I have add
type = 0x1B;
before the
switch (type) {
and now record work fine !!
Well, then all we need is a way to find out the correct video stream type. Apparently the PMT says it is 2, while in fact it is 0x1B. Does anybody know why the PMT is "lying", or how to detect that it actually isn't 2, but 0x1B?
Klaus
This looks like the "Access Unit Delimiter" code.
Please try to force 'type' to 0x1B, for instance by putting
type = 0x1B;
right before the
switch (type) {
line. Does it work then?
Klaus