0

I need to transcode a live stream (encoded in h264) to h265 with ffmpeg.

Unfortunately my hardware is not able to encode H265 by hardware (but can decode H264).

Currently I'm using:

ffmpeg -re -i "input" -c:v libx265 -preset ultrafast -b:v 2200k -max_muxing_queue_size 4096 ...

If I use this, speed of conversion hovers around 1, but it's usually between 0.980 - 0.998, which causes a lot of headaches.

If I remove the ultrafast preset, speed decreases to 0.6-0.7, which is unenjoyable of course.

Is there any way, to:

a.) Utilize my h264 decoding hw (Intel IvyBridge) (or it's not used during this conversion)? b.) Introduce some buffer (to have some more time for the conversion, as the stream is not consistently hard, so there are heavy and not-heavy parts) c.) other flag?

Daniel
  • 647

0 Answers0