[FFmpeg-user] problematic lines when encoding to prores format

Kusno Mudiarto mudiarto at gmail.com
Tue Jun 19 01:12:01 CEST 2012


Hi All,

I am sorry in advance if I post this in the wrong mailing list.

I have problem when I try to convert a dvd to apple prores 422 (apch)
format. The encoded video has lines artifact. It doesn't show up all the
times though, usually just when somebody moves to fast, or on scene changes

see the picture here : http://imgur.com/qED4j
and you can see the lines very visibly around the hand.

Here is the command that I use :

cat VIDEO_TS/VTS_01_[1234].VOB | nice ffmpeg -i - -vcodec prores -profile:v
3 -s 720x480 -aspect 3:2 -r 29.970 -acodec pcm_s16be -ar 48000 -ac 2 -t 60
movie.mov


and here is the output of the program :


ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers

  built on Jun 16 2012 07:49:59 with clang 3.1 (tags/Apple/clang-318.0.58)

  configuration: --prefix=/usr/local/Cellar/ffmpeg/0.11.1 --enable-shared
--enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables
--enable-libfreetype --cc=/usr/bin/clang --enable-libx264 --enable-libfaac
--enable-libmp3lame --enable-librtmp --enable-libtheora --enable-libvorbis
--enable-libvpx --enable-libxvid --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libass --enable-libvo-aacenc
--disable-ffplay

  libavutil      51. 54.100 / 51. 54.100

  libavcodec     54. 23.100 / 54. 23.100

  libavformat    54.  6.100 / 54.  6.100

  libavdevice    54.  0.100 / 54.  0.100

  libavfilter     2. 77.100 /  2. 77.100

  libswscale      2.  1.100 /  2.  1.100

  libswresample   0. 15.100 /  0. 15.100

  libpostproc    52.  0.100 / 52.  0.100

[mpeg @ 0x7fc07201ae00] max_analyze_duration 5000000 reached at 5005000

[mpeg @ 0x7fc07201ae00] Estimating duration from bitrate, this may be
inaccurate

Input #0, mpeg, from 'pipe:':

  Duration: N/A, start: 0.280633, bitrate: 4506 kb/s

    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 8:9
DAR 4:3], 4282 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc

    Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 224 kb/s

[buffer @ 0x7fc071c47960] w:720 h:480 pixfmt:yuv420p tb:1/90000 sar:8/9
sws_param:flags=2

[buffersink @ 0x7fc071c484c0] No opaque field provided

[scale @ 0x7fc071c485c0] w:720 h:480 fmt:yuv420p sar:8/9 -> w:720 h:480
fmt:yuv422p10le sar:8/9 flags:0x4

Output #0, mov, to 'help.mov':

  Metadata:

    encoder         : Lavf54.6.100

    Stream #0:0: Video: prores (apch) (apch / 0x68637061), yuv422p10le,
720x480 [SAR 1:1 DAR 3:2], q=2-31, 200 kb/s, 2997 tbn, 29.97 tbc

    Stream #0:1: Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, stereo,
s16, 1536 kb/s

Stream mapping:

  Stream #0:0 -> #0:0 (mpeg2video -> prores)

  Stream #0:1 -> #0:1 (ac3 -> pcm_s16be)

[mpeg2video @ 0x7fc07201d200] warning: first frame is no keyframe

frame= 1798 fps= 44 q=0.0 Lsize=  295976kB time=00:00:59.99
bitrate=40415.1kbits/s

video:284702kB audio:11250kB global headers:0kB muxing overhead 0.008116%


I tried to experiment with quality, or aspect ratio, but I am still unable
to remove those lines. Is there options / tips I could use to remove /
reduce those lines, or is it the limitation of the ffmpeg prores codec ?


Thank you very much in advance,


kusno mudiarto


More information about the ffmpeg-user mailing list