vlc H.264 transcode framerate problem
Posted: 16 Aug 2010 01:35
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
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