[VLC 2.0.3]

Petar Koretić <[email protected]>
Newsgroups gmane.comp.video.videolan.vlc.general
Message-ID <CAOWmdGNV2c64A6x0v6cdjxP3VpVwH=9u0JSHd+ZXPWgZr=9w8A@mail.gmail.com>
This is ffmpeg line ( I have removed other parameters as it would be too
long) which works, it sets aspect ratio to what I want (checked with
mediainfo, and seen on the system)

ffmpeg -i $1 -vcodec mpeg2video -aspect "16:9" -vf scale=$width:$height -an
-f mpegts udp://@$2

for vlc I use this

vlc -I dummy -vvv $1 --sout
"#transcode{vcodec=mpeg2v,width=$width,height=$height,acodec=none}

Here I tried putting aspect ratio settings on four different places with
different names as found over the internet and vlc wiki (aspect,
canvas-aspect, canvas-ratio,aspect-ratio) but I just cannot get it to work.

In vlc help I can see
--aspect-ratio <string> Source aspect ratio

but setting that (--aspect-ratio="16:9") haven't changed output aspect
ratio.

I wan't to have it over vlc since cpu usage with 20 channels transcoded and
streamed over the network in realtime is 20% difference on the server.

Thanks in advance.

______________________________________________________
vlc mailing list
To unsubscribe or modify your subscription options:
http://mailman.videolan.org/listinfo/vlc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.