Aspect ratio not maintained for AVC Encoded streams

*nix specific usage questions
msvittal
Blank Cone
Blank Cone
Posts: 15
Joined: 08 Oct 2009 21:42

Aspect ratio not maintained for AVC Encoded streams

Postby msvittal » 18 Dec 2009 22:39

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

msvittal
Blank Cone
Blank Cone
Posts: 15
Joined: 08 Oct 2009 21:42

Re: Aspect ratio not maintained for AVC Encoded streams

Postby msvittal » 21 Dec 2009 15:10

**** 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.
"

ILEoo
Developer
Developer
Posts: 91
Joined: 05 Nov 2008 16:29

Re: Aspect ratio not maintained for AVC Encoded streams

Postby ILEoo » 27 Dec 2009 18:13

This should be fixed in upcoming 1.1 nightly-builds (trunk-versions on nightlies.videolan.org)

msvittal
Blank Cone
Blank Cone
Posts: 15
Joined: 08 Oct 2009 21:42

Re: Aspect ratio not maintained for AVC Encoded streams

Postby msvittal » 30 Dec 2009 16:10

Thanks a lot for information. Is there any time frame when can I expect the 1.1 build ?

Thanks
Vittal

ILEoo
Developer
Developer
Posts: 91
Joined: 05 Nov 2008 16:29

Re: Aspect ratio not maintained for AVC Encoded streams

Postby ILEoo » 31 Dec 2009 13:16

http://nightlies.videolan.org has daily updated binary builds, but they aren't official releases

msvittal
Blank Cone
Blank Cone
Posts: 15
Joined: 08 Oct 2009 21:42

Re: Aspect ratio not maintained for AVC Encoded streams

Postby msvittal » 17 Jan 2010 20:43

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


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests