Is there a way to stretch to a specified width/height

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
rick_f

Is there a way to stretch to a specified width/height

Postby rick_f » 01 Mar 2005 19:30

I have a 16:9 tv, my wife does not like the "black" bars on the side of the screen so watchs tv using the stretch mode. I know this screws up the aspect ratio and stretches everything out. But she seems to enjoy it.

Now I use VLC in fullscreen mode and watch primarily 4:3 encoded mpgs (From a PVR). I would like a similar feature to stretch the movie to fill the screen.

I have tried forcing the aspect ratio to 16:9 but this will fit the image to the right and left sides but introduce black bars on the top and bottom and actually really squish the movie.

So what other settings can I try?

Thanks,

Rick

rick_f

Transcoding an option?

Postby rick_f » 03 Mar 2005 22:12

Bump.. I have seen a potential way to do something like this but I can not get it to work..

Can I potentially use transcoding to resize the mpeg stream on the fly to a new width/height and display the new sized image?

Then if that is possible, how? And can I still use the skip forward features while watching the transcoding?

Thank you.

Rick

markfm
Big Cone-huna
Big Cone-huna
Posts: 1536
Joined: 22 Feb 2004 17:42

Postby markfm » 03 Mar 2005 22:16

I think you could, for example, size the output plus apply a crop filter, which will cut the final output to the crop size.

Not positive, but worth a try...

rick_f

Postby rick_f » 04 Mar 2005 22:06

I do not need to apply and crop filters since the video itself does not have any black bars.

Can someone please provide me a sample of transcoding the resizes and sends the transcoding to the display. I can not seem to get this to work..

Granted I am a newbie at setting up VLC but here is my attempt..

Code: Select all

vlc -vvv input_stream --sout '#transcode{width=720,height=480}'

Does not seem to work or do anything.. What am I missing?

Rick

rick_f
New Cone
New Cone
Posts: 4
Joined: 05 Mar 2005 02:48

Postby rick_f » 07 Mar 2005 18:25

So no help with the actual command to transcode to a specified size and display the results? I am still having no luck getting this to work.

Anyone??

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 07 Mar 2005 22:01

i think you need to specify the transcode video codec and bitrate, else it won't apply your settings. Try #transcode{vcodec=mp2v,vb=4096,height=12,width=42} . The problem is that it will take quite a lot of cpu (but it's streamable).

Another solution is to use the --height and --width vlc options. (these should be available somewhere in the prefs)

rick_f
New Cone
New Cone
Posts: 4
Joined: 05 Mar 2005 02:48

Postby rick_f » 08 Mar 2005 14:35

Ok, the transcode solution did not seem to work as it would not change it's aspect ratio for me. But I did finally come up with a workable solution.

If I set aspect=1.0 and then turn on fullscreen the video will properly fill the entire screen. Granted some vidoes may be stretched depending on their original aspecty ratio but this is what I was looking for.

Thanks for the suggestions.

Rick


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 29 guests