bug in last xine-lib commit and vaapi

zaverel <[email protected]> Wed, 23 Jan 2013 17:10:46 +0100
Newsgroups gmane.comp.video.xine.user
Message-ID <[email protected]>
hello,

commit ff_video_dec: single-pass rgb -> yuy2 conversion break use of 
vaapi for some video (GPAC ISO Video Handler ?)

http://anonscm.debian.org/hg/xine-lib/xine-lib-1.2/rev/5e4ae6259dbd

green display + sound

and in log , lot of :

yv12_to_nv12 strange



I revert the commit and that work normaly with vaapi.
There is no problem with XV.


See you.



ffplay video.mp4

ffplay version 1.1 Copyright (c) 2003-2013 the FFmpeg developers
   built on Jan 22 2013 19:03:58 with gcc 4.7.2 (Gentoo 4.7.2 p1.3, 
pie-0.5.5)
   configuration: --prefix=/usr --libdir=/usr/lib64 
--shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared 
--cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ 
--ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -mtune=core-avx-i 
-msse4 -O2 -pipe -fomit-frame-pointer' --extra-cflags='-march=native 
-mtune=core-avx-i -msse4 -O2 -pipe -fomit-frame-pointer' 
--extra-cxxflags='-O2 -pipe' --disable-static --enable-gpl 
--enable-version3 --enable-postproc --enable-avfilter 
--disable-stripping --disable-debug --disable-doc --disable-vdpau 
--enable-gnutls --enable-libmp3lame --enable-libvo-aacenc 
--enable-libvo-amrwbenc --enable-libtheora --enable-libx264 
--enable-libxvid --enable-libfaac --enable-nonfree --disable-indev=v4l2 
--disable-indev=oss --disable-indev=jack --enable-x11grab 
--disable-outdev=oss --enable-libass --enable-libfreetype 
--enable-pthreads --enable-libopencore-amrwb --enable-libopencore-amrnb 
--enable-libbluray --enable-librtmp --enable-libschroedinger 
--enable-libvorbis --enable-libvpx libavutil      52. 13.100 / 52. 13.100
   libavcodec     54. 86.100 / 54. 86.100
   libavformat    54. 59.106 / 54. 59.106
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 32.100 /  3. 32.100
   libswscale      2.  1.103 /  2.  1.103
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 1
     compatible_brands: isom
     creation_time   : 2012-06-20 16:26:41
   Duration: 00:21:06.18, start: 0.000000, bitrate: 930 kb/s
     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 
720x404, 811 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
     Metadata:
       creation_time   : 2012-06-21 14:55:12
       handler_name    : GPAC ISO Video Handler
     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, 
fltp, 114 kb/s
     Metadata:
       creation_time   : 2012-06-20 16:26:42
       handler_name    : GPAC ISO Audio Handler
Frame changed from size:0x0 to size:720x404   2KB sq=    0B f=0/0
    3.03 A-V: -0.011 fd=   0 aq=    6KB vq=   16KB sq=    0B f=0/0


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d