[Ffmpeg-devel] interlace and motion artifacts

Dieter freebsd
Tue Feb 14 11:09:04 CET 2006


[ I posted this in -user a few days ago, but didn't get any
replies, so trying -devel.  Some of the artifacts look
like something an interlace problem might cause. ]

Up to date CVS of ffmpeg.  Converting mpeg2ts to DV format.

If the input is 480i or 1080i, the output often (not always)
has massive amounts of motion artifacts.

I have not observed this if the input is 720p.

I suspect this might be due to some problem with interlace.
(I am assuming that ffmpeg creates interlaced DV format, yes?)
I haven't found any flags (e.g. -v) that report what ffmpeg is
doing with interlace.

Suggestions?

Example:

ffmpeg -async 100 -i 480i.mpeg2ts -padcolor 010101 -padtop 0 -padbottom 0 \
 -padleft 8 -padright 8 -s 704x480 -r 29.97 /var/tmp/480i.dv

FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --prefix=/app --disable-bktr --disable-ffserver --disable-ffplay --disable-audio-beos --disable-v4l --enable-memalign-hack --enable-gpl --disable-network --disable-strip --enable-a52 --extra-cflags=-DHAVE_LRINTF 
  libavutil version: 49.0.0
  libavcodec version: 51.2.0
  libavformat version: 50.2.0
  built on Feb  9 2006 16:12:13, gcc: 3.4.4 [FreeBSD] 20050518
Input #0, mpegts, from '480i.mpeg2ts':
  Duration: 00:01:20.1, start: 68608.499911, bitrate: 5982 kb/s
  Stream #0.0[0x0]: Data: mpeg2ts, 7068 kb/s
  Stream #0.1[0x41], 29.97 fps(r): Video: mpeg2video, yuv420p, 704x480, 15000 kb/s
  Stream #0.2[0x44]: Audio: ac3, 48000 Hz, stereo, 384 kb/s
Output #0, dv, to '/var/tmp/480i.dv':
  Stream #0.0, 29.97 fps(c): Video: dvvideo, yuv420p, 720x480, q=2-31, 200 kb/s
  Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
  Stream #0.2 -> #0.1
Press [q] to stop encoding
[mpeg2video @ 0x815d10]ac-tex damaged at 42 9itrate=28766.6kbits/s    
[mpeg2video @ 0x815d10]Warning MVs not available
[mpeg2video @ 0x815d10]concealing 924 DC, 924 AC, 924 MV errors
[dvvideo @ 0x815d10]Can't process DV frame #2390. Insufficient audio data or severe sync problem.
[dvvideo @ 0x815d10]Can't process DV frame #2390. Insufficient audio data or severe sync problem.
[dvvideo @ 0x815d10]Can't process DV frame #2390. Insufficient audio data or severe sync problem.
[dvvideo @ 0x815d10]Can't process DV frame #2390. Insufficient audio data or severe sync problem.
[dvvideo @ 0x815d10]Can't process DV frame #2390. Insufficient audio data or severe sync problem.
[dvvideo @ 0x815d10]Can't process DV frame #2390. Insufficient audio data or severe sync problem.
[dvvideo @ 0x815d10]Can't process DV frame #2390. Insufficient audio data or severe sync problem.
[dvvideo @ 0x815d10]Can't process DV frame #2390. Insufficient audio data or severe sync problem.
[dvvideo @ 0x815d10]Can't process DV frame #2390. Insufficient audio data or severe sync problem.
[dvvideo @ 0x815d10]Can't process DV frame #2390. Insufficient audio data or severe sync problem.
frame= 2401 q=0.0 Lsize=  280078kB time=79.8 bitrate=28760.5kbits/s    
video:281016kB audio:14958kB global headers:0kB muxing overhead -5.370581%





More information about the ffmpeg-devel mailing list