Adding letterbox to stream
Posted: 18 May 2014 08:00
Hello, is here a way to convert 720x576 16:9 (or some other AR) video to 720x576 4:3? The device I want to use for playback always stretches the video and I want to watch it on a 4:3 TV.
I have tried this:
2.1.3 tried to resize the video to 46x0 and crashed because that is an invalid size
0.8.6i does not change the aspect ratio or resolution (tried different resolutions) - it does change the bitrate though.
this:
changes the encoded aspect ratio, bot does not add the black bars.
this :
2.1.3 resizes the video to 768x576 (tried that to see if it does anything), keeps the encoded and actual aspect ratio (no black bars).
Is there a way to add the black bars to widescreen video?
I have tried this:
Code: Select all
vlc -I dummy -vvv test.m2ts --sout=#transcode{vcodec=mpgv,vb=8192,vfilter=canvas{width=720,height=576,aspect=4:3}}:standard{access=file,mux="ts",dst="result.mpg"}
0.8.6i does not change the aspect ratio or resolution (tried different resolutions) - it does change the bitrate though.
this:
Code: Select all
vlc -I dummy -vvv test.m2ts --sout=#transcode{vcodec=mpgv,vb=8192,vfilter=canvas{aspect=4:3}}:standard{access=file,mux="ts",dst="result.mpg"}
this :
Code: Select all
vlc -I dummy -vvv test.m2ts --sout=#transcode{vcodec=mpgv,vb=8192,width=768,height=576,aspect=4:3}:standard{access=file,mux="ts",dst="result.mpg"}
Is there a way to add the black bars to widescreen video?