Live feed transcoding >25fps

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
dsockt
Blank Cone
Blank Cone
Posts: 13
Joined: 24 Nov 2003 00:02
Location: USA

Live feed transcoding >25fps

Postby dsockt » 24 Nov 2003 00:21

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)

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 17 guests