Its my first post here, so please be kind to me

I'm trying to come up with a commandline which is as simple as possible. I don't want to get into setting every single parameter there is.

I have a problem with forcing VLC to encode a mpeg2 file with VBR. What I've tried with is this.
Code: Select all
cvlc "input_movie" --sout '#transcode{vcodec=mpgv,vb=2000,acodec=a52,ab=128,channels=2,width=720,height=576}:duplicate{dst=std{access=file,mux=ts,dst=/test.mpg}}' vlc://quit
Code: Select all
cvlc "input_movie" --sout '#transcode{vcodec=mpgv,vb=2000,acodec=a52,ab=128,channels=2,width=720,height=576,venc=ffmpeg{qscale=10}}:duplicate{dst=std{access=file,mux=ts,dst=/test.mpg}}' vlc://quit
I've also got problem with the video that VLC outputs. The first 2-3secs of the movie are grey (green in some cases). If I convert the same movie with ffmpeg or mencoder its all fine and the picture is fine from the start.
Regards
Johan