Questions tagged [libyuv]

libyuv is an open source project that includes YUV scaling and conversion functionality

libyuv is an open source project that includes YUV scaling and conversion functionality.

  • Scale YUV to prepare content for compression, with point, bilinear or box filter.
  • Converts webcam formats to YUV (I420).
  • Convert YUV to formats for rendering/effects.
  • Rotate by 90 degrees to adjust for mobile devices in portrait mode.
  • Optimized for SSE2/SSSE3 on x86/x64.
  • Optimized for Neon on Arm.

Source: code.google.com (libyuv)

39 questions
0
votes
1 answer

faild to build Libyuv library (PJSIP) for android

I'm developing a chat android application. I want to use also the call functionality. I have successfully built the pjsua2.so library for SIP call VoIP but I failed to build Libyuv.so Library for video call I followed the instructions in thows to…
nouha
  • 143
  • 12
0
votes
0 answers

Abnormal picture after libyuv::ConvertToI420 on Android Camera

I set ImageFormat.NV21 as the Camera preview format before startPreview. camParams.setPreviewFormat(ImageFormat.NV21); I need to convert the NV21 preview data to I420 by libyuv, and then encode the I420 data. if (ret =…
Jerikc XIONG
  • 3,189
  • 5
  • 36
  • 62
0
votes
3 answers

Building libyuv for pjsip for iPhone for arm64

I have been trying to build Libyuv for arm64 architecture and then integrate it to PJSIP library. But I am not getting any progress as Pjsip is not able to find the libyuv.a framework. While configuring the Pjsip build, I use following command :…
mayuur
  • 4,696
  • 4
  • 28
  • 65
0
votes
2 answers

Issue with libyuv::ConvertToI420 on Android?

I have an onPreviewFrame callback set up. This gets a byte[] with NV21 data in it. I have set the preview size to 176*144. When device is held in landscape mode, byte[] with 176*144 dimensions is perfect but when device is held in portrait mode I…
zenith
  • 45
  • 3
  • 12
0
votes
1 answer

Integrating LibYUV to my Android Studio Project

I was wondering how do I include libyuv library to my Android Studio Project. I have the "libyuv_static.a" file which is a pre-compiled binary file but I did everything to include it in my project. I created a folder inside src/main named jniLibs…
0
votes
1 answer

(android ndk) libyuv of the library convert argb to nv21 (yuv420sp) usage?

How to convert argb to nv21 (yuv420sp) in Android ndk? 720 * 1280 ask if I should go to the following parameters api to change the color format of the image size. argb image data size is 3,686,400. (width : 720 height : 1280 bitPerPixel : 32…
aespki
  • 1
  • 3
0
votes
1 answer

rendering YUV ffmpeg frames in Android native ndk

Can we render YUV frames from ffmpeg streaming output(AV_PIX_FMT_YUV420P) directly in Android screen without converting to RGB format?
vgokul129
  • 671
  • 8
  • 26
0
votes
1 answer

Building parameters for libyuv's NV21ToI420

In my Android application, I get Camera output in NV21 format as a byte array. On the native side, I need to convert this array to I420 format using libyuv's NV21ToI420 function. Here is its definition: LIBYUV_API int NV21ToI420(const uint8* src_y,…
Peter
  • 9,657
  • 12
  • 61
  • 124
0
votes
0 answers

FFMPEG YUV extraction: missing frames

I've tried to extract YUV frames from TS/m4v file using FFMPEG. I've found that all the frames displayed prior to first decoded frame are not extracted. usage: ffmpeg -i Is there a method to extract these frames? Is there another method to extract…
Edy S
  • 1
1 2
3