New submission from Lou <[email protected]>:

Using this sample as input:
http://samples.mplayerhq.hu/DV-raw/

yadif adds artifacts on the top row of pixels on Arch Linux 64-bit. These
artifacts appear with both ffplay and ffmpeg. The artifacts do not appear on
videos encoded with 32-bit Arch Linux and 32-bit Ubuntu Lucid.

Arch Linux 64-bit
$ ffmpeg -v 9 -loglevel 99 -i small_test2.dv -an -vf yadif -qscale 3 
yadif-64.mp4
FFmpeg version SVN-r25336, Copyright (c) 2000-2010 the FFmpeg developers
  built on Oct  4 2010 14:01:53 with gcc 4.5.1
  configuration: --prefix=/usr --enable-gpl --enable-libmp3lame --enable-libx264
--arch=x86_64
  libavutil     50.32. 1 / 50.32. 1
  libavcore      0. 9. 1 /  0. 9. 1
  libavcodec    52.92. 0 / 52.92. 0
  libavformat   52.79. 0 / 52.79. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.48. 0 /  1.48. 0
  libswscale     0.12. 0 /  0.12. 0
[NULL @ 0x2d3b470] Probed with size=131072 and score=75
[dv @ 0x2d3b470] All info found
[dv @ 0x2d3b470] Estimating duration from bitrate, this may be inaccurate
Input #0, dv, from 'small_test2.dv':
  Duration: 00:00:02.84, start: 0.000000, bitrate: 28800 kb/s
    Stream #0.0, 1, 1/25: Video: dvvideo, yuv420p, 720x576, 1/25, 28800 kb/s,
PAR 16:15 DAR 4:3, 25 tbr, 25 tbn, 25 tbc
    Stream #0.1, 1, 1/30000: Audio: pcm_s16le, 32000 Hz, 2 channels, s16, 1024 
kb/s
    Stream #0.2, 1, 1/30000: Audio: pcm_s16le, 32000 Hz, 2 channels, s16, 1024 
kb/s
[buffer @ 0x2d41e50] w:720 h:576 pixfmt:yuv420p
[yadif @ 0x2d42270] mode:0 parity:-1
Output #0, mp4, to 'yadif-64.mp4':
  Metadata:
    encoder         : Lavf52.79.0
    Stream #0.0, 0, 1/25: Video: mpeg4, yuv420p, 720x576 [PAR 16:15 DAR 4:3],
1/25, q=2-31, 200 kb/s, 25 tbn, 25 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
[dvvideo @ 0x2d3c720] AC EOB marker is absent pos=71bitrate=2529.0kbits/s    
frame=   71 fps=  0 q=3.0 Lsize=     879kB time=2.84 bitrate=2535.5kbits/s    
video:878kB audio:0kB global headers:0kB muxing overhead 0.149983%

$ ffplay -loglevel 99 yadif-64.mp4
FFplay version SVN-r25336, Copyright (c) 2003-2010 the FFmpeg developers
  built on Oct  4 2010 14:01:53 with gcc 4.5.1
  configuration: --prefix=/usr --enable-gpl --enable-libmp3lame --enable-libx264
--arch=x86_64
  libavutil     50.32. 1 / 50.32. 1
  libavcore      0. 9. 1 /  0. 9. 1
  libavcodec    52.92. 0 / 52.92. 0
  libavformat   52.79. 0 / 52.79. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.48. 0 /  1.48. 0
  libswscale     0.12. 0 /  0.12. 0
[NULL @ 0x1b21830] Probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1b21830] ISO: File Type Major Brand: isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1b21830] All info found
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'yadif-64.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf52.79.0
  Duration: 00:00:02.84, start: 0.000000, bitrate: 2535 kb/s
    Stream #0.0(und), 1, 1/25: Video: mpeg4, yuv420p, 720x576 [PAR 16:15 DAR
4:3], 1/25, 2531 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
   4.81 A-V:  0.000 s:0.0 aq=    0KB vq=    0KB sq=    0B f=0/0   0/0 

MPlayer's yadif does not introduce any artifacts:
mplayer -vf yadif -noborder small_test2.dv

----------
messages: 12137
nosy: FakeOutdoorsman
priority: normal
status: new
substatus: new
title: yadif adds artifacts to top row of pixels
type: bug

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2272>
________________________________________________

Reply via email to