That is above 80 FPS. Following command is executed at 39 FPS: ffmpeg -threads 1 -i %out -f null -s vga -aspect 16:9 - This one is 42 FPS: ffmpeg -threads 1 -i %out -f null -r 25 - However when I combine the two it is only 19 FPS: ffmpeg -threads 1 -i %out -f null -r 25 -s vga -aspect 16:9 - Is it possible to run multiple ffmpeg instances in cascade (redirecting the output of one into the input of the next one)? I suppose each instance would naturally be running on a different CPU core. One could decode the input stream and convert to 25 fps (1), a second one could resize the stream (2), and a third one could encode the final mpeg stream. Or is there a mencoder alternative that automagically achieve this? Best regards, Marton ________________________________ From: Carl Eugen Hoyos <cehoyos@ag.or.at> To: mencoder-users@mplayerhq.hu Sent: Tuesday, February 14, 2012 1:26 AM Subject: Re: [MEncoder-users] How to transcode MTS files recorded by Panasonic HDC-SD100 camera? Marton Sigmond <marton_sigmond <at> yahoo.com> writes:
Thanks for the tips, now I am at 18 FPS with the following command: ffmpeg -y -threads 16 -i %in -f mpegts -r 25 -vcodec mpeg2video -s vga -aspect 16:9 -maxrate 1800k -b 1500k -bufsize 4096k -mbd 0 -acodec libmp3lame -ar 48000 -ab 128k -ac 2 %out
Getting closer. :)
How fast is ffmpeg -threads n -i file -f null - ? If that isn't fast enough you have to add skiploopfilter all (I don't know the exact ffmpeg command), the next step would be skipframe nonref (which skips all B-frames). Carl Eugen _______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users