Opened 10 years ago

Last modified 5 years ago

#3885 open defect

cavs: "weighted prediction not yet supported"

Reported by: ami_stuff Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: cavs
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I think that there must be some incorrect check in the code, because frame is obviously decoded and looks just fine.

C:\>ffmpeg -i 320.bmp -vcodec libxavs out.avi
ffmpeg version N-65672-g65f05ef Copyright (c) 2000-2014 the FFmpeg developers
  built on Aug 15 2014 22:01:33 with gcc 4.8.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-lib
modplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrw
b --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinge
r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en
able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
 --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-
libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
  libavutil      54.  3.100 / 54.  3.100
  libavcodec     56.  0.101 / 56.  0.101
  libavformat    56.  1.100 / 56.  1.100
  libavdevice    56.  0.100 / 56.  0.100
  libavfilter     5.  0.100 /  5.  0.100
  libswscale      3.  0.100 /  3.  0.100
  libswresample   1.  0.100 /  1.  0.100
  libpostproc    53.  0.100 / 53.  0.100
Input #0, image2, from '320.bmp':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: bmp, bgr24, 320x240, 25 tbr, 25 tbn, 25 tbc
File 'out.avi' already exists. Overwrite ? [y/N] y
[libxavs @ 02e1b3a0] using cpu capabilities
[libxavs @ 02e1b3a0] profile JiZhun, level 6.4
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf56.1.100
    Stream #0:0: Video: cavs (libxavs) (CAVS / 0x53564143), yuv420p, 320x240, q=
2-31, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.0.101 libxavs
Stream mapping:
  Stream #0:0 -> #0:0 (bmp (native) -> cavs (libxavs))
Press [q] to stop, [?] for help
[avi @ 02f10400] Non-monotonous DTS in output stream 0:0; previous: 0, current:
0; changing to 1. This may result in incorrect timestamps in the output file.
frame=    1 fps=0.0 q=26.0 Lsize=      23kB time=00:00:00.08 bitrate=2385.8kbits
/s
video:18kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing ov
erhead: 31.615822%
[libxavs @ 02e1b3a0] slice I:1     Avg QP:26.00  size: 18119
[libxavs @ 02e1b3a0] mb I  I16..4:  0.0% 100.0%  0.0%
[libxavs @ 02e1b3a0] final ratefactor: 22.88
[libxavs @ 02e1b3a0] 8x8 transform  intra:100.0%  inter:nan%
[libxavs @ 02e1b3a0] kb/s:3623.8
C:\>ffmpeg -i out.avi out2.avi
ffmpeg version N-65672-g65f05ef Copyright (c) 2000-2014 the FFmpeg developers
  built on Aug 15 2014 22:01:33 with gcc 4.8.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-lib
modplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrw
b --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinge
r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en
able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
 --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-
libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
  libavutil      54.  3.100 / 54.  3.100
  libavcodec     56.  0.101 / 56.  0.101
  libavformat    56.  1.100 / 56.  1.100
  libavdevice    56.  0.100 / 56.  0.100
  libavfilter     5.  0.100 /  5.  0.100
  libswscale      3.  0.100 /  3.  0.100
  libswresample   1.  0.100 /  1.  0.100
  libpostproc    53.  0.100 / 53.  0.100
Input #0, avi, from 'out.avi':
  Metadata:
    encoder         : Lavf56.1.100
  Duration: 00:00:00.08, start: 0.000000, bitrate: 2385 kb/s
    Stream #0:0: Video: cavs (CAVS / 0x53564143), yuv420p, 320x240, 25 fps, 25 t
br, 25 tbn, 25 tbc
File 'out2.avi' already exists. Overwrite ? [y/N] y
Output #0, avi, to 'out2.avi':
  Metadata:
    ISFT            : Lavf56.1.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240, q=2-31, 200
 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.0.101 mpeg4
Stream mapping:
  Stream #0:0 -> #0:0 (cavs (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
[cavs @ 02e1c640] weighted prediction not yet supported
[cavs @ 02e1c640] no frame decoded
    Last message repeated 1 times
frame=    1 fps=0.0 q=4.1 Lsize=      22kB time=00:00:00.04 bitrate=4430.0kbits/
s
video:16kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing ov
erhead: 34.707779%

Attachments (1)

320.bmp (225.1 KB ) - added by ami_stuff 10 years ago.

Download all attachments as: .zip

Change History (3)

by ami_stuff, 10 years ago

Attachment: 320.bmp added

comment:1 by Carl Eugen Hoyos, 10 years ago

Component: undeterminedavcodec
Keywords: cavs added
Version: unspecifiedgit-master

Looks related to ticket #1901, one of them should probably be closed.

Note: See TracTickets for help on using tickets.