Opened 3 weeks ago

#7172 new enhancement

vc1 luma and chroma scaling is not supported

Reported by: cehoyos Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: vc1
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Some vc1 conformance samples use an unsupported vc1 feature, works fine with -hwaccel vdpau here.

$ ffmpeg -i SA00048.vc1 -f framecrc -
ffmpeg version N-90869-g2d7ba3a Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.4.0 (GCC)
  configuration: --enable-gpl
  libavutil      56. 17.100 / 56. 17.100
  libavcodec     58. 19.100 / 58. 19.100
  libavformat    58. 13.100 / 58. 13.100
  libavdevice    58.  4.100 / 58.  4.100
  libavfilter     7. 20.100 /  7. 20.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
[vc1 @ 0x2757400] Failed to open codec in avformat_find_stream_info
[NULL @ 0x2758bc0] ignoring invalid SAR: 0/0
[NULL @ 0x2758bc0] Luma scaling is not supported, expect wrong picture
[NULL @ 0x2758bc0] Chroma scaling is not supported, expect wrong picture
[NULL @ 0x2758bc0] Luma scaling is not supported, expect wrong picture
[NULL @ 0x2758bc0] Chroma scaling is not supported, expect wrong picture
[vc1 @ 0x2758bc0] Luma scaling is not supported, expect wrong picture
[vc1 @ 0x2758bc0] Chroma scaling is not supported, expect wrong picture
[vc1 @ 0x2758bc0] Luma scaling is not supported, expect wrong picture
[vc1 @ 0x2758bc0] Chroma scaling is not supported, expect wrong picture
Input #0, vc1, from 'SA00048.vc1':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: vc1 (Advanced), yuv420p(progressive), 220x180 [SAR 1:1 DAR 11:9], 25 tbr, 1200k tbn, 25 tbc
[vc1 @ 0x276a5c0] Luma scaling is not supported, expect wrong picture
[vc1 @ 0x276a5c0] Chroma scaling is not supported, expect wrong picture
[vc1 @ 0x276a5c0] Luma scaling is not supported, expect wrong picture
[vc1 @ 0x276a5c0] Chroma scaling is not supported, expect wrong picture
Stream mapping:
  Stream #0:0 -> #0:0 (vc1 (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[vc1 @ 0x276a5c0] Luma scaling is not supported, expect wrong picture
[vc1 @ 0x276a5c0] Chroma scaling is not supported, expect wrong picture
[vc1 @ 0x276a5c0] Luma scaling is not supported, expect wrong picture
[vc1 @ 0x276a5c0] Chroma scaling is not supported, expect wrong picture
#software: Lavf58.13.100
#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 220x180
#sar 0: 1/1
Output #0, framecrc, to 'pipe:':
  Metadata:
    encoder         : Lavf58.13.100
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 220x180 [SAR 1:1 DAR 11:9], q=2-31, 11880 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc58.19.100 rawvideo
0,          0,          0,        1,    59400, 0xfeaa569e
0,          1,          1,        1,    59400, 0xfeaa569e
0,          2,          2,        1,    59400, 0xfeaa569e
0,          4,          4,        1,    59400, 0xf9ef56ff
0,          5,          5,        1,    59400, 0x63736e9e
0,          6,          6,        1,    59400, 0x6421b732
0,          7,          7,        1,    59400, 0x689b2818
0,          8,          8,        1,    59400, 0x689b2818
0,          9,          9,        1,    59400, 0xf4878669
0,         10,         10,        1,    59400, 0xf4878669
0,         11,         11,        1,    59400, 0x9c0d0831
0,         12,         12,        1,    59400, 0x9c0d0831
0,         13,         13,        1,    59400, 0x9c0d0831
0,         14,         14,        1,    59400, 0x9c0d0831
0,         15,         15,        1,    59400, 0x9c0d0831
0,         16,         16,        1,    59400, 0x9c0d0831
0,         17,         17,        1,    59400, 0x9c0d0831
0,         18,         18,        1,    59400, 0x9c0d0831
0,         19,         19,        1,    59400, 0x3c54126e
0,         20,         20,        1,    59400, 0x3c54126e
0,         21,         21,        1,    59400, 0xde08a24d
0,         22,         22,        1,    59400, 0x009432cc
0,         23,         23,        1,    59400, 0x5cdcd186
0,         24,         24,        1,    59400, 0xa15c4169
0,         25,         25,        1,    59400, 0x6920e38a
0,         26,         26,        1,    59400, 0x6920e38a
0,         27,         27,        1,    59400, 0xeb538cb8
0,         28,         28,        1,    59400, 0xc0387395
0,         29,         29,        1,    59400, 0xc0387395
0,         30,         30,        1,    59400, 0xc0387395
frame=   30 fps=0.0 q=-0.0 Lsize=       2kB time=00:00:01.24 bitrate=  12.0kbits/s speed=  81x
video:1740kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

Reference decoder output:

$ ffmpeg -s 220x180 -i testout.yuv -f framecrc -
ffmpeg version N-90869-g2d7ba3a Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.4.0 (GCC)
  configuration: --enable-gpl
  libavutil      56. 17.100 / 56. 17.100
  libavcodec     58. 19.100 / 58. 19.100
  libavformat    58. 13.100 / 58. 13.100
  libavdevice    58.  4.100 / 58.  4.100
  libavfilter     7. 20.100 /  7. 20.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
[rawvideo @ 0x2302480] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from 'testout.yuv':
  Duration: 00:00:01.20, start: 0.000000, bitrate: 11880 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 220x180, 11880 kb/s, 25 tbr, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> rawvideo (native))
Press [q] to stop, [?] for help
#software: Lavf58.13.100
#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 220x180
#sar 0: 0/1
Output #0, framecrc, to 'pipe:':
  Metadata:
    encoder         : Lavf58.13.100
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 220x180, q=2-31, 11880 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc58.19.100 rawvideo
0,          0,          0,        1,    59400, 0xd33656d7
0,          1,          1,        1,    59400, 0xd33656d7
0,          2,          2,        1,    59400, 0xd33656d7
0,          3,          3,        1,    59400, 0xf14552fa
0,          4,          4,        1,    59400, 0xded06f9b
0,          5,          5,        1,    59400, 0xbc5cc1a0
0,          6,          6,        1,    59400, 0x064d407c
0,          7,          7,        1,    59400, 0x064d407c
0,          8,          8,        1,    59400, 0x68e8aae0
0,          9,          9,        1,    59400, 0x68e8aae0
0,         10,         10,        1,    59400, 0x84361b30
0,         11,         11,        1,    59400, 0x84361b30
0,         12,         12,        1,    59400, 0x84361b30
0,         13,         13,        1,    59400, 0x84361b30
0,         14,         14,        1,    59400, 0x84361b30
0,         15,         15,        1,    59400, 0x84361b30
0,         16,         16,        1,    59400, 0x84361b30
0,         17,         17,        1,    59400, 0x84361b30
0,         18,         18,        1,    59400, 0x720a2803
0,         19,         19,        1,    59400, 0x720a2803
0,         20,         20,        1,    59400, 0xb3caaa3a
0,         21,         21,        1,    59400, 0x29ae2cdb
0,         22,         22,        1,    59400, 0x62e8bec5
0,         23,         23,        1,    59400, 0x633f1c42
0,         24,         24,        1,    59400, 0x4e1ab1b8
0,         25,         25,        1,    59400, 0x4e1ab1b8
0,         26,         26,        1,    59400, 0xf50d4e55
0,         27,         27,        1,    59400, 0x0eaf323b
0,         28,         28,        1,    59400, 0x0eaf323b
0,         29,         29,        1,    59400, 0x0eaf323b
frame=   30 fps=0.0 q=-0.0 Lsize=       2kB time=00:00:01.20 bitrate=  12.4kbits/s speed= 322x
video:1740kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

Change History (0)

Note: See TracTickets for help on using tickets.