Page 1 of 1

VLC transcode ignores vb (video bitrate) settings

Posted: 18 Nov 2007 10:32
by jonasgk
Hi,
I'm using these commands to receive a mpeg2-ts from dvb-s and to encode it to the flv-format. But instead of streaming
out with 300 kbit/s as configured in my transcode parameters it streams with the orignal quality of the mpeg2-ts stream, what are about 1,5Mbit/s. It's really strange, because it already worked before. I just got the latest SVN Version of VLC and ffmpeg and since that time it doesn't work anymore. I read in the Forum, another person had the same problem, but with encoding to mpeg4, but it wasn't posted any solution until now. Is there a possiblity to solve the problem?

(the values for frequency and program-number are examples, they obviously don't work)

vlc -vvv -Idummy dvb:// --dvb-voltage 18 --dvb-adapter 1 --dvb-fec 5 --dvb-frequency 123456789 --dvb-srate 22000000 --program 12345 --sout #std{access=http,mux=ts,dst=127.0.0.1:9070}

vlc -vvv -Idummy http://127.0.0.1:9070 --sout-mux-caching 10000 --sout #transcode{vcodec=FLV1,vb=300,acodec=mp3,ab=96k,samplerate=44100,width=384,height=288}:std{access=http,mux=ffmpeg{flv},dst=127.0.0.1:9080/stream.flv}

PS: I use two vlc, because if I directly transcode to the Flash Format the video is bucking.

Re: VLC transcode ignores vb (video bitrate) settings

Posted: 19 Nov 2007 15:04
by jonasgk
is it possible, that the gcc compiler option "-fPIC" causes this strange behavior?
Since i migrated from 32bit to 64bit architecture and therefore have to compile vlc with -fPIC it ignores the bitrate settings.
On 32bit systems everythings fine.
It could be ffmpeg's fault too. I don't know enough about programming, to proove my assumptions, but perhaps someone else does.

----------------------------------------
EDIT: The arcitecture seems not to be the problem, now the same occurs on 32bit. I'm trying with older version of vlc and ffmpeg now

Re: VLC transcode ignores vb (video bitrate) settings

Posted: 19 Nov 2007 18:10
by funman
what if you transcode with standalone ffmpeg ?

Re: VLC transcode ignores vb (video bitrate) settings

Posted: 20 Nov 2007 09:25
by jonasgk
standalone ffmpeg works without problems

Re: VLC transcode ignores vb (video bitrate) settings

Posted: 22 Nov 2007 13:17
by jonasgk
I used some older sources, now it works