-
Notifications
You must be signed in to change notification settings - Fork 36
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
[ffmpeg-qsv] add string api support #651
Conversation
30eb750
to
f852a4a
Compare
ffmpeg-qsv cmdline: |
@mengker33 please help to review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not a full review...
I'm not convinced we should modify the base qsv encoder. It seems we could introduce a new qsv string encoder class or something. Let me think about the design some more and we can discuss later...
Cool! thanks a lot Artie on supporting this. BTW, gst-vpl will also support stringAPI in Q3, so please also think about gst-vpl part. |
@FocusLuo please have a look at uartie@714ea06 |
f852a4a
to
975b372
Compare
Thanks Artie, by re-used the uartie@714ea06,
|
New test cases cmdlines: for avc/hevc/av1 encode |
My patch wasn't a completed solution... please finish the TODO's and other details (missing some property definitions and mappings). |
975b372
to
1670f32
Compare
@uartie do you think it is good to merge this PR firstly? then let me to submit another PR for your other comments such as
|
The issue I have is it automatically doubles the cases as mentioned in #651 (comment). For full tests, it would add an additional 2-3 hours depending on platform. |
Ok, will submit new patch to use dedicated gen functions for string api, thanks |
2b34f7b
to
9a1a2e3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost good to me, just one comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, look's like we can merge have_ffmpeg_filter
with have_ffmpeg_encoder
, have_ffmpeg_decoder
and have_ffmpeg_filter_options
have_ffmpeg_encode_options
in feature
def _have_ffmpeg_key(name, key):
result = try_call(f"{exe2os('ffmpeg')} -hide_banner -{key}s | awk '{{print $2}}' | grep -w {name}")
return result, name
@uartie is the latest new update version good to you? |
0e0c47b
to
c2d5d42
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't use is True
.
The variants
should always be a list before hitting the loop. This will cut down on the diff noise.
c2d5d42
to
426d0f8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please avoid making extra changes that weren't suggested and we could be good to go. Almost there ;)
426d0f8
to
9934c4e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The end result looks good to me.
However, please squash your commits into a few logically organized commits, as appropriate. There should not be any intermediate commits that only address the reviews. Those changes should be applied to the originals.
Signed-off-by: Focus Luo <[email protected]>
Signed-off-by: Focus Luo <[email protected]>
Signed-off-by: Focus Luo <[email protected]>
9934c4e
to
1586e85
Compare
thanks Artie, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ugh... sorry I didn't notice these before...
Signed-off-by: Focus Luo <[email protected]>
Signed-off-by: Focus Luo <[email protected]>
Signed-off-by: Focus Luo <[email protected]>
Signed-off-by: Focus Luo <[email protected]>
1586e85
to
e457674
Compare
add string api support for ffmpeg-qsv
1, enable on DG2 fistly
2, the patch comments will update later after some times reviews done