-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update vf_gopromax_opencl.c #1
base: master
Are you sure you want to change the base?
Conversation
changes to get the filter declaration `VV->V` and not `|->|` to correct the bug `Too many inputs specified for the "gopromax_opencl" filter.`
Hello, we install FFmpeg according to install.md file, when running make command we got this error
we searched for it but we got nothing , any suggestion please. |
@soheer don't forget to pass --enable-opencl option to ./configure
|
Hello,
|
You know it isn't the proper place to get support here ? Maybe better on discord https://discord.com/channels/883679724335923241/883685764913827860 You can use one opencl device. With But you should maybe start by let ffmpeg use your default device :
|
yes that sounds good `Too many inputs specified for the "gopromax_opencl"
filter` this is the aim of my push request...
patch your repository with my code or use my fork
https://github.com/gmat/goproMax-FFmpeg-v4
I've made the conversion to ffmpeg v5 in this fork if you want to use the
last major version of ffmpeg
https://github.com/gmat/goproMax-ffmpeg-v5
Le lun. 21 mars 2022 à 13:30, soheer ***@***.***> a écrit :
… we create discord account but we didn't know how to reach someone who can
help me in this issue.
we tried your suggested commands and a new error appear:
[AVFilterGraph @ 0x563583315500] Too many inputs specified for the
"gopromax_opencl" filter.
Error initializing complex filters.
Invalid argument
—
Reply to this email directly, view it on GitHub
<#1 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAENOOTD5BEANFHAO6U6MZ3VBBTU5ANCNFSM5KF5XCGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
after implementing goproMax-ffmpeg-v5 we tried the default command(./ffmpeg -hwaccel opencl -v verbose -filter_complex '[0:0]format=yuv420p,hwupload[a] , [0:5]format=yuv420p,hwupload[b], [a][b]gopromax_opencl, hwdownload,format=yuv420p' -i IN.360 -c:v libx264 -map_metadata 0 -map 0:3 OUT.mp4) the output was "Unknown encoder 'libx264'" so we change it into codec h264. A new error appears:
we searched for it but we didn't find anything. |
for libx264 you should add Your ./configure should be more longer to get more codec enable. It could be
Next on compile errors, install the package -dev missing as you will done for libx264. |
we enabled all your suggested libraries the codec issue solved but the error remains the same.
(we have 2 GPUs GeForce GTX 1080 Ti and GeForce GTX 1060 6GB) |
to many choise @soheer You should try the conversion by precise which one to use,
|
thanks for your help, we complete the conversion process, but there is a huge difference between video sizes what should we alter in the command to maintain data and resolution as the app conversion method? thanks a lot. |
You compare sizes of the files. You should expect that compression algorithms applied will decrease file size output.
Verify the output resolution obtained. Mainly check the "human eye seen quality" and maybe the software reader compatibility to chose your output format. |
The output of the ffprobe command on the converted video : 5376x2688
how to get result similar to the app? |
you can scale after the transformation. https://ottverse.com/change-resolution-resize-scale-video-using-ffmpeg/
|
Hello, We noticed that after the initial conversion the video looses audio feature` `./ffmpeg -hwaccel opencl -init_hw_device opencl:0.0 -filter_hw_device opencl0 -v verbose -filter_complex '[0:0]format=yuv420p,hwupload[a] , [0:5]format=yuv420p,hwupload[b], [a][b]gopromax_opencl, hwdownload,format=yuv420p' -i IN.360 -c:v libx264 -map_metadata 0 -map 0:3 OUT.mp4 How can we keep audio feature? Thanks a lot |
with ffprobe you will see that audio is available in 2 streams
If you want to keep the aac audio you can add
|
changes to get the filter declaration
VV->V
and not|->|
to correct the bugToo many inputs specified for the "gopromax_opencl" filter.