Sounds like swapped half-frames in interlaced material...
just an idea.
Georg



On Thursday 30 December 2010 13:55:34 Herman Robak wrote:
> Forwarding this to the proper mailing list address:
> 
> ------- Forwarded message -------
> From: "Sape Sikkema (Telfort)" <[email protected]>
> To: [email protected]
> Cc:
> Subject: Jerky movements in rendered movies
> Date: Thu, 30 Dec 2010 13:28:27 +0100
> 
>   Dear Sir,
> 
>   I'm using Cinelerra for a while, but I haven't been able to produce an
>  acceptable end result. I encounter regular jerky movements in the viewer
>  window as well as in the rendered output file. In the beginning I thought
>  it was poor performance of the video card, but it is also present when
>  playing in the home cinema set.
> 
>   My plan is to make a PAL DVD with the best possible quality, playable on
>  a CRT TV-set. I've learned from various forums it should therefore stay
>  interlaced, but you may correct me if I'm wrong.
> 
>   I use Ubuntu 10.04 LTS and Cinelerra 2.1.5CV build date: Dec 11 07:48:12
>  UTC 2010, Quicktime version 2.2.0 (Internal ffmpeg) and Libmpeg3 version
>  1.7.0.
> 
>   The computer has the following specs: Processor 4x Intel(R) Core(TM)2
>  Quad  CPU   Q8200  @ 2.33GHz, Memory : 3348MB (761MB used), ATI Radeon HD
>  4300/4500 Series.
> 
>   The camera I have is a JVC Everio GZ-MG505E which produces MOD files. In
>  fact they are MPEG-PS streams with AC-3 sound.:
> 
> mediainfo MOV040.MOD
> General
> Complete name                    : MOV040.MOD
> Format                           : MPEG-PS
> File size                        : 6.42 MiB
> Duration                         : 5s 640ms
> Overall bit rate                 : 9 543 Kbps
> 
> Video
> ID                               : 224 (0xE0)
> Format                           : MPEG Video
> Format version                   : Version 2
> Format profile                   : m...@main
> Format settings, BVOP            : Yes
> Format settings, Matrix          : Default
> Format_Settings_GOP              : M=3, N=12
> Duration                         : 5s 640ms
> Bit rate mode                    : Variable
> Bit rate                         : 8 780 Kbps
> Nominal bit rate                 : 9 200 Kbps
> Width                            : 720 pixels
> Height                           : 576 pixels
> Display aspect ratio             : 16:9
> Frame rate                       : 25.000 fps
> Standard                         : PAL
> Resolution                       : 8 bits
> Colorimetry                      : 4:2:0
> Scan type                        : Interlaced
> Scan order                       : Top Field First
> Bits/(Pixel*Frame)               : 0.847
> Stream size                      : 5.90 MiB (92%)
> 
> Audio
> ID                               : 128 (0x80)
> Format                           : AC-3
> Format/Info                      : Audio Coding 3
> Duration                         : 5s 536ms
> Bit rate mode                    : Constant
> Bit rate                         : 384 Kbps
> Channel(s)                       : 2 channels
> Channel positions                : Front: L R
> Sampling rate                    : 48.0 KHz
> Video delay                      : -80ms
> Stream size                      : 260 KiB (4%)
> 
>   Since Cinelerra cannot read these files I use a script named modcopy
>  (http://modcopy.sourceforge.net/) to convert them to mpg and a more decent
>  name (rather than MOV-hexadecimal number).
> 
> mediainfo MOV-20081003-074430.mpg
> General
> Complete name                    : MOV-20081003-074430.mpg
> Format                           : MPEG-PS
> File size                        : 6.42 MiB
> Duration                         : 5s 640ms
> Overall bit rate                 : 9 543 Kbps
> 
> Video
> ID                               : 224 (0xE0)
> Format                           : MPEG Video
> Format version                   : Version 2
> Format profile                   : m...@main
> Format settings, BVOP            : Yes
> Format settings, Matrix          : Default
> Format_Settings_GOP              : M=3, N=12
> Duration                         : 5s 640ms
> Bit rate mode                    : Variable
> Bit rate                         : 8 780 Kbps
> Nominal bit rate                 : 9 200 Kbps
> Width                            : 720 pixels
> Height                           : 576 pixels
> Display aspect ratio             : 2.35:1
> Frame rate                       : 25.000 fps
> Standard                         : PAL
> Resolution                       : 8 bits
> Colorimetry                      : 4:2:0
> Scan type                        : Interlaced
> Scan order                       : Top Field First
> Bits/(Pixel*Frame)               : 0.847
> Stream size                      : 5.90 MiB (92%)
> 
> Audio
> ID                               : 128 (0x80)
> Format                           : AC-3
> Format/Info                      : Audio Coding 3
> Duration                         : 5s 536ms
> Bit rate mode                    : Constant
> Bit rate                         : 384 Kbps
> Channel(s)                       : 2 channels
> Channel positions                : Front: L R
> Sampling rate                    : 48.0 KHz
> Video delay                      : -80ms
> Stream size                      : 260 KiB (4%)
> 
>   ffmpeg -i of this file shows:
> 
> ffmpeg -i MOV-20081003-074430.mpg
> FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice
>  Bellard, et al. configuration: --extra-version=4:0.5.1-1ubuntu1
>  --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau
>  --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex
>  --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib
>  --disable-stripping --disable-vhook --enable-runtime-cpudetect
>  --enable-gpl --enable-postproc --enable-swscale --enable-x11grab
>  --enable-libdc1394 --enable-shared --disable-static libavutil     49.15. 0
>  / 49.15. 0
>    libavcodec    52.20. 1 / 52.20. 1
>    libavformat   52.31. 0 / 52.31. 0
>    libavdevice   52. 1. 0 / 52. 1. 0
>    libavfilter    0. 4. 0 /  0. 4. 0
>    libswscale     0. 7. 1 /  0. 7. 1
>    libpostproc   51. 2. 0 / 51. 2. 0
>    built on Mar  4 2010 12:41:55, gcc: 4.4.3
> 
> Seems stream 0 codec frame rate differs from container frame rate: 50.00
>  (50/1) -> 25.00 (25/1) Input #0, mpeg, from 'MOV-20081003-074430.mpg':
>    Duration: 00:00:05.72, start: 0.239456, bitrate: 9409 kb/s
>      Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR
>  16:9], 9200 kb/s, 25 tbr, 90k tbn, 50 tbc Stream #0.1[0x80]: Audio: ac3,
>  48000 Hz, stereo, s16, 384 kb/s
> 
>   >From the mediainfo data you can see nothing changed (except the aspect
>   > ratio from 16:9 to 2.35:1). I also checked both files with mplayer -vf
>   > tfields=1:0 <video.mpg> to see if interlace order is indeed correct. I
>   > can confirm both are indeed TFF.
> 
>   The video preferences I set in Cinelerra are: frame rate 25.000, width
>  720, height 576, W ratio 1.000, H ratio 1.000, Color model YUVA-8 bit,
>  Aspect ratio 16.000:9.000, Interlace mode TFF
> 
>   Here comes the problem: when I load the mpg files in Cinelerra resources
>  window and move them to the viewer window they don't play back correctly.
>  This particular scene is a bridge with cars passing by at high speed. At a
>  certain moment cars suddenly jump back and forth. . I rendered the whole
>  movie in Cinelerra with my own created Use Pipe:  ffmpeg -f yuv4mpegpipe
>  -i - -y -target pal-dvd -flags +ilme+ildct -f mpeg2video % to a m2v file
>  with YUV4MPEG Stream format (since the supplied ffmpeg pipe with -ilme
>  -ildct -hq does not work in the ffmpeg version I have). This m2v file
>  contains the errors described when played in any player. I checked the
>  original MOD, the original MOD file renamed to mpg and modcopied mpg file
>  in all players I have, like Avidemux, Totem, VLC, Mplayer and Xine. I
>  could not find any playback defect in any file.
> 
>   My questions:
>   1 What could have gone wrong with Cinelerra showing corrupt images? It is
>  supposed to leave resource files untouched and just make a road book from
>  which file to take which frames. 2. Is there some setting I've done wrong?
>   3. Is there something I can improve on the ffmpeg options?
>   4. If someone wants to investigate the raw material I can send or post it
>  somewhere. Please provide instructions.
> 
>   In the mean time I did various tests on multiple computers, multiple
>  versions of Cinelerra but there is no improvement. I'm hesitant to redo
>  the whole movie in e.g. Kdenlive as it contains over 700 scenes. I would
>  really appreciate your help.
> 
>   Yours Sincerely,
> 
>   Sape
> 

-- 

kurts film / schoepfung & wandel
c/o dr. hooss
bäckergang 15
d 23617 stockelsdorf
tel +49-(0)170-5890122
www.kurts-film.net

_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to