Opened 8 years ago

Closed 8 years ago

#6209 closed defect (invalid)

lagarith decoder is not bitexact

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

what I did to test:

  1. created rawvideo rgb24 "input.avi" file
  1. ffmpeg -i input.avi -f rawvideo input.raw
  1. imported "input.avi" file into VirtualDub and encoded it as lagarith rgb (default) - lararith.avi
  1. ffmpeg -i lagarith.avi -f rawvideo lagarith.raw
  1. compared input.raw with lagarith.raw - files are not identical
  1. imported "lagarith.avi" into VirtualDub and decoded it to rawvideo rgb24 - lagadec.avi
  1. ffmpeg -i lagadec.avi -f rawvideo lagadec.raw
  1. compared input.raw with lagadec.raw - files are identical
C:\>ffmpeg -i C:\lagarith.avi out.avi
ffmpeg version 3.2.git Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.6.2 (GCC)
  configuration: --disable-pthreads --disable-ffprobe --enable-gpl
  libavutil      55. 47.100 / 55. 47.100
  libavcodec     57. 81.100 / 57. 81.100
  libavformat    57. 66.102 / 57. 66.102
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 74.100 /  6. 74.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
[lagarith @ 0237d5e0] Warning: not compiled with thread support, using thread em
ulation
Input #0, avi, from 'C:\lagarith.avi':
  Duration: 00:00:03.20, start: 0.000000, bitrate: 6636 kb/s
    Stream #0:0: Video: lagarith (LAGS / 0x5347414C), rgb24, 500x500, 6827 kb/s,
 10 fps, 10 tbr, 10 tbn, 10 tbc
[lagarith @ 0271fce0] Warning: not compiled with thread support, using thread em
ulation
[mpeg4 @ 02374c40] Warning: not compiled with thread support, using thread emula
tion
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf57.66.102
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 500x500, q=2-31, 200
 kb/s, 10 fps, 10 tbn, 10 tbc
    Metadata:
      encoder         : Lavc57.81.100 mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (lagarith (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
frame=   32 fps=0.0 q=25.7 Lsize=     268kB time=00:00:03.20 bitrate= 685.2kbits
/s speed=12.8x
video:261kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing o
verhead: 2.418098%

Attachments (1)

laga.7z (1.7 MB ) - added by ami_stuff 8 years ago.

Download all attachments as: .zip

Change History (2)

by ami_stuff, 8 years ago

Attachment: laga.7z added

comment:1 by ami_stuff, 8 years ago

Resolution: invalid
Status: newclosed

Nevermind, it's a difference between rawvideo rgb24 vs bgr24.

Note: See TracTickets for help on using tickets.