Bug #1095
open
flickering at start of replay of PES recordings
Added by FireFly about 12 years ago.
Updated almost 12 years ago.
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
- 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.
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.
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
Also available in: Atom
PDF