Transcode - Aspect Ratio
Posted: 30 Mar 2010 12:35
It's been asked many times before but I could not find any answer. I need to capture a stream of 720x576 4:3, resize it to 1024x576 16:9 and save it to a file.
When using the following cmd line (VLC Win 1.0.5) the saved file is 1024x576 with a DAR of 16:9 but the image is cropped or has black bars added, depending on adding --no-canvas-padd or --canvas-padd
The following shows a correct preview onscreen but the saved file is 1024x576 with a DAR of 4:3 instead of 16:9
How do I get a saved file in 1024x576 with a DAR of 16:9 and no cropping or black bars? It seems like I have tried every combination of relevant settings but nothing works.
When using the following cmd line (VLC Win 1.0.5) the saved file is 1024x576 with a DAR of 16:9 but the image is cropped or has black bars added, depending on adding --no-canvas-padd or --canvas-padd
Code: Select all
vlc --aspect-ratio=16:9 dshow:// :sout=#transcode{vcodec=theo,vb=800,acodec=vorb,ab=128,channels=2,samplerate=44100,vfilter=canvas{width=1024,height=576,aspect=16:9}}:duplicate{dst=std{access=file,mux=ogg,dst=C:\test.ogg},dst=display}
Code: Select all
vlc" --aspect-ratio=16:9 dshow:// :sout=#transcode{vcodec=theo,vb=800,acodec=vorb,ab=128,channels=2,samplerate=44100,width=1024,height=576}:duplicate{dst=std{access=file,mux=ogg,dst=C:\test.ogg},dst=display}