-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MediaCodecInfo.CodecCapabilities.COLOR_FormatSurface #10
Comments
There seems no difference between
|
We don't need pre-process frames, at the output we get raw h264 (with COLOR_FormatSurface or another, it does not matter) from mediacodec. I noticed that when use COLOR_FormatSurface - SPS and PPS are not sent. I'm trying to add them (SrsRtmpFlv.writeSampleData()), but it still does not work |
Where is your raw h.264 data from? Does it wrapped in the byte buffer returned by The gist code seems unreliable. The IDR frame is NOT always the first one from the encoder. See SrsFlvMuxer.java to find out the right way. After all I am afraid I will not try your case on yasea for I am busy with other issues. |
@Nook2007 我的也是H264的祼数据, 希望通过writeSampleData来推流, 没有成功, 请问你怎么解决的呢 |
Hi, can i use MediaCodecInfo.CodecCapabilities.COLOR_FormatSurface for MediaFormat.KEY_COLOR_FORMAT to get data from surface?
The text was updated successfully, but these errors were encountered: