Page 1 of 1

Live feed transcoding >25fps

Posted: 24 Nov 2003 00:21
by dsockt
Hello,

I have been using VLC to do live broadcast (TV) streaming on my LAN... The host system is a linbox using v4l1 using the following command:

vlc v4l:/dev/video0:channel=1:norm=ntsc:size=352x240:fps=30:adev=/dev/dsp --sout '#transcode{vcodec=mpgv,acodec=mpga,vb=1150,ab=224,samplerate=44100:channels=2}:std{access=udp,mux=ts,url=192.168.0.64}'

It streams fine except for the fact that it is encoding @ 25fps instead of the input value of 30fps... Examining the code, i noticed a line in transcode.c about the framerate being fixed at 25 with a /* FIX ME */ comment.

I've hacked the code and replaced it with 30 but that led to a garbled picture. Why fixed at 25?

(I am using VLC from 11-14-2003 CVS btw)