I want to use FFmpeg4.2.2 to convert the input NV12 format to output NV12 format with the same height and width. I used sws_scale conversion, but the ...
I want to use FFmpeg4.2.2 to convert the input NV12 format to output NV12 format with the same height and width. I used sws_scale conversion, but the ...
By using one the following command-lines, it is possible to convert a video stream to an RGB buffer: ffmpeg -i video.mp4 -frames 1 -color_range pc -f ...
I want to use FFmpeg to convert the input NV12 format to YUV420P. I tried to use sws_scale conversion, but the colors are all green. I have successful ...
I have to encode a series of frames from CAIRO_FORMAT_ARGB32 to AV_PIX_FMT_YUV420P with sws_scale. From the ffmpeg docs I came to know the AV equivale ...
I'm trying to convert my local /dev/video0 cam to BGR24 format. It works if I resize the image (although not 100% of the time, more like 85% of the ti ...
I need convert YUV to RGB. I also need the RGB values to be in the limited range (16-235). I try to use sws_scale function for this task. My code you ...
My purpose is a screen recorder. I am using the Windows DXGI API to receive screenshots and I'm encoding the screenshots into a video using libx264. F ...
I am trying to use libswscale to scale image before encoding to h264 using cgo. Here I wrote a simple demo(sorry for the bad code style, I just want t ...
I'm making a movie player with libav. I have decoding video packets working, I have play in reverse working, I have seeking working. All this works no ...
I am implementing the client program of a game where the server sends encoded frames of the game to the client (via UDP), while the client decodes the ...
I'm using sws_scale to convert images and videos from every format to RGBA, using an SWSContext created thus: but when using a PNG with color type ...
Trying to read arbitrary video as plain RGB24 pixels so convert frame with sws_scale() this way: //... AVFrame* pic_out = av_frame_alloc(); ...
I'm trying to follow a tutorial to display ffmpeg AVFrame output in SDL. The tutorial(and all examples I'm seeing online) are still using 'sws_getCont ...
The goal is to convert NV12 to BGR24 image, more exactly an image patch (x:0, y:0, w:220, h:220). The issue is the undefined pixel column on the right ...
I was using swscale + x264 to encode a sequence of RGB images to an h264 stream. When the RGB values in the input image (in red) are all (255, 0, 0), ...
I want to compile OpenMCU.ru on my Ubuntu box, when I run ./configure command, following error appears: Any solution? ...
I was using sws_scale to convert a group of RGB32 images to YUV420 format. Each image is very similar to the previous one and they only differ on a re ...
I'm working on a Project in FFMPEG, and right now i'm stuck on a Problem. What i am trying to do is, convert a png pic in to a mpeg Video file. I've ...
I am using libav (2.7 built for MSVC) to open a camera using dshow: When I open the video stream it is "raw video" (according to its long_name) in ...
I'm trying to convert RGB32 frames to NV12 Frames to feed into an encoder. If I make m_outputPixelFormat AV_PIX_FMT_RGB32 and use a DMO colorspace ...