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)

42 questions
0
votes
1 answer

is the audio source for .yuv test video sequences available?

i need the audio file for the yuv test video sequences like foreman.yuv, akiyo.yuv ,etc. none of the yuv sequences online have the audio file. any other yuv sequences with the audio file suitable for encoder analysis also works.
zahraesb
  • 153
  • 1
  • 7
0
votes
1 answer

C++ Runtime component(Universal Windows) project build error "LINK : fatal error LNK1104: cannot open file 'LIBCMT.lib'"

I create C++ Runtime component(Universal Windows) project which a  reference to libyuv.lib (a google library). After I set the reference and build for x64, and I got an error "LINK : fatal error LNK1104: cannot open file 'LIBCMT.lib'". But In…
Josh Pi
  • 11
  • 3
0
votes
1 answer

How to insert cursor image in YUV(NV12) buffer?

i have captured screen with Intel Capture in NV12(YUV) format. Intel capture does not capture Mouse cursor. So i have to include cursor image in Intel captured yuv buffer. Is it possible to edit(include) cursor image in yuv buffer ? Guide me…
M.Taha
  • 31
  • 4
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
  • 13
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,517
  • 5
  • 42
  • 71
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,736
  • 4
  • 30
  • 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
  • 55
  • 3
  • 12
0
votes
2 answers

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
  • 777
  • 12
  • 31
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
  • 11,260
  • 14
  • 78
  • 155
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