Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#2011 closed defect (fixed)

i263: artefacts with deblocking filter

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

Description

I have tested i263 codec a bit more and found another issue.

Attached file was encoded with "deblocking filter" option enabled, (this is a normal video, not with pb-frames) and ffmpeg decodes it with visible artefacts.

http://www.datafilehost.com/download-09b7dbe4.html

C:\>ffmpeg -i normal_deblocking_filter.avi out.avi
ffmpeg version N-47675-g20899c5 Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 10 2012 02:38:00 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 79.101 / 54. 79.101
  libavformat    54. 49.100 / 54. 49.100
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 26.101 /  3. 26.101
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, avi, from 'normal_deblocking_filter.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.10.2 (build 2542/release)
  Duration: 00:00:15.12, start: 0.000000, bitrate: 1175 kb/s
    Stream #0:0: Video: h263i (I263 / 0x33363249), yuv420p, 320x240, 25 tbr, 25
tbn, 25 tbc
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf54.49.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240, q=2-31, 200
 kb/s, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h263i -> mpeg4)
Press [q] to stop, [?] for help
frame=  137 fps=0.0 q=5.8 size=     262kB time=00:00:05.48 bitrate= 391.9kbits/s
frame=  247 fps=0.0 q=12.1 size=     473kB time=00:00:09.88 bitrate= 392.1kbits/
frame=  378 fps=255 q=5.8 Lsize=     635kB time=00:00:15.12 bitrate= 344.1kbits/
s
video:620kB audio:0kB subtitle:0 global headers:0kB muxing overhead 2.352102%

Attachments (3)

normal_deblocking_filter.avi (2.1 MB) - added by cehoyos 7 years ago.
deblocking.avi (670.5 KB) - added by ami_stuff 6 years ago.
deblocking_unrestricted.avi (669.5 KB) - added by ami_stuff 6 years ago.

Change History (7)

Changed 7 years ago by cehoyos

comment:1 Changed 7 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords h263i added
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master

Artefacts are visible after ~10 seconds.

comment:2 Changed 6 years ago by ami_stuff

Not sure if it will help to fix this ticket, but file encoded with "debloking filter" + "unrestricted motion vetor" deodes correctly (samples attached).

Changed 6 years ago by ami_stuff

Changed 6 years ago by ami_stuff

comment:3 Changed 6 years ago by ami_stuff

  • Resolution set to fixed
  • Status changed from open to closed

looks like something fixed this ticket

comment:4 Changed 6 years ago by cehoyos

Fixed by Michael in 7b1e0beb

Note: See TracTickets for help on using tickets.