2017-03-31 02:20 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000189JVT JM H.264/AVC reference softwaredecoderpublic2011-05-21 11:09
Assigned ToKarsten Suehring 
Product VersionJM 16.1 
Target VersionFixed in Version 
Summary0000189: Crash in JM 16.1 Decoder
DescriptionThe JM 16.1 Decoder crashes after decoding a couple of frames even in an error free scenario.
Please find my encoder.cfg file attached.
What can be the possible reason for the crash and how can I overcome this?

Following is the detail of my decoder.cfg file:

NAL500.264 ........H.264/AVC coded bitstream
NAL500.yuv ........Output file, YUV/RGB
test_rec.yuv ........Ref sequence (for SNR)
1 ........Write 4:2:0 chroma components for monochrome streams
0 ........NAL mode (0=Annex B, 1: RTP packets)
0 ........SNR computation offset
2 ........Poc Scale (1 or 2)
500000 ........Rate_Decoder
104000 ........B_decoder
73000 ........F_decoder
leakybucketparam.cfg ........LeakyBucket Params
2 ........Err Concealment(0:Off,1:Frame Copy,2:Motion Copy)
4 ........Reference POC gap (2: IPP (Default), 4: IbP / IpP)
2 ........POC gap (2: IPP /IbP/IpP (Default), 4: IPP with frame skip = 1 etc.)
0 ........Silent decode
1 ........Enable Deblocking filter in intra only profiles (0=disable, 1=filter according to SPS parameters)

This is a file containing input parameters to the JVT H.264/AVC decoder.
The text line following each parameter is discarded by the decoder.

For bug reporting and known issues see:
Tagsdata partitioning
Attached Files

related to 0000140acknowledged Lossy DP videos fail to decode. 
child of 0000062assignedKarsten Suehring while loops in ldecod.c and image.c do not behave as expected 



Yves Dhondt (reporter)

There are bugs in both the frame copy and motion copy error concealment implementations (even when used with error free sequences).

For motion copy, see https://ipbt.hhi.de/mantis/view.php?id=172
For frame copy, see https://ipbt.hhi.de/mantis/view.php?id=186 (contains a possible solution)

If you know your sequence is error free, you should switch off error concealment in decoder.cfg.


SwatCat (reporter)

I tried to decode my file after turning off error concealment. My decoder still crashes.

----------------------------- JM 16.1 (FRExt) -----------------------------
 Decoder config file : decoder.cfg
 Input H.264 bitstream : NAL500.264
 Output decoded YUV : NAL500.yuv
 Output status file : log.dec
 Input reference file : test_rec.yuv
POC must = frame# or field# for SNRs to be correct
  Frame POC Pic# QP SnrY SnrU SnrV Y:U:V Time(ms)
00000(IDR) 0 0 35 0.0000 0.0000 0.0000 4:2:0 742
00002( P ) 4 1 35 0.0000 0.0000 0.0000 4:2:0 264

After decoding this frame the decoder crashes.


Karsten Suehring (administrator)

It seems there is at least also an encoder bug that make the stream invalid.


Karsten Suehring (administrator)

The problem is actually caused by the decoder. When there is no data partition C (e.g. in the non-IDR intra frame) the decoder fails.

I think in the current decoding loop this cannot be fixed properly. I'm adding a dependency to decoder loop restructuring.

-Issue History
Date Modified Username Field Change
2009-09-16 00:24 SwatCat New Issue
2009-09-16 00:24 SwatCat File Added: encoder.cfg
2009-09-16 10:12 Yves Dhondt Note Added: 0000331
2009-09-17 02:18 SwatCat Note Added: 0000332
2011-04-13 16:55 Karsten Suehring Relationship added duplicate of 0000186
2011-04-13 17:47 Karsten Suehring Relationship deleted 0000186
2011-04-13 17:47 Karsten Suehring Note Added: 0000443
2011-04-13 17:48 Karsten Suehring Assigned To => Karsten Suehring
2011-04-13 17:48 Karsten Suehring Status new => acknowledged
2011-04-14 15:26 Karsten Suehring Note Added: 0000447
2011-04-14 15:28 Karsten Suehring Relationship added child of 0000062
2011-04-14 15:30 Karsten Suehring Status acknowledged => confirmed
2011-05-21 11:09 Karsten Suehring Tag Attached: data partitioning
2011-05-21 11:09 Karsten Suehring Relationship added related to 0000140
+Issue History