[FFmpeg-user] ffmpeg extremely high consumption

Henk D. Schoneveld belcampo at zonnet.nl
Sun Jun 14 10:39:07 CEST 2015


On 14 Jun 2015, at 02:49, En Figureo Canal <figureo56.com at gmail.com> wrote:

> On Sat, Jun 13, 2015 at 8:24 PM, Moritz Barsnick <barsnick at gmx.net> wrote:
> 
>> On Sat, Jun 13, 2015 at 19:17:51 -0400, En Figureo Canal wrote:
>>> Noticed that, after Henk's reply, if I use -vcodec copy then the output
>>> will "copy" the source video's attribute (-vb, size, etc...), but, if I
>>> really need to set the video rate (-vb) then I need to specify the codec
>>> needed to encode the new video.
>> 
>> No, it does not copy the attributes (those are very had to duplicate),
>> it copies the stream without reencoding. You wouldn't even need libx264
>> for that.
>> 
>> <http://ffmpeg.org/mailman/listinfo/ffmpeg-user>
>> 
> 
> I understand I don't need libx264 but, when I tried it like this:
> 
> ffmpeg -i video.mp4 -vcodec copy -vb 1024k -f flv rtmp://ip/live/test
-vcodec copy and -vb 1024k don’t go together.
Copy means unaltered source -> destination. Output equals input.
To get a lower bitrate there is no other solution then to reencode, stressing the cpu of course. 
> 
> the output rate was the original video rate at 4M
> 
> But, if I do this:
> 
> ffmpeg -i video.mp4 -vcodec libx264 -vb 1024k  -f flv rtmp://ip/live/test
> 
> the output rate is at 1M but video freezes.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list