View Issue Details

IDProjectCategoryView StatusLast Update
0000262JVT JM H.264/AVC reference softwareencoderpublic2011-05-19 11:55
ReporterD Assigned ToAlexis Michael Tourapis  
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
OSWindows 
Product VersionJM 18.0 
Target VersionJM 18.1Fixed in VersionJM 18.1 
Summary0000262: IntraProfile = 1 error
Descriptionwhen the IntraProfile is enabled (IntraProfile =1) the encoder is unable to process more than 1 frame (1st Frame coded as IDR). Profile=244, Level=51.
Encoder reports the following message:
"Max. number of reference frames exceeded. Invalid stream"
Steps To ReproduceMinor tweaks to the encoder configuration file:
IntraProfile =1
ProfileIDC=244
LevelIDC=51.
TagsNo tags attached.

Relationships

related to 0000176 resolvedAlexis Michael Tourapis IntraProfile requires IDRPeriod>=1 

Activities

Karsten Suehring

2011-05-18 15:31

administrator   ~0000468

As a work-around setting IDRPeriod=1 should give the same coding performance (i.e. coding all frames as intra).

But the encoder should be fixed to work with IntraPeriod=1 and IDRPeriod>1 for IntraProfile = 1.

D

2011-05-19 07:35

reporter   ~0000471

Made IntraProfile = 1, IntraPeriod = 1, IDRPeriod = 2.
Problem persists. Same error message.
Thanks

Alexis Michael Tourapis

2011-05-19 08:13

developer   ~0000472

In sliding_window_memory_management() in mbuffer.c (both encoder and decoder), modify the first condition to check not p_Dpb->num_ref_frames but max(1, p_Dpb->num_ref_frames). That is:

if (p_Dpb->ref_frames_in_buffer == max(1, p_Dpb->num_ref_frames) - p_Dpb->ltref_frames_in_buffer)

The same fix is needed in the decoder also.

Karsten Suehring

2011-05-19 11:55

administrator   ~0000474

fixed in the current developer branch

Issue History

Date Modified Username Field Change
2011-05-18 15:21 D New Issue
2011-05-18 15:31 Karsten Suehring Note Added: 0000468
2011-05-18 15:31 Karsten Suehring Status new => confirmed
2011-05-18 15:32 Karsten Suehring Priority high => normal
2011-05-18 15:32 Karsten Suehring Reproducibility sometimes => always
2011-05-18 15:32 Karsten Suehring Target Version => JM 18.1
2011-05-18 15:51 Karsten Suehring Relationship added related to 0000176
2011-05-19 07:35 D Note Added: 0000471
2011-05-19 08:13 Alexis Michael Tourapis Note Added: 0000472
2011-05-19 11:55 Karsten Suehring Note Added: 0000474
2011-05-19 11:55 Karsten Suehring Status confirmed => resolved
2011-05-19 11:55 Karsten Suehring Fixed in Version => JM 18.1
2011-05-19 11:55 Karsten Suehring Resolution open => fixed
2011-05-19 11:55 Karsten Suehring Assigned To => Alexis Michael Tourapis