Opened 12 years ago Closed 11 years ago #1090 closed defect (fixed)Encoder crashes when using fixed rate and fixed slice length
Description
The variable LCUIdx assumes wrong values when enconding with fixed bitrate and fixed slice length.
The solution is the decrease by one the value LCUIdx when a LCU is encoded but not included in the current slice, because it exceeds the maximum size requested (fixed slice length).
This is the error: Attachments (4)Change History (12)comment:1 Changed 12 years ago by DefaultCC Plugin
Changed 12 years ago by jfmcarreiracomment:2 follow-up: ↓ 3 Changed 12 years ago by libin
I think when using fixed length slice, one LCU may be encoded more than once. Thus, the rate control parameters may be updated more than once. Would you please check the following patch fix the issue? comment:3 in reply to: ↑ 2 Changed 12 years ago by jfmcarreira
The encoder is working now. I came up with a different idea to solve this problem.
Why do not just decrease the number of encoded LCU (LCUIdx) when a given LCU is encoded and not include in the current slice (which means that it will be encoded more than once).
It just requires a new function in the TEncRCPic class which is used once when a given LCU is not include in the slice.
Void setLCUCoded( Int LCUCoded )
} comment:4 Changed 12 years ago by jfmcarreira
Ticket #1089 has been marked as a duplicate of this ticket. comment:5 Changed 11 years ago by fbossen
Fixed in r3495 based on provided patch comment:6 Changed 11 years ago by libinChanged 11 years ago by libincomment:7 Changed 11 years ago by ksuehring
comment:8 Changed 11 years ago by ksuehring
The patch has been applied in r3503 Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber, Participant
|
encoder report