Project

General

Profile

Actions

Bug #1095

open

flickering at start of replay of PES recordings

Added by FireFly about 12 years ago. Updated almost 12 years ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Start date:
10/15/2012
Due date:
% Done:

0%

Estimated time:

Description

I just noticed that there is some flickering at the start of the replay of all PES recordings (mpeg2), TS recordings (mpeg and H.264) are fine. It looks like a problem with the I-frame of the first GOP as the flickering diasappears after about half a second.

BTW: there's no flickering with the same recordings on S2-6400 so I assume the VDR part is ok

Actions #1

Updated by johns about 12 years ago

  • Status changed from New to Confirmed

I have here a pes recording.
Which shows the same effect.
But I don't know how to fix it.

mplayer didn't show the blocks,
but i think nothing is missing.

Actions #2

Updated by johns about 12 years ago

  • Assignee deleted (johns)

I think the problem is that pes recording feeds the ffmpeg/libav decoder with incomplete/truncated packets.
Enabling STILL_DEBUG and InStillPicture shows the problem.

Actions #3

Updated by johns almost 12 years ago

Following patch should solve this:

diff --git a/softhddev.c b/softhddev.c
index c638ebb..17b7228 100644
--- a/softhddev.c
+++ b/softhddev.c
@@ -2252,7 +2252,7 @@ int PlayVideo3(VideoStream * stream, const uint8_t * data, int size)
        if (size < 65526) {
            // mpeg codec supports incomplete packets
            // waiting for a full complete packages, increases needed delays
-           VideoNextPacket(stream, stream->CodecID);
+           //VideoNextPacket(stream, stream->CodecID);
        }
     } else {
        // SKIP PES header

Actions

Also available in: Atom PDF