[FFmpeg-user] ffmpeg extremely high consumption

En Figureo Canal figureo56.com at gmail.com
Sun Jun 14 02:49:21 CEST 2015


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

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.


More information about the ffmpeg-user mailing list