Dne 13.2.2017 v 09:11 Hendrik Leppkes napsal(a):
On Mon, Feb 13, 2017 at 9:08 AM, Miroslav Slugeň <thunde...@email.cz> wrote:
Problem is that when you are using for example 200 input streams you have to
always specify correct input format h264/mpeg2/nvenc. Also when you are
using -hwaccel cuvid you have to specify it too, otherwise there is error:
CUVID hwaccel requested, but impossible to achieve.
You can just script that and then its not really that huge of an extra
effort to specify it. The patch is beyond terrible, and I don't see
any good way to implement something like this either without some
thorough API design to be able to select decoders in a smart way..
- Hendrik
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
I know it was 1 hour hack :)
Correct behavior should be:
1. when you use "-hwaccel cuvid" ffmpeg should try cuvid decoders first
2. alias in decoders "-c:v cuvid" and then ffmpeg should try only cuvid
decoders
This should be same for other hwaccels.
M.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel