[vlc] x264 encoder error: width not divisible by 2

gonzague gonzagueddr at gmail.com
Tue May 8 07:58:38 CEST 2012


Hi.
This seams to be a general encoder requirement, width and height must be 
divisible by 2, and it looks it's better by 8...

On 04/05/2012 12:02, gonzague wrote:
> Hi, i've just compile x264 and vlc, and i have this error while 
> running ./vlc myFile.jpg -I dummy --image-duration=5.0 --sout 
> '#transcode{vcodec=h264,vb=8192,fps=25,acodec=mpga,ab=512,channels=2,samplerate=44100}:std{access=file,mux=mp4,dst=tst2.mp4}'
>
> [0x9c4ebf8] x264 encoder error: width not divisible by 2 (1217x1568)
> [0x9c4ebf8] x264 encoder error: cannot open x264 encoder
>
> The matter is that the source file is 1217x1568 , so i can not convert 
> to %2=0 both on width and heigth without changing the aspect ratio.
>
> Do someone have ever encounter this troubles ?
>
> Thanks
>
> ______________________________________________________
> vlc mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc
>



More information about the vlc mailing list