Page 1 of 1

scale/height/width doesn't work

Posted: 14 Mar 2007 13:36
by ju^ju
Hi!

I tried to transcode a video stream and resize it, but it does not work, the resolution stays the same
I used:

Code: Select all

'#transcode{vcodec=mp4v,vb=128,height=600,width=800}'
or

Code: Select all

'#transcode{vcodec=mp4v,vb=128,scale=2}'
but none of these seem to work... what am I doing wrong?

Posted: 14 Mar 2007 13:46
by drudolf
which version of videolan do you use actually?

when i compiled 0.9.0 from source i had the same problem because of swscaler enabled in ffmpeg. i think the problem is related to the bug ticket #1043.

i could get width and height working using ffmpeg without swscaler, i think the needed filters right now are missing in vlc for the swscaler.

Posted: 14 Mar 2007 13:51
by ju^ju
I'm using 0.9.0 ;) How do I disable swscaler (and what is it?)

Posted: 14 Mar 2007 16:46
by drudolf
compile ffmpeg from source without the option "--enable-swscaler"

my config options:

Code: Select all

./configure --enable-gpl --enable-pp --enable-pthreads --enable-libmp3lame --enable-libfaac
for the newest ffmpeg from svn and for vlc:

Code: Select all

./configure --prefix=/usr --with-ffmpeg-tree=/path/to/new/ffmpeg [--enable-other-options] ...
add the options u need, change "--with-ffmpeg-tree=/path/to/new/ffmpeg" to ur ffmpeg build and u should be able to resize transcoding video, i hope so :D

Posted: 14 Mar 2007 17:49
by ju^ju
Thanks, but I'm using 0.8.6a now and everything works fine ;)