Loggytronic Forum

VOMP => VOMP General / MVP => Topic started by: Schnurps on August 08, 2006, 08:30:55

Title: jump-bug in (current) recordings
Post by: Schnurps on August 08, 2006, 08:30:55
Hi,

I noticed a bug with playing (current) recordings in VOMP 0.2.4 / VDR 1.2.6:
The time seems to not update correctly, 1 sec in the timeline are about 5 sec in real.
So when i skip a minute/10 sec back, je jumps much too long ahead...

Can anybody confirm this?

Schnurps

P.S.: By the way, I still have problems with Audio / Video syncronisation in LiveTV.
Title: Re: jump-bug in (current) recordings
Post by: Schnurps on August 08, 2006, 16:53:34
cp. http://www.vdr-portal.de/board/thread.php?postid=503369

Seems that more users are affected.
Title: Re: jump-bug in (current) recordings
Post by: MarkC on August 09, 2006, 13:39:41
It sounds like the demuxer is not counting the frames properly. I know about one possible problem: if more than one frame begins in the same PES packet, the demuxer will not count them all. But I looked at the VDR code and it seems to guarantee that each frame will start in a new packet. I notice that tobi_w and Toxic-Tonic are using VDR 1.4, so it can't be the VDR version.

Would it be possible for you to make a small amount of one of these recordings available on the 'net for me to download and examine? I probably won't need a lot... one or two megabytes should be enough. If you don't have anywhere to put it then I'll open up ftp on my box for you.
Title: Re: jump-bug in (current) recordings
Post by: MarkC on August 17, 2006, 20:30:19
Thanks, I downloaded the files you provided.

The recording works fine with CVS vompclient. I forgot that there hadn't been a dongle release since I fixed this bug.

So... it will be fixed in 0.2.5 (I hope!)
Title: Re: jump-bug in (current) recordings
Post by: Schnurps on August 17, 2006, 21:42:49
Okay, great! :-)
Then I now look forward to Vomp 0.2.5!

André
Title: Re: jump-bug in (current) recordings
Post by: dingo35 on August 18, 2006, 08:34:27
Reading this thread and the comments on vdrportal.de, I believe a lot of people are awaiting the release of the fixed dongle. Is it possible to upload a temporary file for all who "suffer" from this annoying bug?

Seems strange the bug is already solved but nobody can enjoy this new software....?
Title: Re: jump-bug in (current) recordings
Post by: MarkC on August 18, 2006, 13:14:51
Quote from: dingo35 on August 18, 2006, 08:34:27
Reading this thread and the comments on vdrportal.de, I believe a lot of people are awaiting the release of the fixed dongle. Is it possible to upload a temporary file for all who "suffer" from this annoying bug?

Seems strange the bug is already solved but nobody can enjoy this new software....?

I know... 0.2.4 was done in a bit of a rush. This bug was fixed a week after the release, but I don't think we realised just how long it would be until 0.2.5, or how many people had the problem.

I'll find time to build a cvs-snapshot dongle over the weekend.
Title: Re: jump-bug in (current) recordings
Post by: MarkC on August 18, 2006, 21:19:25
Snapshot dongle available:

http://www.zen50618.zen.co.uk/vomp/vomp-dongle-cvs20060818
Title: Re: jump-bug in (current) recordings
Post by: Chris on August 19, 2006, 18:39:48
Apologies everyone, I wasn't aware it was fixed and in CVS all this time. I am away for work (again) but I will get all this straightened out when I get back.
Title: Re: jump-bug in (current) recordings
Post by: dingo35 on August 20, 2006, 14:33:05
@MarkC, thanks, will try immediately...

@Chris, since you are providing us with this marvellous software for free I think "apologies" are not appropriate here...

Thanks again & keep up the good work!
Title: Re: jump-bug in (current) recordings
Post by: Schnurps on August 22, 2006, 08:54:39
Hey Mark,
thanks for the Dongle-Snapshot. I tested it the last days, and the problem described above is solved. Great!!! :-)))
But I now had some crashes of tne mvp-client: when i skip too quickly with yellow,blue, |< or >|, the mvp reboots immediately. I get the bootup screen, and that screen stops at status 3/5.

Any idea? :-)

André
Title: Re: jump-bug in (current) recordings
Post by: MartenR on August 23, 2006, 07:01:35
Hmm... interesting!
I have the same problem of sporadic crashes in the windows port.
First, I though it is a problem of the windows devices implementation, but if it is also present in the mvp version...
@MarkC and Chris
If I remember properly your UK DVB-T channels have one frame per PES packet, thus if the error have something to do with the several frames per pes packet patch, you and Chris won't detect it.
I'll try to track the error mistake down in the windows debug environment at the weekend, if I have some free time, but I don't know how far a get, since it is a sporadic error hard to reproduce, but now, I know where to search.

Marten
Title: Re: jump-bug in (current) recordings
Post by: MarkC on August 23, 2006, 13:31:33
Quote from: MartenR
If I remember properly your UK DVB-T channels have one frame per PES packet, thus if the error have something to do with the several frames per pes packet patch, you and Chris won't detect it.

Yes, all recordings of UK channels that I have seen start each frame in a new PES packet. They also have a PTS for every frame, while some German channels (including the sample Schnurps gave me) only have a PTS every 12 frames (i.e. one per I-frame).

VOMP actually still doesn't cover the case where two frames start in the same PES packet. I need to fix this, but since VDR chops the video into 2K packets, it is unlikely that more than one frame start code will appear in the same packet. There also appears to be code in VDR (cVideoRepacker class) to ensure that each frame starts in a new packet in the recording, but I'm not sure if this is in use yet (there are some 'TEST' #ifdefs that refer to this class, at least in 1.4.1.) That won't help with recordings from previous versions of VDR though.

When I made this latest fix, I did plenty of stress-testing by skipping around like crazy, including skipping across and near PTS discontinuities, and didn't experience any problems, so it could be dependent on the format of the recording, or maybe I was just lucky.
Title: Re: jump-bug in (current) recordings
Post by: MartenR on August 24, 2006, 07:31:18
So I have made some tests with the windows version, sometimes after the skipping in the time code display no valid time code is displayed, sometimes a time code much greater than the actual time have to be. If you don't skip this is fixed, after a second, but if you skip, while such a false time code is displayed, vomp crashed.
@Schurps: Can you please confirm, that the timecode in the OSD is annomaly before the jump crashes. If it is the case the bug is the same on windows and mvp and I know where I have to look.

Marten
Title: Re: jump-bug in (current) recordings
Post by: Schnurps on August 24, 2006, 09:57:06
I have to test this, cannot remember... :-)
What I have noticed is, that the audio/video is asynchronous after a skip, and it needs 2-3 seconds to re-synchronise. Perhaps this is associated with your report?

Schnurps
Title: Re: jump-bug in (current) recordings
Post by: dingo35 on August 24, 2006, 12:09:19
Quote from: MartenR on August 24, 2006, 07:31:18
@Schurps: Can you please confirm, that the timecode in the OSD is annomaly before the jump crashes. If it is the case the bug is the same on windows and mvp and I know where I have to look.

Marten

I can confirm this: in the non-windows version 0.2.4 the timecode was not correctly updated in the screen, so it seems windows version suffers from same bug.
Also, still in current cvs-version, the "end time" is not yet correctly updated. This results in preliminary ending when viewing a recording that is still recording...

I can also confirm the resolvement of the bug in cvs-version, and also the crashing when forward/rewind buttons are pressed too quickly..

Best regards, Dingo.
Title: Re: jump-bug in (current) recordings
Post by: MartenR on August 27, 2006, 12:57:04
Well, I have tried to reproduce the crashes on mvc on the  windows port, but I have had no luck.
@Schnurps:
Can you please tell on which type of recordings the bug happens, I need to know, which TV Station and if it is broadcasted through DVB-C, DVB-S or DVB-T (if DVB-T I need also the region).
Since I'm also in germany, I may made some recordings for testing on the same TV station

Marten
Title: Re: jump-bug in (current) recordings
Post by: Chris on November 27, 2006, 16:35:32
Topic bump... Are all these issues fixed in 0.2.5 ?
Title: Re: jump-bug in (current) recordings
Post by: dingo35 on December 11, 2006, 07:58:34
Quote from: Chris on November 27, 2006, 16:35:32
Topic bump... Are all these issues fixed in 0.2.5 ?

Hi Chris, first of all big THANKS!!! to you and all other developers! I have been running 0.2.5 for 1 day now, and it is rock solid, faster response, and I love the added audio language options, also the fast forward/rewind with different speeds is great :).

I have tested, and could NOT discover the problem reported by me in this thread. I have some other small things, but will open new thread for this.

Again, THANKS!
Title: Re: jump-bug in (current) recordings
Post by: Chris on December 11, 2006, 12:45:05
Good good, thanks for the update!