Keeping the same aspect ratio when streaming?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
nereikianieko
Blank Cone
Blank Cone
Posts: 27
Joined: 24 May 2008 17:51

Keeping the same aspect ratio when streaming?

Postby nereikianieko » 05 Oct 2009 18:58

I'm trying to stream from DVB-T
If I try to stream the default output aspect ratio is 21:9, but I need the same as the source - 4:3.

The sout options are:

Code: Select all

:sout=#transcode{venc=x264{keyint=20},vcodec=x264,vb=700,scale=0.5,width=320}:duplicate{dst=std{access=http,mux=ts,dst=:1234}}
In debug I see:

Code: Select all

main debug: window size: 654x240
But its wrong as I gave 320 pixel widh

The only option is manually change the aspect ratio on player receiving stream.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Keeping the same aspect ratio when streaming?

Postby VLC_help » 06 Oct 2009 13:40

scale and width won't work at same time.

nereikianieko
Blank Cone
Blank Cone
Posts: 27
Joined: 24 May 2008 17:51

Re: Keeping the same aspect ratio when streaming?

Postby nereikianieko » 29 Oct 2009 14:54

This is a bug of VLC. It just not able to keep correct aspect ratio transcoding using ts muxer and x264 codec (usualy from h264 source).
The same we will get with :sout=#transcode{venc=x264{keyint=20},vcodec=x264,vb=700,width=320,height=240}:duplicate{dst=std{access=http,mux=ts,dst=:1234}}

This is already mentioned dozens of times:
viewtopic.php?f=4&t=49811
viewtopic.php?f=4&t=62541
viewtopic.php?f=4&t=61346


Last bumped by nereikianieko on 29 Oct 2009 14:54.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 60 guests