On Fri, Jun 12, 2015 at 11:56:04 -0400, En Figureo Canal wrote: > This is the command I'm using to send the stream to nginx: > > ffmpeg -re -i video.mp4 -vcodec libx264 -crf 23 -preset medium -pix_fmt > yuv420p -f flv rtmp://ip/live/test
(BTW, "-crf 23 -preset" is default for libx264. Not that it matters.) If you showed us the complete, uncut output, we could see what the specs of your streams are and whether something is wrong. This way, without more info, we don't even know which resolution your material has. > Can someone please let me know why such a high cpu consumption Show us the output, please. > or if there is another way of doing such stream with less stress on > cpu. Yes, you can leverage conversion speed (CPU) vs. video size (stream bandwidth) vs. quality. You could: - reduce quality (e.g. "-crf 25") and/or resolution - use a different preset (e.g. "-preset fast") and experiment with both. You could even copy the input stream, if its specs are sufficient. That reduces CPU significantly. Cheers, Moritz _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
