[FFmpeg-user] tcp/udp output bandwidth

Denys Khanzhyiev xdenser at gmail.com
Wed Jun 18 21:56:08 CEST 2014


Given following command

ffmpeg.exe -i v720p60hz.mkv -f image2pipe -pix_fmt bgr32 -vcodec rawvideo -
-f s16le -acodec pcm_f32le -ar 48000 -ac 1 - > nul

I get about 205 fps reported at stderr

but with

ffmpeg.exe -i v720p60hz.mkv -f image2pipe -pix_fmt bgr32 -vcodec rawvideo
udp://127.0.0.1:35898 -f s16le -acodec pcm_f32le -ar 48000 -ac 1 udp://
127.0.0.1:35899

I get only
35 fps

and with

ffmpeg.exe -i v720p60hz.mkv -f image2pipe -pix_fmt bgr32 -vcodec rawvideo
tcp://127.0.0.1:35898 -f s16le -acodec pcm_f32le -ar 48000 -ac 1 tcp://
127.0.0.1:35899

and following NodeJS server

var
   net = require('net'),
   vport = 35898,
   aport= 35899;


videoSrv = net.createServer(function(c){
    c.on('data', function(){ });
});
audioSrv = net.createServer(function(c){
    c.on('data', function(){});
}.bind(this));
videoSrv.listen(vport);
audioSrv.listen(aport);

i.e. doing nothing with data

I get only 89fps.

When I process data I get 44 fps.(thought the receiving process is 70% time
idle)

this is Windows 7 x64
ffmpeg version N-60761-g916a792

Is there any chance to increase FPS?


May


More information about the ffmpeg-user mailing list