[Linphone-developers] Unable to Display video in UYVY format
From:
Raseel Bhagat
Subject:
[Linphone-developers] Unable to Display video in UYVY format
Date:
Tue, 24 Aug 2010 19:34:19 +0530
Hi,
I want to display video in UYVY colorspace.
I did the following changes for the same : file : linphone-3.3.2/mediastreamer2/videoout.c - Substituted SDL_YV12_OVERLAY with SDL_UYVY_OVERLAY : wd->lay=SDL_CreateYUVOverlay(w , h ,SDL_UYVY_OVERLAY,wd->sdl_screen);
- Substituted PIX_FMT_UYVY422 in place of PIX_FMT_YUV420P, for libsws api calls: obj->sws1=ms_sws_getContext(src.w,src.h,PIX_FMT_UYVY422, obj->fbuf.w,obj->fbuf.h,PIX_FMT_UYVY422, SWS_FAST_BILINEAR, NULL, NULL, NULL);
Removed the pixconv filter and linked only the input output filters, in linphone-3.3.2/mediastreamer2/videostream.c,video_preview_start() : ms_filter_link(stream->vsource, 0, stream->vout, 0);
Does this make sense ?
-- Raseel
[Prev in Thread]
Current Thread
[Next in Thread]
[Linphone-developers] Unable to Display video in UYVY format,
Raseel Bhagat<=