[FFmpeg-user] ffmpeg ip cam stream with drawtext
mikeshaffer at gmail.com
Fri Feb 1 03:13:45 EET 2019
I was looking at this, it lists decode capability but not encode.
As for putting text on the video, there's a library called OpenCV that lets
you put text on the video and do lots of other things. It probably would be
too much trouble though, since OpenCV can read an RTSP stream, but can't
send it to youtube. You'd have to capture the OpenCV window or something.
On Thu, Jan 31, 2019 at 3:47 AM frhun <frobihun at gmail.com> wrote:
> excuse me, at first I did not read properly what you wrote
> you look ,I delete the drawtext, and do not use c:v copy
> but the cpu usage same with drawtext ~30%
> ffmpeg -r 25 -rtsp_transport tcp -i
> rtsp://admin:firstname.lastname@example.org/Streaming/Channels/1 -c:v libx264 -b:v
> 2M -c:a copy -preset ultrafast -f flv
> I seen the gpu, this is Ironlake-M
> the cpu is Mobile Dual Core i5-560M
> whether can be used ffmpeg with gpu ?
> thank you for dealing my problem!
> 2019. 01. 30. 14:36 keltezéssel, Moritz Barsnick írta:
> > On Wed, Jan 30, 2019 at 13:25:26 +0100, frhun wrote:
> >> if -c:v copy then not working drawtext!
> > Of course not! What I asked was "how does this performance change if you
> omit all the
> > filters" - and you are *not* supposed to use "-c:v copy", so we can see
> > approximately how much of your CPU performance is used by the encoding
> > process, and how much by the filter.
> >> so the drawtext re encoding do high cpu usage, I use the notebook (
> >> thinkpad i5 3 generations) gpu is no to perfect :)
> > That's not true. The filter *implies* not being able to do "-c:v copy",
> > but it may not be the actual filter using all the compute power, but
> > the CPU-based encoding. And if so, we might be able to help you by
> > recommending other encoding parameters or use of a GPU based encoder.
> > Moritz
> > _______________________________________________
> > ffmpeg-user mailing list
> > ffmpeg-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user