[VDPAU] ffmpeg and HEVC: Partial success, need help understanding problem

Rémi Denis-Courmont remi at remlab.net
Tue May 26 07:24:44 PDT 2015


Le 2015-05-26 17:19, Jose Soltren a écrit :
> Inline below.
>
> On 2015/05/23, 22:49 , "Philip Langdale" <philipl at overt.org> wrote:
>
>>On Sat, 23 May 2015 12:52:08 -0700
>>Philip Langdale <philipl at overt.org> wrote:
>>
>>> Ok, that's not right. I'd forgotten what the original sample looked
>>> like. What I think it really looks like is that it's rendering 
>>> twice
>>> as tall as it should, alternating black lines with the actual 
>>> picture
>>> lines, and then that's wrapping around.
>>
>>Really, what it ends up looking like is what you'd see if someone 
>> took
>>a progressive frame, and then said it was really an interlaced frame
>>with the top half as one field and the bottom half as another. I can
>>provide samples if it helps.
>
> Yep, that's exactly what is happening. Unfortunately, the answer is: 
> you
> need to lie to VDPAU about what is happening here. Use
> VDP_VIDEO_MIXER_PICTURE_STRUCTURE_TOP_FIELD as the
> current_picture_structure parameter to VdpVideoMixerRender().

I must be missing something obvious here. Isn't non-interlaced content 
the whole point of VDP_VIDEO_MIXER_PICTURE_STRUCTURE_FRAME?

-- 
Rémi Denis-Courmont
http://www.remlab.net/


More information about the VDPAU mailing list