#10546 closed defect (fixed)

improve vmix decoder

Reported by: ami_stuff Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

HQ quality mode decodes just fine, but SQ and LQ doesn't

./ffmpeg -i vmx1_sq.avi -y out.avi
ffmpeg version N-111893-gbef151d1ce Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
  configuration: 
  libavutil      58. 19.100 / 58. 19.100
  libavcodec     60. 25.100 / 60. 25.100
  libavformat    60. 11.100 / 60. 11.100
  libavdevice    60.  2.101 / 60.  2.101
  libavfilter     9. 11.100 /  9. 11.100
  libswscale      7.  3.100 /  7.  3.100
  libswresample   4. 11.100 /  4. 11.100
Input #0, avi, from 'vmx1_sq.avi':
  Metadata:
    software        : Lavf58.76.100
  Duration: 00:00:00.07, start: 0.000000, bitrate: 21822 kb/s
  Stream #0:0: Video: vmix (VMX1 / 0x31584D56), yuv422p, 720x480, 29.97 fps, 29.97 tbr, 29.97 tbn
Stream mapping:
  Stream #0:0 -> #0:0 (vmix (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
[vist#0:0/vmix @ 0x55fd064084c0] Decoding error: Invalid data found when processing input
    Last message repeated 1 times
[vost#0:0/mpeg4 @ 0x55fd06408000] No filtered frames for output stream, trying to initialize anyway.
Output #0, avi, to 'out.avi':
  Metadata:
    software        : Lavf58.76.100
    ISFT            : Lavf60.11.100
  Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p(progressive), 720x480, q=2-31, 200 kb/s, 29.97 tbn
    Metadata:
      encoder         : Lavc60.25.100 mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
[vist#0:0/vmix @ 0x55fd064084c0] Decode error rate 1 exceeds maximum 0.666667
[out#0/avi @ 0x55fd06407240] video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[out#0/avi @ 0x55fd06407240] Output file is empty, nothing was encoded(check -ss / -t / -frames parameters if used)
frame=    0 fps=0.0 q=0.0 Lsize=       6kB time=N/A bitrate=N/A speed=N/A    
Conversion failed!

Attachments (3)

vmx1_hq.avi (279.4 KB ) - added by ami_stuff 13 months ago.
vmx1_sq.avi (177.8 KB ) - added by ami_stuff 13 months ago.
vmx1_lq.avi (198.4 KB ) - added by ami_stuff 13 months ago.

Download all attachments as: .zip

Change History (4)

by ami_stuff, 13 months ago

Attachment: vmx1_hq.avi added

by ami_stuff, 13 months ago

Attachment: vmx1_sq.avi added

by ami_stuff, 13 months ago

Attachment: vmx1_lq.avi added

comment:1 by Elon Musk, 13 months ago

Resolution: fixed
Status: newclosed

Fixed in 00a837c70ca2056fbd81ca4af41692e34ef79b69

The blocking/artifacts because of quantization factor is tracked in another vmix ticket, which should still not be closed. Need to decipher that table factors fully.

Note: See TracTickets for help on using tickets.