开发者

android decoding video frame not displayed properly - interlacing problem?

开发者 https://www.devze.com 2023-02-08 10:50 出处:网络
I am beginner in android. I am working on porting ffmpeg to android and i am able to display the picture, which looks really odd. I am providiing the links to pictures please advice me what really wen

I am beginner in android. I am working on porting ffmpeg to android and i am able to display the picture, which looks really odd. I am providiing the links to pictures please advice me what really went wrong in my case.

In the native code I call sws_scale function to convert image from native format to rgb 565 and I use this rgb565 frame to be displayed using canvas and bitmap in java code.

I am guessing this is interlacing problem, but not sure. Need su开发者_如何学运维ggestions . Please help.


How are you calling ffmpeg? I definitely agree that its an interlacing issue. Can you just pass deinterlace to it?

0

精彩评论

暂无评论...
验证码 换一张
取 消