stream can't get correct aspect ratio.

About encoding, codec settings, muxers and filter usage
zoro5722
New Cone
New Cone
Posts: 5
Joined: 03 Jul 2008 10:31

stream can't get correct aspect ratio.

Postby zoro5722 » 21 Jul 2009 13:10

I get a m4v file with 16:9 aspect ratio. VLC can play the file correctly. Simply use:

Code: Select all

vlc h:\1.m4v
But when I try to stream it. Thing goes wrong way. The local play screen looks a just square. And the remote client (Media Player) say the mms stream has 320x180 resolution and 1:1 aspect ratio. The command line is:

Code: Select all

vlc H:\1.m4v :sout=#transcode{vcodec=DIV3,vb=800,scale=1,acodec=mp3,ab=128,channels=2}:duplicate{dst=display,dst=std{access=mmsh,mux=asf,dst=:1234}}
I tried a lot of parameters. But all failed to get correct aspect ratio. For example:

Code: Select all

vlc H:\1.m4v :sout=#transcode{width=320,height=180,vcodec=DIV3,vb=800,scale=1,acodec=mp3,ab=128,channels=2}:duplicate{dst=display,dst=std{access=mmsh,mux=asf,dst=:1234}} vlc H:\1.m4v :sout=#transcode{vcodec=DIV3,vb=800,scale=1,acodec=mp3,ab=128,channels=2}:duplicate{dst=display,dst=std{access=mmsh,mux=asf,dst=:1234}} :sout-transcode-canvas-width=320 :sout-transcode-canvas-height=180 :sout-transcode-canvas-aspect=16:9 or even vlc H:\1.m4v :sout=#transcode{vcodec=DIV3,vb=800,scale=1,acodec=mp3,ab=128,channels=2}:duplicate{dst=display}
How can I get correct aspect ratio? And suggestion will be highly appreciated.

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

Re: stream can't get correct aspect ratio.

Postby nereikianieko » 05 Oct 2009 23:38

bump. I have the same problem, but haven't seen any answer. Maybe this is VLC bug?


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 29 guests

cron