On 14 Jun 2015, at 02:49, En Figureo Canal <[email protected]> wrote:
> On Sat, Jun 13, 2015 at 8:24 PM, Moritz Barsnick <[email protected]> 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 > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
