[svc] base layer video is green when the resolution of all layers is the same
Hi all, When I test the SVC and set up 2 layers with different SpatialBitrate, same output resolution as input, the base layer video from encoded svc will be all green. I am not sure that it is setting issue or openh264 issue.
do you mean the decoded base layer video from svc .264 stream will be all green?
Yes, if the resolution of 2 layer is the same.
which decoder do you used? the openH264 decoder seems not support multi-layer streams. you can prefer to JSVM software.
I write a parser to remove the SVC part to a normal H.264, then it will be all black by using FFMpeg or other players.
I am not sure about your parser. I suggest to use JSVM SVC to AVC Bit-stream Rewriter which i found works well on the openH264 svc stream.
- The parser I wrote just removes NAL : Prefix NAL Unit, SubsetSPS Slice and Slice Layer Extension.
- In my opinion, there is quality scalable, then the AVC decoder can decode those NAL it knows, therefore the green output is NG.
- I use the AvcRewriterStatic (JSVM SVC to AVC Bit-stream Rewriter) and found that it re-encode the SVC to AVC. That is not what I want.
Hi, can you send me the sample bitstream (before and after your parser) to me ? [email protected]
openh264 encoder does not support CGS in SVC, it can only support 2xwidth/height spatial layers as spatial enhancement layers.
Hi sijchen, Thank you for your reply. Will openh264 encoder support CGS in SVC in the future ?
There is no plan for supporting CGS in the future yet.
I actually did not expect that the bit stream produced by the CGS setting will be recognizable to JSVM, but seemingly it can be.