-
Notifications
You must be signed in to change notification settings - Fork 11
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
UHD channels not working since api change #79
Comments
Some more info is needed:
|
DISTRIB_ID=Ubuntu ffmpeg-3.5~git20180113
|
the log of the UHD Demo Channel at 19.2 East |
could commit 19e1101 do any harm here? |
I don't think so but you may do |
you are right |
Is the bit-depth of the affected video 10bit or 8bit? |
it's 10Bit, this one is from SES Astra Demo 19.2 East |
the only 8Bit HEVC Main Profile channels I know are the German DVB-T2, which are working with the current git |
Ok so the issue most likely is about hw-rendering 10bit video. Could you test the following very experimental patch? It will probably break something else but unfortunately I don't have the hardware to test this change.
|
did test it but it gives only a green screen on all channels SD,HD,UHD 8Bit/10Bit |
how is the right profile selected HEVCMain or HEVCMain10 |
Profile selection is handled by ffmpeg. See here: https://github.com/FFmpeg/FFmpeg/blob/release/3.4/libavcodec/vaapi_decode.c#L314-L333 |
can we enable the debug like in https://www.ffmpeg.org/doxygen/2.7/demuxing_decoding_8c-example.html to see whats going on
|
You shoud be able to enable libva+ffmpeg output by issuing the following command: |
@rofafor this was what I'm looking for, thank's |
this fix the general UHD issue here, but make the other filters unsuable
|
This commit refactors the surface handling before committing into postprocessing. The idea here is to query the driver about the number of needed reference surfaces beforehand and skip deinterlacing if there are not enough of them. Reference surfaces are also checked for correctness and readiness and deinterlacer is skipped if any of the checks fail. This new logic avoids feeding invalid surfaces to driver as references so this commit fixes #99 This may also have a positive effect on #79
I pushed quite a big refactoring to master that may have an effect on this issue. Could you check/verify if this got resolved? Also other testing is needed especially with various postprocessing filter combinations to make sure everything works as expected. |
unfortunatly it's still the same issue, but switching channels HD,SD are fine compiles with 2 new warnings
|
if I comment this line out UHD is working
|
Can you post your setup.conf (lines starting with vaapidevice)? |
still no success with the commits from today
the strange thing is the old softhddevice is working with the same drivers,ffmpeg etc... |
This is strange. vaapidevice.UHD.Deinterlace = 0 which should map to VAProcDeinterlacingNone. Yet it seems that this check does not trigger: The check is supposed to skip deinterlacing which should make the issue go away according to #79 (comment). The modification there only differs so that deinterlacer is not initialized and therefore not run. I'm afraid you'll need to add some extra logging into the if conditions linked above and try to figure why deinterlacing is still enabled for you for UHD resolutions. |
Accessing deinterlace buffer contents after vaUnmapBuffer() is undefined and probably a bad idea(TM). Instead of looking at the buffer contents we can look at the deinterlace table data for the same effect. Also set the buffer pointer to NULL just to be sure that no further undefined accesses happen. This will hopefully affect #79
@9000h found one likely cause for this bug which I fixed and pushed to master. |
sorry still not working
|
the old softddevice shows
|
The intel-driver never reports support for "None" type of functionalities. none deinterlacer is "supported" by leaving it out from the filter chain (which is what the code attempts to do). Here is a patch that skips all filters:
If applying this helps then remove each of the checks one by one until you've found the filter (or combination of filters) that need to be skipped. If the patch above doesn't help then #79 (comment) is somehow mistaken and the issue is somewhere else. |
ok looks like we get get it now, if vpp_cbal is skipped it did work
|
This makes actually very much sense. Colorbalance filter is currently always enabled and you cannot disable it from settings or from setup.conf. If you set denoise or skintone filter to some value from menu (as in "enable" the filter) does the picture still work or does it get broken? |
set skin tone to 1 and the issue is back, all others did not harm |
why not using vaSetDisplayAttributes to set the attributes |
today I got some other messages on the console |
UHD channels have only still image and blinking green screen here (8bit hevc channels in 1080p are fine)
issue did start here 192789d if remember right
could not get a better screenshot showing the green flashing
The text was updated successfully, but these errors were encountered: