Page 1 of 1

vlc H.264 transcode framerate problem

Posted: 16 Aug 2010 01:35
by crajc0
Hi All,
I have encountered a problem on setting transcode output framerate. The version of vlc that I am running is 1.0.2.
My input video is from a vl4 capture card. I use vlc to transcode the input raw video to h.264 and output video as rtp stream. Below is the command line that I am using:

Vlc v4l:// :v4l-vdev=”dev/video” :v4l-norm=1 :v4l-width=320 :v4l-height=240 :sout=”#transcode{venc=x264{profile=baseline,level=1},width=320,height=240,fps=5,acodec=none,vb=1000}:rtp{dst=192.168.1.1,prot=1234,sdp=file://test.sdp}”

However, the framerate shown from the client is always double the number I set, in the above case, 10 fps. Moreover, the actually received frames are 30 fps as I can see from a network monitoring tool.
Could anyone here point out what I am doing wrong when setting the transcode framerate? Any suggestions are appreciated.
Thanks ahead,
JC

Re: vlc H.264 transcode framerate problem

Posted: 19 Aug 2010 00:08
by r_ruivo
Hello,
I have the same problem.:s
Have you found any solution?
Thanks.

Re: vlc H.264 transcode framerate problem

Posted: 19 Aug 2010 00:25
by Michele
Maybe you will solve the problem just updating your Vlc version. 1.0.2 is quite old.

Re: vlc H.264 transcode framerate problem

Posted: 19 Aug 2010 00:35
by r_ruivo
Hello,
but the problem is that i use fedora 10 and cannot update the system. :s

Best regards.

Re: vlc H.264 transcode framerate problem

Posted: 19 Aug 2010 14:59
by Michele
Is there no way to update it on fedora (I'm sorry, but I'm an Ubuntu user)?
Otherwise you should try to build it by yourself if you know how to do it.

Re: vlc H.264 transcode framerate problem

Posted: 24 Aug 2010 22:49
by crajc0
I know from Fedora, you can update it to 1.0.6.

Re: vlc H.264 transcode framerate problem

Posted: 24 Aug 2010 22:50
by crajc0
have anyone tried it in an later version for this problem?

Re: vlc H.264 transcode framerate problem

Posted: 24 Aug 2010 23:40
by r_ruivo
Hello,
I have been trying to compile version 1.1.3 on Fedora 10, but so far had no success.
I've tried the version 0.99, 1.0.1 and 1.0.3 on Windows and fps setting works correctly.

I'm running out of options :s

Re: vlc H.264 transcode framerate problem

Posted: 14 Dec 2010 12:04
by devlaam
I have the same problem with version 1.1.5. (compiled on Gentoo). Although only the number is doubled, the actual produced framerate of the stream seems correct.