Dynamically Change the resolution of playing video using VLC

This forum is about all development around libVLC.
aneeshsebastian
Blank Cone
Blank Cone
Posts: 18
Joined: 16 May 2011 08:03

Dynamically Change the resolution of playing video using VLC

Postby aneeshsebastian » 22 Mar 2013 14:49

String mrl= "rtsp://"XX.XX.XX.XX"/axis-media/media.amp?videocodec=h264&resolution=720x480";

I play the video using mediaPlayer.playMedia(mrl); It works great. But now I want to dynamically change the resolution of playing video. Example , while playing I have the requirement to change the resolution to 720X560 or something like that.Does it possible?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Dynamically Change the resolution of playing video using

Postby Jean-Baptiste Kempf » 22 Mar 2013 19:49

Not with a MRL.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

aneeshsebastian
Blank Cone
Blank Cone
Posts: 18
Joined: 16 May 2011 08:03

Re: Dynamically Change the resolution of playing video using

Postby aneeshsebastian » 24 Mar 2013 10:10

Could you please let me know the way in which it's possible? I want to change the resolution of a playing video from my JAVA client.I embedded the media player into Swing Panel. Users can change the resolution dynamically by choosing resolution menu items.This should reflect in the playing video. Please share with me an example if you have.Appreciate your spontaneous reply.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Dynamically Change the resolution of playing video using

Postby Jean-Baptiste Kempf » 24 Mar 2013 23:24

Resize the window surface programatically
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

aneeshsebastian
Blank Cone
Blank Cone
Posts: 18
Joined: 16 May 2011 08:03

Re: Dynamically Change the resolution of playing video using

Postby aneeshsebastian » 25 Mar 2013 06:26

Thanks Jean.

I have another question. How does it possible to open an URL - rtsp://"XX.XX.XX.XX"/axis-media/media.amp?videocodec=h264&resolution=720x480 in standard browsers like IE? Is there any plugin for it?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Dynamically Change the resolution of playing video using

Postby Jean-Baptiste Kempf » 25 Mar 2013 13:41

the VLC webplugin.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 15 guests