<?xml version="1.0" encoding="utf-8"?>
<!--RSS generated by Flaimo.com RSS Builder [2026-05-05 22:13:34]-->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"><channel><docs>https://avc.hhi.fraunhofer.de/mantis/</docs><link>https://avc.hhi.fraunhofer.de/mantis/</link><description><![CDATA[MantisBT - Issues]]></description><title>MantisBT - Issues</title><image><title>MantisBT - Issues</title><url>https://avc.hhi.fraunhofer.de/mantis/images/mantis_logo.png</url><link>https://avc.hhi.fraunhofer.de/mantis/</link><description><![CDATA[MantisBT - Issues]]></description></image><language>en</language><category>All Projects</category><ttl>10</ttl><dc:language>en</dc:language><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>1</sy:updateFrequency><item><title>0000376: Error compiling project</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=376</link><description><![CDATA[$make&lt;br /&gt;
collect2: error: ld returned 1 exit status&lt;br /&gt;
make[1]: *** [Makefile:107: bin] Error 1&lt;br /&gt;
make[1]: se sale del directorio '/jm19/JM/lencod'&lt;br /&gt;
make: *** [Makefile:40: lencod] Error 2]]></description><category>encoder and decoder</category><pubDate>Tue, 28 Mar 2023 00:06:02 +0200</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=376</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=376#bugnotes</comments></item><item><title>0000373: Artefacts present on decoded sequence - Mismatch between encoder reconstruction &amp; decoder</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=373</link><description><![CDATA[When encoding one specific operating point of the Starcraft sequence using JM 19.0, pink artefacts are present on the decoded sequence in the top left corner (see attached screenshot). These artefacts start with POC 137, then build up over time, and disappear again with POC 192. The artefacts are also present when using a different decoder than JM 19.0. However, the encoder reconstruction of JM does not show this issue.]]></description><category>encoder</category><pubDate>Wed, 17 Mar 2021 13:56:38 +0100</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=373</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=373#bugnotes</comments></item><item><title>0000370: Error “Duplicate frame_num in short-term reference picture buffer”</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=370</link><description><![CDATA[Dear Prof. Karsten Suehring: &lt;br /&gt;
     Today, I want to report a bug, this bug has been bothering me frequently. In our experiment, we want to analyze the Error Concealment algorithm. The packet loss of the test video is set to 0.1%, 0.4%, 1%, 4%, 10% and so on. The total encoded frame is 200. In our experiment setting, when one packet is loss, it means the whole frame is loss. The Error Concealment mode is set to 1 (Frame copy). In one of our experiment, the total lost frame rate is 8%, the decoder can conceal the first 11 lost frames, but it can not conceal the twelfth frame. It throw an error message “Duplicate frame_num in short-term reference picture buffer”. I wonder if you can help us to correct this But. Thanks.&lt;br /&gt;
&lt;br /&gt;
Your Sincerely&lt;br /&gt;
Jensen Chen]]></description><category>decoder</category><pubDate>Wed, 24 Feb 2021 08:59:26 +0100</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=370</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=370#bugnotes</comments></item><item><title>0000366: Error in deblocking process of mbaff frames</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=366</link><description><![CDATA[Hi,&lt;br /&gt;
&lt;br /&gt;
It seems that there is a error in JM H.264 decoder in deblocking process of MbAff frames for luma field macroblocks. The following is for JM 11.0 but the same problem also exists in newer versions.&lt;br /&gt;
&lt;br /&gt;
The error is in calculating pixQ.pos_y in loopfilter.c. In EdgeLoop() you use getNeighbour() for it.&lt;br /&gt;
Pos_y calculated in get_mb_pos(), get_mb_block_pos() as&lt;br /&gt;
&lt;br /&gt;
y = (((mb_addr / 2) / PicWidthInMbs) * 2 + (mb_addr % 2)) * 16; i.e.&lt;br /&gt;
y = ((mb_addr / 2) / PicWidthInMbs) * 32 + ((mb_addr % 2) * 16)&lt;br /&gt;
&lt;br /&gt;
It is a position of the upper-left luma sample of the macroblock CurrMbAddr and it is determined in standart (subclause 8.7.1) as inverse macroblock scanning process (6.4.1) and assigned to yI:&lt;br /&gt;
&lt;br /&gt;
y = ((mb_addr / 2) / (PicWidthInSamples / 16)) * 32 + (mb_addr % 2); i.e.&lt;br /&gt;
y = ((mb_addr /2) / PicWidthInMbs) * 32 + (mb_addr % 2)&lt;br /&gt;
&lt;br /&gt;
So for odd values of mb_addr the result in JM is wrong.]]></description><category>decoder</category><pubDate>Wed, 25 Nov 2020 16:28:35 +0100</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=366</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=366#bugnotes</comments></item><item><title>0000363: The vertical motion vector component range</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=363</link><description><![CDATA[Hallo.&lt;br /&gt;
&lt;br /&gt;
I have interlaced stream in bitstream_1080i.h264 file.&lt;br /&gt;
To decode, I run the command:&lt;br /&gt;
&lt;br /&gt;
ldecod.exe -i bitstream_1080i.h264&lt;br /&gt;
&lt;br /&gt;
The decoding have following warnings:&lt;br /&gt;
&lt;br /&gt;
WARNING! Vertical motion vector -1600 is out of allowed range {-1024, 1023} in picture 1, macroblock 763&lt;br /&gt;
WARNING! Vertical motion vector -1680 is out of allowed range {-1024, 1023} in picture 1, macroblock 2077&lt;br /&gt;
WARNING! Vertical motion vector -1696 is out of allowed range {-1024, 1023} in picture 1, macroblock 2423&lt;br /&gt;
WARNING! Vertical motion vector -1333 is out of allowed range {-1024, 1023} in picture 1, macroblock 3330&lt;br /&gt;
WARNING! Vertical motion vector -2048 is out of allowed range {-1024, 1023} in picture 1, macroblock 3422&lt;br /&gt;
&lt;br /&gt;
The maximum absolute value of a decoded vertical or horizontal motion vector component is constrained by profile and level limits as specified in Annex A of the ITU-T Specification.&lt;br /&gt;
The vertical motion vector component range for level 4.0 does not exceed -512, +511.75 in units of luma frame samples, which is equal -2048, +2047 in 1/4 units.&lt;br /&gt;
&lt;br /&gt;
In set_chroma_vector function in mb_prediction.c file, the maximum range is reduced from  -2048, +2047 to  -1024, +1023 for interlaced stream:&lt;br /&gt;
&lt;br /&gt;
currSlice-&gt;max_mb_vmv_r = (currSlice-&gt;structure != FRAME || ( currMB-&gt;mb_field )) ? p_Vid-&gt;max_vmv_r &gt;&gt; 1 : p_Vid-&gt;max_vmv_r;&lt;br /&gt;
&lt;br /&gt;
I did not find in the ITU-T Specification any information about the reduction of the maximum range for vertical motion vectors for interlaced streams.&lt;br /&gt;
Maybe this line is incorrect? And to avoid WARNINGS, just need to change it to:&lt;br /&gt;
&lt;br /&gt;
currSlice-&gt;max_mb_vmv_r = p_Vid-&gt;max_vmv_r;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Best Regards,&lt;br /&gt;
Sergey]]></description><category>decoder</category><pubDate>Tue, 09 Oct 2018 14:44:13 +0200</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=363</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=363#bugnotes</comments></item><item><title>0000362: 12 bit lossless compression mode in JM</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=362</link><description><![CDATA[Hi Experts,&lt;br /&gt;
&lt;br /&gt;
I am stuck in making 12 bit lossless compression mode to work in JM encoder.&lt;br /&gt;
Wanted to confirm if JM encoder supports lossless compression in 12 bit mode for YUV.&lt;br /&gt;
&lt;br /&gt;
For lossless mode I have done the following.&lt;br /&gt;
&lt;br /&gt;
1) set all quantization parameters (i/p/b-frames) to 0&lt;br /&gt;
2) set the lossless flag to 1 (qpprime_y is zero)&lt;br /&gt;
3) set the profile to 244.&lt;br /&gt;
&lt;br /&gt;
Please point me in the correct direction if I am missing anything.&lt;br /&gt;
&lt;br /&gt;
Thank you.&lt;br /&gt;
&lt;br /&gt;
Best Regards,&lt;br /&gt;
Sujith]]></description><category>encoder</category><pubDate>Tue, 09 Oct 2018 08:16:09 +0200</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=362</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=362#bugnotes</comments></item><item><title>0000361: Cannot find any input value to  av,ac in ParseCommand() function</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=361</link><description><![CDATA[Although  ParseCommand(InputParameters *p_Inp, int ac, char *av[]) has input parametrs, when the function is called, the caller does not pass the value but just pass the parameter names. ParseCommand(p_Inp,ac,av[]). I would like to know how the ac, av value is calculated and how ac,av value is initialized or added.]]></description><category>decoder</category><pubDate>Fri, 17 Aug 2018 07:22:29 +0200</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=361</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=361#bugnotes</comments></item><item><title>0000360: crash when encoding to intra profile</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=360</link><description><![CDATA[maybe I setup something wrong.&lt;br /&gt;
config file attached.&lt;br /&gt;
&lt;br /&gt;
briefly about the config - High profile where all the frames should be IDR. Enabled Rate Control, and set bitrate to 1 Mbps.&lt;br /&gt;
Source and dest sizes are the same:  360x260]]></description><category>encoder</category><pubDate>Wed, 05 Jul 2017 16:09:42 +0200</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=360</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=360#bugnotes</comments></item><item><title>0000159: JM decoder crashes with a lost NAL unit... (erc_do_p.c)?</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=159</link><description><![CDATA[Hi,&lt;br /&gt;
&lt;br /&gt;
I have encoded a YUV file with an H.264 encoder (x264). Then to simulate the channel error, I drop one of the NAL units of this encoded file (in the middle of the video, frame 150). But unfortunately, when I try to decode it with JM decoder I got the following errors:&lt;br /&gt;
&lt;br /&gt;
&gt; ldecod.exe decoder.cfg&lt;br /&gt;
&lt;br /&gt;
case 1: in decoder.cfg we set Err Concealment mode = 0&lt;br /&gt;
in this case I got this error on frame 150 : An unintentional loss of pictures occures! Exit&lt;br /&gt;
&lt;br /&gt;
case 2: in decoder.cfg we set Err Concealment mode = 1 or 2&lt;br /&gt;
in this case at the begining of the decoding process (at frame 1) I got the following error:&lt;br /&gt;
&lt;br /&gt;
0000(I) 0 0 10 4:2:0 140&lt;br /&gt;
Assertion failed: conceal_from_picture != NULL, file c:\jm\lencode\src\erc_do_p.c, line 1725&lt;br /&gt;
&lt;br /&gt;
Actually, in the second case JM crashes. Please note that I can play this encoded file (even in the case that some of its NAL units have been dropped) with VLC player with no error. But what is the problem? Could you please help me? Thank you in advance! &lt;br /&gt;
&lt;br /&gt;
[Edited to avoid linking to unrelated bugs, KS]]]></description><category>decoder</category><pubDate>Mon, 24 Apr 2017 11:43:44 +0200</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=159</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=159#bugnotes</comments></item><item><title>0000358: leading_zero_8bits error incorrectly reported, decoder stops</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=358</link><description><![CDATA[Hi,&lt;br /&gt;
&lt;br /&gt;
The following message is incorrectly displayed and the decoder stops:&lt;br /&gt;
GetAnnexbNALU: The leading_zero_8bits syntax can only be present in the first byte stream NAL unit, return -1&lt;br /&gt;
Error while getting the NALU in file format Annex B, exit&lt;br /&gt;
&lt;br /&gt;
Since version JM 16.0 there is not initialized variable   &lt;br /&gt;
'IsFirstByteStreamNALU' in the file ldecod/src/annexb.c&lt;br /&gt;
There is variable initialization in function init_annex_b:&lt;br /&gt;
void init_annex_b(ANNEXB_t *annex_b)&lt;br /&gt;
{&lt;br /&gt;
.......&lt;br /&gt;
  annex_b-&gt;IsFirstByteStreamNALU = 1;&lt;br /&gt;
.......&lt;br /&gt;
}&lt;br /&gt;
however this function is never used.&lt;br /&gt;
&lt;br /&gt;
Decoding of input file which has any number of leading_zero_8bits before NAL unit start indicator (0x00000001) ends with error.&lt;br /&gt;
&lt;br /&gt;
Best Regards,&lt;br /&gt;
Pavel]]></description><category>decoder</category><pubDate>Wed, 09 Mar 2016 14:54:45 +0100</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=358</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=358#bugnotes</comments></item><item><title>0000357: RTP mode while decoding gives error "slice_qp_delta makes slice_qp_y out of range" in jm 19.0</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=357</link><description><![CDATA[I have been trying to encode a video then apply packet loss model after which I try to decode file but it gives error &quot;slice_qp_delta makes slice_qp_y out of range&quot;.&lt;br /&gt;
&lt;br /&gt;
The problem exists even If I don't apply packet loss model.]]></description><category>decoder</category><pubDate>Sun, 03 Jan 2016 00:02:23 +0100</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=357</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=357#bugnotes</comments></item><item><title>0000356: violated constraint in the section A.3.3 as specified in the point e)</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=356</link><description><![CDATA[Dear Karsten, Alexis, All,&lt;br /&gt;
&lt;br /&gt;
I'm thinking there is another 'similar' violation in the JM but this one probably looks like more easily to be cleanly fixed.&lt;br /&gt;
Please take a look at statement in the section A.3.3 as specified in e):&lt;br /&gt;
&lt;br /&gt;
e) In bitstreams conforming to the Main, High, Progressive High, High 10, High 4:2:2, High 4:4:4 Predictive, or Extended profiles, the value of sub_mb_type[ mbPartIdx ] with mbPartIdx = 0..3 in B macroblocks with mb_type equal to B_8x8 shall not be equal to B_Bi_8x4, B_Bi_4x8, or B_Bi_4x4 for the levels in which MinLumaBiPredSize is shown as 8x8 in Table A-4 for the Main, High, Progressive High, High 10, High 4:2:2, High 4:4:4 Predictive profiles and in Table A-5 for the Extended profile.&lt;br /&gt;
&lt;br /&gt;
In my bitstreams, I’m certainly seeing ‘not to be used’ the B_Bi_8x4 and 4_8 subpartitions at the higher Levels &gt;=3.1  per MinLumaBiPredSize = 8x8&lt;br /&gt;
&lt;br /&gt;
After you’ll have a chance to confirm that the above check is not enforced in the JM19, I’ll report this into the BugTracker.&lt;br /&gt;
&lt;br /&gt;
Best regards,&lt;br /&gt;
&lt;br /&gt;
Andrew]]></description><category>encoder</category><pubDate>Mon, 13 Jul 2015 18:02:35 +0200</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=356</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=356#bugnotes</comments></item><item><title>0000355: MaxMvsPer2Mb constraint violated per the Table A-1 = Number of MVs per two consecutive MBs exceeded limit</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=355</link><description><![CDATA[Dear Karsten, Experts,&lt;br /&gt;
&lt;br /&gt;
I have just encoded some 1080p video content at different frame rates using the JM 19.0. After checking for the bit-streams conformance, I'm getting a number of the messages: 'Number of MVs per two consecutive MBs exceeded limit. Max is 16, found 19. I suppose, that refers to the violated constraint for the MaxMvsPer2Mb in the Table A-1 Level limits. As expected that tend to happens at lower QP values, when better video quality is achievable.&lt;br /&gt;
Thanks!&lt;br /&gt;
&lt;br /&gt;
ps. the example bitstream is type30QPB202020.h264 - but can't be uploaded due to size limit &gt; 5000k below - will try to send it directly to Karsten]]></description><category>encoder</category><pubDate>Wed, 08 Jul 2015 19:23:01 +0200</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=355</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=355#bugnotes</comments></item><item><title>0000340: error in motion vector copy concealment at the decoder</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=340</link><description><![CDATA[Hi, there&lt;br /&gt;
 we encode 10 frames in baseline profile and it gives us  12 RTP packets.&lt;br /&gt;
 after that we run rtp_loss with 18% PLR the result is that the packet  number 10 is lost that makes frame  number 9 is lost. when we run ldecod.exe with frame copy concealment there isn't any problem but when we run it with motion vector copy then decoder can't decode video and rec file is then 0Kb. when we traced the ldecod.exe we found that when decoder reaches to frame number 9 that is lost and wants to conceal it in the function copy_to_conceal the value of p_Vid-&gt;dec_picture is null. in frame copy we don't have any problem (because there is no need to this parameter) but in motion vector copy because it uses this parameter in function buildPredblockRegionYUV then it can't continue it's concealing process. we want to ask that whether this issue is logical and we should repair it or not? thank's a lot if you help us to solve this issue.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks A lot]]></description><category>decoder</category><pubDate>Wed, 08 Jul 2015 16:27:36 +0200</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=340</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=340#bugnotes</comments></item><item><title>0000330: use of &gt;, &gt;=, &lt;, &lt;= with profile_idc</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=330</link><description><![CDATA[H.264 profile_idc is not a monotonically increasing value, rather it is an enumeration.&lt;br /&gt;
&lt;br /&gt;
use of &gt;, &gt;=, &lt;, &lt;= with profile_idc is NOT recommended.&lt;br /&gt;
&lt;br /&gt;
In JM 18.5, use of &gt;, &gt;=, &lt;, &lt;= with profile_idc:&lt;br /&gt;
lines 271 and 272 in ldecod/inc/defines.h&lt;br /&gt;
lines 1091 and 1095 in ldecod/inc/global.h&lt;br /&gt;
lines 1609 in lencod/inc/global.h&lt;br /&gt;
line 1847 in ldecod/src/mbuffer.c&lt;br /&gt;
line 597 in ldecod/src/parset.c]]></description><category>encoder and decoder</category><pubDate>Tue, 16 Jun 2015 14:08:42 +0200</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=330</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=330#bugnotes</comments></item><item><title>0000351: Redundant Picture - unable to decode</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=351</link><description><![CDATA[I am encoding 25 frames of a 210x118 video in the baseline profile. The use of redundant pictures is enabled and it looks like the encoder is properly doing its job (no error message, neither any warnings).&lt;br /&gt;
&lt;br /&gt;
However, as the decoder starts, it throws out an error and quit : &quot; RefPicList0[ num_ref_idx_l0_active_minus1 ] is equal to 'no reference picture', invalid bitstream  &quot;&lt;br /&gt;
&lt;br /&gt;
I attached the encoder config file.]]></description><category>encoder and decoder</category><pubDate>Mon, 11 May 2015 15:09:03 +0200</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=351</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=351#bugnotes</comments></item><item><title>0000350: new values of log2_max_frame_num are not accepted</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=350</link><description><![CDATA[Hi all&lt;br /&gt;
&lt;br /&gt;
While working with JM18.0 decoder i encounter the following problem:&lt;br /&gt;
&lt;br /&gt;
i have a h264-file test file (attached as test_max_frame_num_bug.264), the file consists of two GOPs (18 frames of each, totally 36 frames). &lt;br /&gt;
The first GOP has log2_max_frame_num_minus4=12 (MaxFrameNum=64k) while the second GOP has log2_max_frame_num_minus4=0 (MaxFrameNum=16).&lt;br /&gt;
 &lt;br /&gt;
The JM18.0 decoder fails processing the test file, it abnormally exits at frame &lt;a href=&quot;https://avc.hhi.fraunhofer.de/mantis/view.php?id=33&quot;&gt;0000033&lt;/a&gt; with the following error:&lt;br /&gt;
…..&lt;br /&gt;
Picture 32, Type P&lt;br /&gt;
00014( P )       28    14    28   0.0000   0.0000   0.0000  4:2:0       1&lt;br /&gt;
Picture 33, Type P&lt;br /&gt;
00015( P )       30    15    28   0.0000   0.0000   0.0000  4:2:0       1&lt;br /&gt;
An unintentional loss of pictures occurs! Exit&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
The test file is compliant, because it actually is a concatenation of two compliant self-contained GOPs. &lt;br /&gt;
&lt;br /&gt;
The reason of failure is:&lt;br /&gt;
JM18.0 accepts log2_max_frame_num only at the start of stream, if a SPS with a different log2_max_frame_num is present in the middle of the stream, the new value of log2_max_frame_num is ignored (unlike to other parameters of SPS/PPS). &lt;br /&gt;
&lt;br /&gt;
More precisely, the value of MaxFrameNum is assigned at the function ‘set_coding_par’ (parset.c) only: &lt;br /&gt;
 &lt;br /&gt;
   cps-&gt;MaxFrameNum = 1&lt;&lt;(sps-&gt;log2_max_frame_num_minus4+4);&lt;br /&gt;
 &lt;br /&gt;
The function ‘set_coding_par’ in turn is called in the function ‘activate_sps’ only:&lt;br /&gt;
 &lt;br /&gt;
    if(p_Vid-&gt;dpb_layer_id==0 &amp;&amp; is_BL_profile(sps-&gt;profile_idc) &amp;&amp;   &lt;br /&gt;
      !p_Vid-&gt;p_Dpb_layer[0]-&gt;init_done)&lt;br /&gt;
    {&lt;br /&gt;
      set_coding_par(sps, p_Vid-&gt;p_EncodePar[0]);&lt;br /&gt;
      setup_layer_info( p_Vid, sps, p_Vid-&gt;p_LayerPar[0]);&lt;br /&gt;
    }&lt;br /&gt;
    else if(p_Vid-&gt;dpb_layer_id==1 &amp;&amp; is_EL_profile(sps-&gt;profile_idc) &amp;&amp;  &lt;br /&gt;
    !p_Vid-&gt;p_Dpb_layer[1]-&gt;init_done)&lt;br /&gt;
    {&lt;br /&gt;
      set_coding_par(sps, p_Vid-&gt;p_EncodePar[1]);&lt;br /&gt;
      setup_layer_info(p_Vid, sps, p_Vid-&gt;p_LayerPar[1]);&lt;br /&gt;
    }&lt;br /&gt;
 &lt;br /&gt;
Upon activation of the very first SPS, MaxFrameNum is set and the flag p_Vid-&gt;p_Dpb_layer[0]-&gt;init_done is set to 1. As a result new values of log2_max_frame_num are ignored. Actually the decoder processes a stream with obsolete log2_max_frame_num. &lt;br /&gt;
 &lt;br /&gt;
Regarding to the failure of the test file, log2_max_frame_num in the first SPS is 16 (or MaxFrameNum=64k) and this value is adopted (since it is present in the very first SPS). When the JM18.0 decoder starts processing the second GOP  &lt;br /&gt;
it expects that after frame_num=15 the following frame_num is 16, however frame_num values in the second GOP are incremented modulo 16, hence the following frame_num is 0. Consequently the decoder considers the situation as frame(s) loss and reports error respectively.&lt;br /&gt;
 &lt;br /&gt;
We suggest removing the condition !p_Vid-&gt;p_Dpb_layer[0]-&gt;init_done in activate_sps function. We propose to replace the condition:&lt;br /&gt;
 &lt;br /&gt;
if(p_Vid-&gt;dpb_layer_id==0 &amp;&amp; is_BL_profile(sps-&gt;profile_idc) &amp;&amp; !p_Vid-&gt;p_Dpb_layer[0]-&gt;init_done)&lt;br /&gt;
    {&lt;br /&gt;
      set_coding_par(sps, p_Vid-&gt;p_EncodePar[0]);&lt;br /&gt;
      setup_layer_info( p_Vid, sps, p_Vid-&gt;p_LayerPar[0]);&lt;br /&gt;
    }&lt;br /&gt;
    else if(p_Vid-&gt;dpb_layer_id==1 &amp;&amp; is_EL_profile(sps-&gt;profile_idc) &amp;&amp; !p_Vid-&gt;p_Dpb_layer[1]-&gt;init_done)&lt;br /&gt;
    {&lt;br /&gt;
      set_coding_par(sps, p_Vid-&gt;p_EncodePar[1]);&lt;br /&gt;
      setup_layer_info(p_Vid, sps, p_Vid-&gt;p_LayerPar[1]);&lt;br /&gt;
    }&lt;br /&gt;
 &lt;br /&gt;
With &lt;br /&gt;
 &lt;br /&gt;
if(p_Vid-&gt;dpb_layer_id==0 &amp;&amp; is_BL_profile(sps-&gt;profile_idc) )&lt;br /&gt;
    {&lt;br /&gt;
      set_coding_par(sps, p_Vid-&gt;p_EncodePar[0]);&lt;br /&gt;
      setup_layer_info( p_Vid, sps, p_Vid-&gt;p_LayerPar[0]);&lt;br /&gt;
    }&lt;br /&gt;
    else if(p_Vid-&gt;dpb_layer_id==1 &amp;&amp; is_EL_profile(sps-&gt;profile_idc))&lt;br /&gt;
    {&lt;br /&gt;
      set_coding_par(sps, p_Vid-&gt;p_EncodePar[1]);&lt;br /&gt;
      setup_layer_info(p_Vid, sps, p_Vid-&gt;p_LayerPar[1]);&lt;br /&gt;
    }]]></description><category>decoder</category><pubDate>Thu, 30 Apr 2015 08:57:08 +0200</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=350</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=350#bugnotes</comments></item><item><title>0000348: Static buffer overflow in function biari_init_context() on arrays INIT_FLD_MAP_I and INIT_FLD_LAST_I</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=348</link><description><![CDATA[The static global array INIT_FLD_MAP_I[1][8][15][2] is read past its boundary in function biari_init_context() on line  299 using the ini pointer:&lt;br /&gt;
&lt;br /&gt;
int pstate = ((ini[0]* qp )&gt;&gt;4) + ini[1];&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On line 90 in ldecod/src/context_ini.c the following macro is expanded with the NUM_BLOCK_TYPES argument equal to 22.&lt;br /&gt;
&lt;br /&gt;
IBIARI_CTX_INIT2 (NUM_BLOCK_TYPES, NUM_MAP_CTX,  tc-&gt;map_contexts[1],  INIT_FLD_MAP,   model_number, qp);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This NUM_BLOCK_TYPES argument specifies the number of i loop iterations in the macro definition, where i indexes the second dimension of the array. The second dimension of INIT_FLD_MAP_I[1][8][15][2] has only 8 entries and array accesses with the i values between 8 and 21 quickly cause out of bound memory reads.&lt;br /&gt;
&lt;br /&gt;
The same problem occurs on line 91 in ldecod/src/context_ini.c for the INIT_FLD_LAST_I[1][8][15][2] array.&lt;br /&gt;
&lt;br /&gt;
This bug was detected by Pareon Verify, a software verification tool from Vector Fabrics, &lt;a href=&quot;http://www.vectorfabrics.com/products/pareon_verify&quot;&gt;http://www.vectorfabrics.com/products/pareon_verify.&lt;/a&gt; The report Pareon Verify generated for JMDecode is attached as jmdecode.verify.log.]]></description><category>decoder</category><pubDate>Thu, 16 Apr 2015 12:28:30 +0200</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=348</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=348#bugnotes</comments></item><item><title>0000345: MBAFF loopfilter mismatch with standard</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=345</link><description><![CDATA[In function edge_loop_luma_ver_MBAff, all filter process is disable by &lt;br /&gt;
if(MbQ-&gt;DFDisableIdc ==0) &lt;br /&gt;
when MbQ-&gt;DFDisableIdc equals to 2.]]></description><category>decoder</category><pubDate>Mon, 13 Apr 2015 15:46:15 +0200</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=345</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=345#bugnotes</comments></item><item><title>0000347: "double free" crash in the low-delay mode</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=347</link><description><![CDATA[The encoder crashes after encoding the first IDR frame when I'm trying to implement a low-delay hierarchical-P coding structure. The configuration file I'm using is attached. Below is the terminal output:&lt;br /&gt;
&lt;br /&gt;
00000(IDR)   47904 168  0 28    6  39.002  43.168  42.430        52       0    FRM   396 0  0  0  0   3&lt;br /&gt;
*** Error in `./lencod.exe': double free or corruption (fasttop): 0x0000000002dc7260 ***&lt;br /&gt;
Aborted (core dumped)]]></description><category>encoder</category><pubDate>Mon, 13 Apr 2015 15:06:45 +0200</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=347</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=347#bugnotes</comments></item><item><title>0000302: Cannot run lencod</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=302</link><description><![CDATA[I wish get file.264 but i can not because this error is showed when i try to do&lt;br /&gt;
&lt;br /&gt;
C:\Users\Gloria\Desktop\JM1\bin&gt;lencod -d encoder.cfg&lt;br /&gt;
Setting Default Parameters...&lt;br /&gt;
Parsing Configfile encoder.cfg..................................................&lt;br /&gt;
................................................................................&lt;br /&gt;
................................................................................&lt;br /&gt;
................................................................................&lt;br /&gt;
................................................................................&lt;br /&gt;
.............................&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Warning: Hierarchical coding or Referenced B slices used.&lt;br /&gt;
         Make sure that you have allocated enough references&lt;br /&gt;
         in reference buffer to achieve best performance.&lt;br /&gt;
AdaptiveRounding is disabled when RDO Quantization is used&lt;br /&gt;
Warning: CRA can only be used for IntraPeriod &gt; 0, set CRA to 0&lt;br /&gt;
Warning: HM50LikeMMCO can only be used for random access case with GOP size equa&lt;br /&gt;
l to 8 and HM-5.0 coding order&lt;br /&gt;
         If it used for other coding structure, the performance may loss&lt;br /&gt;
Warning: useF701RefForLD can only be used for low delay case with GOP size equal&lt;br /&gt;
 to 4 and 4 reference frames as HM-5.0 low delay&lt;br /&gt;
         If other GOP size or number of reference frames are used, the performan&lt;br /&gt;
ce may be loss with useF701RefForLD&lt;br /&gt;
useF701RefForLD can only be used when LowDelay is 1]]></description><category>encoder</category><pubDate>Sat, 28 Feb 2015 19:37:10 +0100</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=302</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=302#bugnotes</comments></item><item><title>0000346: The decoder does not support a bitstream with change of resolution</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=346</link><description><![CDATA[If a bitstream contains a new SPS/PPS and IDR pic in the middle of the stream for a new resolution, the decoder will fail to continue to decode.  This seems to be due to the last frame before the new SPS/PPS and IDR pic doesn't get properly decoded.  The last frame seems to incorrectly use the new SPS.&lt;br /&gt;
&lt;br /&gt;
This problem goes away if we insert either end of sequence or end of stream NAL before the new SPS/PPS and IDR pic.  But I think the decoder should function properly even without the EOS NALs.]]></description><category>decoder</category><pubDate>Fri, 13 Feb 2015 21:34:09 +0100</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=346</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=346#bugnotes</comments></item><item><title>0000344: Error in assignment of PMVy</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=344</link><description><![CDATA[in function &quot;UMHEXSetMotionVectorPredictor()&quot; of file me_umhex.c, line 1271:&lt;br /&gt;
if (!p_Vid-&gt;mb_aff_frame_flag || hv==0)&lt;br /&gt;
forces the PMVy to get the X value of its neighbors instead of Y, when the frame is in progressive format.&lt;br /&gt;
it should change to:&lt;br /&gt;
if (hv==0)]]></description><category>encoder</category><pubDate>Tue, 08 Jul 2014 18:21:49 +0200</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=344</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=344#bugnotes</comments></item><item><title>0000343: program does not create result histogram for single yuv-image</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=343</link><description><![CDATA[the configuration encoder file for yuv file is:&lt;br /&gt;
2143.yuv width=240 and height=512&lt;br /&gt;
&lt;br /&gt;
hand image size -which is one of MRI medical image of IRMA (ImageCLEFmed2009_train)- is 247 *512. &lt;br /&gt;
I set width and height -240*512- in configuration encoder for mod 8.&lt;br /&gt;
but It doesn't work and result in histogram.]]></description><category>encoder</category><pubDate>Thu, 19 Jun 2014 07:27:19 +0200</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=343</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=343#bugnotes</comments></item><item><title>0000342: CAVLC_LEVEL_LIMIT fixed for all profiles while it should be dependent on the PROFILE</title><author></author><link>https://avc.hhi.fraunhofer.de/mantis/view.php?id=342</link><description><![CDATA[In the current JM18.6 version CAVLC_LEVEL_LIMIT is fixed in defines.h files:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This value should be limited only for some profiles mentioned in the standard and not limited for other profile.&lt;br /&gt;
&lt;br /&gt;
NOTE 1 – When entropy_coding_mode_flag is equal to 0 and qP is less than 10 and profile_idc is equal to 66, 77, or 88, the range of values that can be represented for the elements cij of c is not sufficient to represent the full range of values of the elements dcYij of dcY that could be necessary to form a close approximation of the content of any possible source picture by use of the Intra_16x16 macroblock type.&lt;br /&gt;
 &lt;br /&gt;
NOTE 2 – Since the range limit imposed on the elements dcYij of dcY is imposed after the right shift in Equation 8-322, a larger range of values must be supported in the decoder prior to the right shift.&lt;br /&gt;
 &lt;br /&gt;
NOTE 1 – When entropy_coding_mode_flag is equal to 0 and qP is less than 4 and profile_idc is equal to 66, 77, or 88, the range of values that can be represented for the elements cij of c in clause 8.5.11.1 may not be sufficient to represent the full range of values of the elements dcCij of dcC that could be necessary to form a close approximation of the content of any possible source picture.&lt;br /&gt;
 &lt;br /&gt;
NOTE 2 – Since the range limit imposed on the elements dcCij of dcC is imposed after the right shift in Equation 8-326 or 8-329, a larger range of values must be supported in the decoder prior to the right shift.&lt;br /&gt;
 &lt;br /&gt;
NOTE – The value of level_prefix is constrained to not exceed 15 in bitstreams conforming to the Baseline, Constrained Baseline, Main, and Extended profiles, as specified in clauses A.2.1, A.2.1.1, A.2.2, and A.2.3, respectively. In bitstreams conforming to other profiles, it has been reported that the value of level_prefix cannot exceed 11 + bitDepth with bitDepth being the variable BitDepthY for transform coefficient blocks related to the luma component and being the variable BitDepthCfor transform coefficient blocks related to a chroma component.]]></description><category>encoder</category><pubDate>Fri, 06 Jun 2014 11:04:02 +0200</pubDate><guid>https://avc.hhi.fraunhofer.de/mantis/view.php?id=342</guid><comments>https://avc.hhi.fraunhofer.de/mantis/view.php?id=342#bugnotes</comments></item></channel></rss>
