[Libva] Decoding artefacts

gimli gimli at dark-green.com
Sun Jan 1 12:36:05 PST 2012


Where is the problem not merging that patch into the intel vaapi driver ?
The problem is open quite long. The patch is there quite long, but not
merged.
Is there no interest to fixup problems ?

On Tue, 27 Dec 2011 09:50:41 +0800, "Xiang, Haihao"
<haihao.xiang at intel.com>
wrote:
>> I was able to reproduce the problem on mplayer (1.0+svn32819-3 built
>> on 2011.10.22.). It looks a lot better than in xbmc, but macroblocking
>> is definatelly there.
> 
> I also reproduced this issue with the new sample. It seems it is the
> same issue of https://bugs.freedesktop.org/show_bug.cgi?id=40820. Here
> is the patch https://bugs.freedesktop.org/attachment.cgi?id=51444 for
> this issue. Could you give a try ?  
> 
> Thanks
> Haihao
> 
> 
>> 
>> One important thing I noticed. If I seek into any position of the
>> movie. The is NO macroblocking at that position, where is a lot of
>> macroblocking when I play it back normally from an earlier position.
>> This info could be important. Here are the screenshots:
>> 
>> macroblocking screenshot in mplayer:
>> http://img716.imageshack.us/img716/3643/screenshotmlpayer.png
>> macroblocking screenshot in xbmc:
>> http://img830.imageshack.us/img830/152/screenshot007zs.png
>> screenshot seeking into position xbmc:
>> http://img714.imageshack.us/img714/6767/screenshot006tj.png
>> 
>> Please, libva devs, could you please help ?
>> 
>> Thx,
>> 
>> Alan
>> 
>> 2011/12/26 alanwww1 <alanwww1 at gmail.com>:
>> > So it is for sure that the problem is not in xbmc I guess, but in
>> > ffmpeg or libva.
>> >
>> > Can you check the version or build date of the arch linux mplayer
>> > package ?
>> >
>> > Just for the libva devs as an info that the problem also exists in
>> > mplayer and not only in xbmc.
>> >
>> > Thanks.
>> >
>> > ps.:
>> > I am also trying to build a fresh mplayer on Ubuntu to confirm.
>> >
>> >
>> >
>> > 2011/12/26 gimli <gimli at dark-green.com>:
>> >> I use the archlinux distribution packages. For ffmpeg tests i use my
>> >> xine
>> >> vaapi implementation.
>> >>
>> >> On Mon, 26 Dec 2011 18:30:47 +0100, alanwww1 <alanwww1 at gmail.com>
>> >> wrote:
>> >>> Hi Gimli !
>> >>>
>> >>> As i know that is only working with earlier mplayer builds. If you
>> >>> check out a fresh build with
>> >>>
>> >>> git clone -b hwaccel-vaapi git://git.gitorious.org/vaapi/mplayer.git
>> >>>
>> >>> You can only have the -vo option. -va is depricated as I understand.
>> >>>
>> >>> What version have you compiled or from which git repository ?
>> >>>
>> >>> I am really stuck getting a working vaapi enabled mplayer on my
>> >>> system.
>> >>>
>> >>> Thx
>> >>>
>> >>>
>> >>> 2011/12/26 gimli <gimli at dark-green.com>
>> >>>>
>> >>>> Did you try run vaapi mplayer with :
>> >>>>
>> >>>> mplayer -vo vaapi -va vaapi file.mkv ?
>> >>>>
>> >>>> On Mon, 26 Dec 2011 12:03:43 +0100, alanwww1 <alanwww1 at gmail.com>
>> >>>> wrote:
>> >>>> > Hi Haihao !
>> >>>> >
>> >>>> > Thanks for the help !
>> >>>> >
>> >>>> > I tried to backport the only commit that has something to do with
>> >> vaapi
>> >>>> > h264 decoding. I applied this to internal xbmc ffmpeg. The
>> >>>> > internal
>> >>>> ffmpeg
>> >>>> > is dated february 2011. So this is the only commit which is not
in
>> >>>> > it:
>> >>>> >
>> >>>> >
>> >>>>
>> >>
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=3fec40b601827e75aae9f0baa47671af15de181a
>> >>>> >
>> >>>> >
>> >>>> >
>> >>>> > Compiles fine, but the same marcroblocking artifacts.
>> >>>> > Unfortunately I
>> >>>> > am
>> >>>> > not able to run a vaapi enabled mplayer to test that. See my post
>> >> about
>> >>>> > this problem:
>> >>>> >
>> >>>> >
http://lists.freedesktop.org/archives/libva/2011-December/000734.html
>> >>>> >
>> >>>> > So I have not ideahow to solve this.
>> >>>> >
>> >>>> >
>> >>>> > 2011/12/26 gimli <gimli at dark-green.com>
>> >>>> >
>> >>>> >> Here is my sample where you can see my issue.
>> >>>> >>
>> >>>> >> http://www.megaupload.com/?d=T9KYT771
>> >>>> >> http://www.megaupload.com/?d=R0SAJ8EY
>> >>>> >>
>> >>>> >> Sorry. Didn't find a better place for the smales.
>> >>>> >>
>> >>>> >>
>> >>>> >> On Mon, 26 Dec 2011 16:21:55 +0800, "Xiang, Haihao"
>> >>>> >> <haihao.xiang at intel.com>
>> >>>> >> wrote:
>> >>>> >> > On Mon, 2011-12-26 at 01:11 +0100, alanwww1 wrote:
>> >>>> >> >> Hello Gimli !
>> >>>> >> >>
>> >>>> >> >>
>> >>>> >> >> I have the same problem on Intel Sandy Bridge. I tested with
>> >>>> >> >> xbmc
>> >>>> >> >> and
>> >>>> >> >> latest libva and intel driver. But it is the same with older
>> >>>> >> >> drivers.
>> >>>> >> >>
>> >>>> >> >>
>> >>>> >> >> Here are some screenshots:
>> >>>> >> >> http://img607.imageshack.us/img607/841/screenshot004u.png
>> >>>> >> >> http://img85.imageshack.us/img85/6752/screenshot003g.png
>> >>>> >> >>
>> >>>> >> >> And here is the sample video.
>> >>>> >> >>
>> >>>> >> >>
>> >>>> >> >>
http://jkft.info/xbmc/testfiles/h264_macroblocking/2012-sample.mkv
>> >>>> >> >>
>> >>>> >> >>
>> >>>> >> >> Would be good if libva devs can confirm this. If it is maybe
>> >>>> >> >> an
>> >>>> >> >> already known problem.
>> >>>> >> >
>> >>>> >> > I can't reproduce this issue with the latest mplayer-vaapi and
>> >>>> >> > VLC.
>> >>>> >> > I didn't test xbmc because I failed to build xbmc on my
>> >>>> >> > machine,
>> >> but
>> >>>> >> > I
>> >>>> >> > noticed xbmc uses an internal FFmpeg library by default. Is
>> >>>> >> > that
>> >> the
>> >>>> >> > reason why you have artifacts in XBMC ?
>> >>>> >> >
>> >>>> >> > Thanks
>> >>>> >> > Haihao
>> >>>> >> >
>> >>>> >> >
>> >>>> >> >
>> >>>> >> >
>> >>>> >> >>
>> >>>> >> >>
>> >>>> >> >> Thanks, Alan
>> >>>> >> >>
>> >>>> >> >>
>> >>>> >> >> 2011/12/25 gimli <gimli at dark-green.com>
>> >>>> >> >>         I have seen decoding artefacts with some h264
streams.
>> >>>> >> >> Latest
>> >>>> >> >>         ffmpeg and
>> >>>> >> >>         mplayer-vaapi.
>> >>>> >> >>         Where can i stick a sample file and an image which
>> >>>> >> >>         shows
>> >>>> >> >> the
>> >>>> >> >>         artefact ?
>> >>>> >> >>
>> >>>> >> >>         _______________________________________________
>> >>>> >> >>         Libva mailing list
>> >>>> >> >>         Libva at lists.freedesktop.org
>> >>>> >> >>         http://lists.freedesktop.org/mailman/listinfo/libva
>> >>>> >> >>
>> >>>> >> >>
>> >>>> >> >> _______________________________________________
>> >>>> >> >> Libva mailing list
>> >>>> >> >> Libva at lists.freedesktop.org
>> >>>> >> >> http://lists.freedesktop.org/mailman/listinfo/libva
>> >>>> >>
>> _______________________________________________
>> Libva mailing list
>> Libva at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/libva


More information about the Libva mailing list