Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: [PATCH] AC3overDVB 0.1.0



Hi Stefan,

> OK, I did at lot of test now, but I cannot reproduce any of this:
> -I can replay recordings with DD sound
> -I can replay recordings which certainly doesn't contain DD.
> -Beside some "noise" right at the start of DD data (before the
> receiver has detected DD), ther is no "stacato" sound.
> -It doesn't matter if I start the recording with red or green
> button.
> -In DD recordings I can switch between DD & stereo sound with
> green in main menu.

Strange. As I said its just the non DD and the recorded DD that
doesn't work for me.

Pure DD DVDs work just great (very rarely does VDR hic-up
and then only very briefly. Nothing that I haven't also seen on
a normal DVD player, so I'm not worried about this). What I 
find strange is that a DVD DD works, but the VDR recording
which I am pretty sure of that it contains DD doesn't work. I
mean both (recording and DVD) streams are running through
your routines. I will try recording a few different streams to
further test this. If they all don't work, I'll "disassemble" one
of them with ds.jar. This will tell me if there is a DD channel
in the stream. But even then, VDR should still play it back as
normal sound, which it doesn't.

> Did you tried the "old" patch from Jan Rieger? Did it worked?

No, I didn't try it. Did you change anything in the encapsulation
routine? I am pretty sure this is where things are going wrong
somehow.

> There may be a bug, yes. All I know, that all my recordings are
> played fine (did not tried DVD yet).

I'm not blaming you at all ;o)) I'm happy that it works partially.
I'm sure we will iron out the rest. If you find the time please do
try to playback a DVD with DD, one with normal stereo and one
which contains both type of soundtrack.

> Probably "encapsulate: length mismatch 1800 != 1899".
> I have seen this with some recordings too, although they play
> fine. Most of the time the differenze is 6 bytes.

Yes, that was what I meant. The above was only an example. I
don't remember the exact difference in size or if it always
was the same length (of difference). I will jot this down
next time I run the AC3.

> As I said at another place, the stream analyser isn't very robust
> and have some race conditions. I'm working at it currently.

Okay, great. No rush

 > > if one turns off DD / DTS in the setup VDR should behave exactly
> > as a vanilla VDR (and use the vanilla routines).

> It does, or at least it should. ;-)

Hmm, from what I read in your code while transplanting it by hand
to my 1.1.17, you seem to handle the stream slightly differently
than Klaus does even if it contains non DD data. Are you sure that
you aren't encapsulating non-DD data packets? (which wouldn't
explain why non DD data works with your amp ;o))

> I see two possible failure points:
> 
> 1. the stream is "broken", well, not corrupted, but different
> from the streams I have here. Different in a way that the stream
> analyser and the encapsulation fails. Would it be possible to
> upload some stream data (at least some MB from the beginning) for
> testing?

Cough, cough, uhm I only have ISDN because the stupid Telekom
doesn't seem to be able to get DSL running on my street. Geez!

What I could do (if I don't get it running on my own) is send you
a CD copy of a film (as 001.vdr). Or you could send me a CD of
a stream which contains multidata (i.e DD and non DD) or several
streams (non DD, DD, multilangual, etc) which work for you. I
think 3-4 minutes per stream is enough. With my loop replay mod
I can run it endlessly.

> 2. the receiver fails to detect the DD encapsulation. I know from
> 1.0.4 times, that some receivers are simply not able to do this.

I somehow can't believe this to be true. Otherwise I shouldn't be
able to playback DD DVD's or be able to switch DD stereo with
Pro-7. I mean either the amp understands the packets or it doesn't
(true false condition). So it should either always work or never
work. This is what bothers me. Why doesn't it work _all_ the
time? If I use my modded 1.1.17 version or just about any plain
vanilla VDR the coaxial & opto outputs (i.e. digital stream) of
the DVB work just fine, except of course I don't get AC3 ;o)) 

> In the last patch I changed the encapsulation header. You could
> try the version by replacing in multichannelaudio.c 

Okay, I have put that on my TODO list (next to Gerald's trick)
It will probably be sunday, before I get to it, but I'll most certainly
report my finding with more info.

I tried forcing my amp into DD mode (auto, analog, DD DTS, PCM)
are possible, but it doesn't change the staccato behaviour.


BTW: you wrote that the patch broke mp3 playback (I didn't test
this yesterday). What exactly happens? Do you receive the white
noise as above or can't you playback any MP3s (i.e playback is
totally dead) Or is there simply no sound, eventhough the file
is actually being replayed? Maybe there is some similarity to
the problem I'm having?

Greetz,
Reinhard


---
Mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 10.01.2003



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index