Help with video dimension

This forum is about all development around libVLC.
GustavoKatel
New Cone
New Cone
Posts: 1
Joined: 15 Aug 2012 23:14

Help with video dimension

Postby GustavoKatel » 16 Aug 2012 00:02

I'm trying to resize the video, but libvlc_video_set_scale and libvlc_video_set_aspect_ration give me a cropped video in the specified dimmensions

Any ideia?

thanks and sorry if exists other topic, i didn't find any.

joseAndresGomezTovar
Blank Cone
Blank Cone
Posts: 30
Joined: 07 Nov 2012 11:21
VLC version: 2.1.2
Operating System: Windows 7
Location: Madrid - Spain

Re: Help with video dimension

Postby joseAndresGomezTovar » 21 Jan 2013 18:28

Hi,

I use

libvlc_video_set_scale( pMediaPlayer_, m_fScale );

/*
libvlc_media_player_t* pMediaPlayer_; ///< The VLC media player object.
float m_fScale;
*/


char psz_aspect[64] = "4:3";
libvlc_video_set_aspect_ratio( pMediaPlayer_,
psz_aspect );
/*
others 16:9, 4:3, 1:1 etc...
*/

and it works well


What do you need?

PS: libvlc v2.0.3 - windows 7 - c++


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 7 guests