LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-26-2012, 12:37 PM   #1
veeruk101
Member
 
Registered: Mar 2005
Distribution: Ubuntu 12.04 LTS
Posts: 249

Rep: Reputation: 16
Configure VLC video dimensions


How can I set the VLC video dimensions to be used by default? In the program preferences there's no way to set the dimensions, and doing a search for 'width' and 'height' in
Code:
~/.config/vlc/vlcrc
has many matches. Which of those options could I change to be the default video dimensions in pixels?
 
Old 03-26-2012, 01:01 PM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by veeruk101 View Post
How can I set the VLC video dimensions to be used by default?
why do you think thist might make sense?

Quote:
Originally Posted by veeruk101 View Post
In the program preferences there's no way to set the dimensions, and doing a search for 'width' and 'height' in
Code:
~/.config/vlc/vlcrc
has many matches. Which of those options could I change to be the default video dimensions in pixels?
A digital video has its own intrinsic size, like a bitmapped image. It has a given resolution, and usually a scaling factor that allows for an aspect ratio that differs from the physical resolution. As an example: DVD video is usually encoded in 720x576 (PAL), which is approximately 4:3. If the video is actually supposed to be widescreen, there's a correction factor that tells the playback device or software to stretch the width accordingly.

But still, the playback size is a given thing and depends on parameters from within the video itself - what's the point in presetting it to a fixed size? - Except you want to display the video fullscreen, which does make sense for a TV. However, TV units usually scale the video automatically to best fit the screen, while preserving the aspect ratio.

[X] Doc CPU
 
Old 05-20-2012, 03:27 AM   #3
veeruk101
Member
 
Registered: Mar 2005
Distribution: Ubuntu 12.04 LTS
Posts: 249

Original Poster
Rep: Reputation: 16
I see what you mean about each video having it's own dimensions. You're right that I'm mainly looking to view it in fullscreen mode, and that having it set to a smaller size is because I've set it to be 'Always on Top' so that I can do other things while the video is playing in small mode before I make it fullscreen.

I guess what would be useful might be something where I could set a maximum for just one of the 2 dimensions, width or height, and it would enforce that maximum and let the other dimension get set to whatever the aspect ratio requires it to be set to. That way I'd get the benefit of the having things show up by default in a smaller mode, without stretching the video out of proportion.

Is what I'm saying sensible or just crazy talk, I'm not actually sure But would you happen to know a way I could accomplish something like this, if so that would be great. Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
If video is loaded in web browser I cannot hear video in VLC or other video player... linustalman Linux - Software 0 12-17-2011 09:48 AM
how to configure Pidgin and VLC in linux praveenks Linux - Newbie 6 10-29-2010 06:26 PM
VLC -- No video Zolex Debian 5 02-16-2010 10:29 PM
strange video size/dimensions (xine, mplayer, etc) SebKG Linux - Software 3 03-26-2006 04:27 AM
need video dimensions shanenin Programming 6 11-21-2005 06:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration