help!! how can I improve the transcode frame rate?

About encoding, codec settings, muxers and filter usage
yuer1108
Cone that earned his stripes
Cone that earned his stripes
Posts: 103
Joined: 07 Jan 2009 05:12

help!! how can I improve the transcode frame rate?

Postby yuer1108 » 09 Feb 2009 13:59

after Sout-transcode I get the low frame rate (10~16 fps). the original fps is 25 fps or 29.97 fps. the commend is:
vlc.exe --sout-x264-quiet --deinterlace-mode blend
--sout-deinterlace blend --extraintf telnet --telnet-port 4121 --
telnet-password 123456 --vlm-conf 1.vlm

the 1.vlm is:
setup channel1 input....
....
setup channel1 output #transcode{vcodec=h264,vb=1024,scale=1,acodec=mpga,a
b=96,channels=2}:duplicate{dst=display,dst=std{access=udp,mux=ts,dst=224.1
.1.1:1234}}
control channel1 play
Last edited by yuer1108 on 09 Feb 2009 15:00, edited 1 time in total.

yuer1108
Cone that earned his stripes
Cone that earned his stripes
Posts: 103
Joined: 07 Jan 2009 05:12

Re: help!! how can I improve the transcode frame rate?

Postby yuer1108 » 09 Feb 2009 14:16

the CPU rate is only 30%
I try to use Mp2V transcode. it is OK.
and I try to use read file then transcode to Sout with 264. it is OK Too!
Last edited by yuer1108 on 11 Feb 2009 16:42, edited 1 time in total.

yuer1108
Cone that earned his stripes
Cone that earned his stripes
Posts: 103
Joined: 07 Jan 2009 05:12

Re: help!! how can I improve the transcode frame rate?

Postby yuer1108 » 09 Feb 2009 18:29

already solved. I add two options:
Sout-transcode-high-priority and Sout-transcode-threads=2 or 3 or more.
the CPU rate reach 50%
4 cores 2.4G Hz Intel Q6600

songoo
Blank Cone
Blank Cone
Posts: 18
Joined: 17 Jan 2009 03:41

Re: help!! how can I improve the transcode frame rate?

Postby songoo » 10 Feb 2009 03:21

mux mp4 and you dont need to transcode

yuer1108
Cone that earned his stripes
Cone that earned his stripes
Posts: 103
Joined: 07 Jan 2009 05:12

Re: help!! how can I improve the transcode frame rate?

Postby yuer1108 » 11 Feb 2009 16:40

I have to use TS MUX and H264 transcode due to my application need.
CPU Rate have reached to 80%
BTW, for threads upto 2,3 or more. Are there any unstable issues?

songoo
Blank Cone
Blank Cone
Posts: 18
Joined: 17 Jan 2009 03:41

Re: help!! how can I improve the transcode frame rate?

Postby songoo » 11 Feb 2009 16:53

with mux i meaned to make mp4 from your source video before streaming it, not vlm settings .

cable007
Blank Cone
Blank Cone
Posts: 24
Joined: 25 Mar 2008 09:43

Re: help!! how can I improve the transcode frame rate?

Postby cable007 » 12 Feb 2009 09:11

hello

what's your source and in what size/resolution ?

I made the same thing and cpu is also out, but h264 eats ressources that's known, I need to change my server too
from my side I get video from capture card in 720x576 and I use mosaic to solve problem if source has a problem, I diaplay an image instead of.

regards

Niko

yuer1108
Cone that earned his stripes
Cone that earned his stripes
Posts: 103
Joined: 07 Jan 2009 05:12

Re: help!! how can I improve the transcode frame rate?

Postby yuer1108 » 12 Feb 2009 17:17

my source is Capture card. the Size is 720X576 (P) or 704X480 (N) (base on I send P or N signal in Capture card(actually I use DM500 to send signal to Capture card). then use VLC to read DirectShow and Transcode to H264 then send out with TS mux.
the Threads > 1 will make CPU too busy. For this parameter, is there any bad result?
I think even "encoder side" reach 80% CPU, it should not make the player trouble, is it right?

yuer1108
Cone that earned his stripes
Cone that earned his stripes
Posts: 103
Joined: 07 Jan 2009 05:12

Re: help!! how can I improve the transcode frame rate?

Postby yuer1108 » 12 Feb 2009 17:25

different channel in DM500 have different Size.
720x576,704x576 are P signal
720x480,704x480,544x480 are N signal
the Capture card support both P and N signal

cable007
Blank Cone
Blank Cone
Posts: 24
Joined: 25 Mar 2008 09:43

Re: help!! how can I improve the transcode frame rate?

Postby cable007 » 26 Aug 2009 08:42

hello

did you find a solution about this high cpu usage and fps ?

Niko

yuer1108
Cone that earned his stripes
Cone that earned his stripes
Posts: 103
Joined: 07 Jan 2009 05:12

Re: help!! how can I improve the transcode frame rate?

Postby yuer1108 » 24 Nov 2009 07:21

threads=3 .


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 6 guests