WinFF / winff

Automatically exported from code.google.com/p/winff
209 stars 50 forks source link

Enable Cuda Hw acceleration #243

Closed mikysal78 closed 3 years ago

mikysal78 commented 4 years ago

Debian Buster 64bit If run ffmpeg from cmd line is ok, if change present in winff not work.... because?

paulgevers commented 4 years ago

No idea. Could you please copy/paste any output in the command window? Also, is this the winff package installed via Debian packages or did you compile yourself?

mikysal78 commented 4 years ago

i have edit preset in MPEG4_SD_CUDA -crf 20.0 -vsync 0 -hwaccel cuvid -vcodec h264_cuvid -vf scale=w=720:h=480 -preset slow -acodec aac -strict experimental -ar 44100 -b:a 64k -coder 1 -flags +loop -cmp chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -threads 0

Oputput:

Option hwaccel (use HW accelerated decoding) cannot be applied to output url /home/michele/Video/test.mp4 -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to. Error parsing options for output file /home/michele/Scrivania/test.mp4. Error opening output files: Invalid argument

paulgevers commented 4 years ago

If I remember correctly (it has been a while since I used WinFF myself) WinFF doesn't have the feature to add options the correct stream for this to work. Apparently the option you want here, needs to go in a different location on the command line that WinFF puts it. I don't think there's a way around this.

If I remember correctly, there is a wishlist bug open for this support.

paulgevers commented 4 years ago

Like #238 and #241