Page 1 of 1

Aspect ratio not maintained for AVC Encoded streams

Posted: 18 Dec 2009 22:39
by msvittal
Hi All,

VLC Version: 0.9 Greshinko
OS : Fedora 10

I have a Astria encoder that takes MPEG2 / MPEG4 input and transcodes it to AVC (H264). I have my VLC to listen to the multicast stream sent out by the encoder and trying to down scale the bitrate, height and width.

The problem I am facing is the VLC generated output is not of 4:3 aspect ratio even though I mention that in the VLC command line. I am observing it to be 16:9 or a stretched video.

This is the command line I am using,

Code: Select all

"cvlc -vvv udp://@239.250.60.107:60107 --sout "#transcode{vcodec=h264,vb=250,acodec=null,ab=0,width=192,height=192}:duplicate{dst=std{access=udp,mux=ts,dst=239.250.250.2:8208}}" --no-audio --ttl 5 --aspect-ratio=4:3"

Can someone help in fixing my problem.

Thanks
Vittal

Re: Aspect ratio not maintained for AVC Encoded streams

Posted: 21 Dec 2009 15:10
by msvittal
**** Help please ****

Thanks
Vittal

"
Hi All,

VLC Version: 0.9 Greshinko
OS : Fedora 10

I have a Astria encoder that takes MPEG2 / MPEG4 input and transcodes it to AVC (H264). I have my VLC to listen to the multicast stream sent out by the encoder and trying to down scale the bitrate, height and width.

The problem I am facing is the VLC generated output is not of 4:3 aspect ratio even though I mention that in the VLC command line. I am observing it to be 16:9 or a stretched video.

This is the command line I am using,


Code: Select all
"cvlc -vvv udp://@239.250.60.107:60107 --sout "#transcode{vcodec=h264,vb=250,acodec=null,ab=0,width=192,height=192}:duplicate{dst=std{access=udp,mux=ts,dst=239.250.250.2:8208}}" --no-audio --ttl 5 --aspect-ratio=4:3"


Can someone help in fixing my problem.
"

Re: Aspect ratio not maintained for AVC Encoded streams

Posted: 27 Dec 2009 18:13
by ILEoo
This should be fixed in upcoming 1.1 nightly-builds (trunk-versions on nightlies.videolan.org)

Re: Aspect ratio not maintained for AVC Encoded streams

Posted: 30 Dec 2009 16:10
by msvittal
Thanks a lot for information. Is there any time frame when can I expect the 1.1 build ?

Thanks
Vittal

Re: Aspect ratio not maintained for AVC Encoded streams

Posted: 31 Dec 2009 13:16
by ILEoo
http://nightlies.videolan.org has daily updated binary builds, but they aren't official releases

Re: Aspect ratio not maintained for AVC Encoded streams

Posted: 17 Jan 2010 20:43
by msvittal
Hi ILEoo,

Thanks !! I have tested with VLC 1.1 nightly build (on windows 2003), and seems the aspect ratio issue is fixed.

But one more issue I am observing : Command line I have used --

vlc udp://@239.250.60.104:8208 :sout="#transcode{vcodec=h264,vb=250,acodec=null,ab=0,scale=0.25,fps=25}:duplicate{dst=std{access=udp,dst=239.250.6.104:8208,mux=ts}} --ttl 10;"

When I try to transcode h264 udp stream to a scaled down version of h264, VLC is getting crashed randomly.
Also I have observed in taskmanager, VLC process is occupying more than 1 Gig of RAM. Could be a memory leak.

How can I report a bug ? Please let me know.

Thanks
Vittal