Finally I figured out that three effects in combo are generating the jitter in multi-threaded rendering:
Blue Screen KeySpillMopup Alpha Operations Disabling them didn't produce any jitter as follows. Hope this helps. ---- //STARTING RENDERING: false , false , "/usr/bin/melt" , "atsc_1080p_30" , "avformat" , "-" , "/home/zenny/kdenlive/scripts/multi_threads4_wo_blue_screen_keyspillmopup_alphaoperations_only.sh.mlt" , "/home/zenny/kdenlive/multi_threads4_wo_blue_screen_keyspillmopup_alphaoperations_only.mp4" , () , ("properties=x264-medium", "g=120", "crf=20", "ab=160k", "progressive=1", "threads=4", "real_time=-4") , 0 , 613 Started render process: "/usr/bin/melt" "/home/zenny/kdenlive/scripts/multi_threads4_wo_blue_screen_keyspillmopup_alphaoperations_only.sh.mlt in=0 out=613 -profile atsc_1080p_30 -consumer avformat:/home/zenny/kdenlive/multi_threads4_wo_blue_screen_keyspillmopup_alphaoperations_only.mp4 progress=1 properties=x264-medium g=120 crf=20 ab=160k progressive=1 threads=4 real_time=-4" Rendering of "/home/zenny/kdenlive/multi_threads4_wo_blue_screen_keyspillmopup_alphaoperations_only.mp4" finished On 11/20/14, Zenny <garbytr...@gmail.com> wrote: > Hi again: > > I disabled Blue Screen only and rendered, still the jitter existed. > Again I disabled keyspillmopup only. Both produced jitter. > > I tried once again by disabling Blue Screen and Keyspillmopup, still > it produced jitter. > > So It cannot be ruled out that the culprit is Blue Screen. > > Seems like it is more than those two effects for sure. If you need > videos, I can supply you. > > --------------- > > //STARTING RENDERING: false , false , "/usr/bin/melt" , > "atsc_1080p_30" , "avformat" , "-" , > "/home/zenny/kdenlive/scripts/multi_threads4_wo_blue_screen_only.sh.mlt" > , "/home/zenny/kdenlive/multi_threads4_wo_blue_screen_only.mp4" , () , > ("properties=x264-medium", "g=120", "crf=20", "ab=160k", > "progressive=1", "threads=4", "real_time=-4") , 0 , 613 > Started render process: "/usr/bin/melt" > "/home/zenny/kdenlive/scripts/multi_threads4_wo_blue_screen_only.sh.mlt > in=0 out=613 -profile atsc_1080p_30 -consumer > avformat:/home/zenny/kdenlive/multi_threads4_wo_blue_screen_only.mp4 > progress=1 properties=x264-medium g=120 crf=20 ab=160k progressive=1 > threads=4 real_time=-4" > Rendering of "/home/zenny/kdenlive/multi_threads4_wo_blue_screen_only.mp4" > finished > //STARTING RENDERING: false , false , "/usr/bin/melt" , > "atsc_1080p_30" , "avformat" , "-" , > "/home/zenny/kdenlive/scripts/multi_threads4_wo_keyspillmopup_only.sh.mlt" > , "/home/zenny/kdenlive/multi_threads4_wo_keyspillmopup_only.mp4" , () > , ("properties=x264-medium", "g=120", "crf=20", "ab=160k", > "progressive=1", "threads=4", "real_time=-4") , 0 , 613 > Started render process: "/usr/bin/melt" > "/home/zenny/kdenlive/scripts/multi_threads4_wo_keyspillmopup_only.sh.mlt > in=0 out=613 -profile atsc_1080p_30 -consumer > avformat:/home/zenny/kdenlive/multi_threads4_wo_keyspillmopup_only.mp4 > progress=1 properties=x264-medium g=120 crf=20 ab=160k progressive=1 > threads=4 real_time=-4" > Rendering of > "/home/zenny/kdenlive/multi_threads4_wo_keyspillmopup_only.mp4" > finished > //STARTING RENDERING: false , false , "/usr/bin/melt" , > "atsc_1080p_30" , "avformat" , "-" , > "/home/zenny/kdenlive/scripts/multi_threads4_wo_blue_screen_keyspillmopup_only.sh.mlt" > , > "/home/zenny/kdenlive/multi_threads4_wo_blue_screen_keyspillmopup_only.mp4" > , () , ("properties=x264-medium", "g=120", "crf=20", "ab=160k", > "progressive=1", "threads=4", "real_time=-4") , 0 , 613 > Started render process: "/usr/bin/melt" > "/home/zenny/kdenlive/scripts/multi_threads4_wo_blue_screen_keyspillmopup_only.sh.mlt > in=0 out=613 -profile atsc_1080p_30 -consumer > avformat:/home/zenny/kdenlive/multi_threads4_wo_blue_screen_keyspillmopup_only.mp4 > progress=1 properties=x264-medium g=120 crf=20 ab=160k progressive=1 > threads=4 real_time=-4" > Rendering of > "/home/zenny/kdenlive/multi_threads4_wo_blue_screen_keyspillmopup_only.mp4" > finished > > On 11/20/14, Zenny <garbytr...@gmail.com> wrote: >> Okay, here is an update: >> >> The reason for jitter is the chroma key (blue screen) effect while >> multi-threaded. >> >> As you advised, I rendered with a single thread and also by disabling >> effects one by one. Like you stated, when Chroma Key effect (Blue >> Screen) is disabled, the jitter went away. >> >> However, except the single-threaded with effects, all were ran with >> the command line with the scripts generated by kdenlive. >> >> MLT is at 0.9.3+git20141107.3d96fa5c-0ubuntu0~sunab~trusty1 >> KDEnlive is at 0.9.10+git20141112.5e5e462a-0ubuntu0~sunab~trusty1 >> frei0r-plugins is at 1.4.0+git20141112.baa08d27-0ubuntu0~sunab~trusty1 >> >> If you need, I can share video, however below is the output from the >> command line fyi. >> >> ---- >> >> //STARTING RENDERING: true , false , "/usr/bin/melt" , >> "atsc_1080p_30" , "avformat" , "-" , >> "/tmp/kde-zenny/kdenliveJE4550.mlt" , >> "/home/zenny/kdenlive/single_thread_with_all_effects.mp4" , () , >> ("properties=x264-medium", "g=120", "crf=20", "ab=160k", >> "progressive=1", "threads=4", "real_time=-1") , 0 , 613 >> QDBusConnection: session D-Bus connection created before >> QCoreApplication. Application may misbehave. >> QDBusConnection: session D-Bus connection created before >> QCoreApplication. Application may misbehave. >> Started render process: "/usr/bin/melt" >> "/tmp/kde-zenny/kdenliveJE4550.mlt in=0 out=613 -profile atsc_1080p_30 >> -consumer >> avformat:/home/zenny/kdenlive/single_thread_with_all_effects.mp4 >> progress=1 properties=x264-medium g=120 crf=20 ab=160k progressive=1 >> threads=4 real_time=-1" >> Object::connect: No such signal >> org::freedesktop::UPower::DeviceAdded(QDBusObjectPath) >> Object::connect: No such signal >> org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath) >> Rendering of "/home/zenny/kdenlive/single_thread_with_all_effects.mp4" >> finished >> Object::connect: No such signal >> org::freedesktop::UPower::DeviceAdded(QDBusObjectPath) >> Object::connect: No such signal >> org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath) >> Object::connect: No such signal >> org::freedesktop::UPower::DeviceAdded(QDBusObjectPath) >> Object::connect: No such signal >> org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath) >> //STARTING RENDERING: false , false , "/usr/bin/melt" , >> "atsc_1080p_30" , "avformat" , "-" , >> "/home/zenny/kdenlive/scripts/multhreaded4_with_effects_001.sh.mlt" , >> "/home/zenny/kdenlive/multi_threads4_with_all_effects.mp4" , () , >> ("properties=x264-medium", "g=120", "crf=20", "ab=160k", >> "progressive=1", "threads=4", "real_time=-4") , 0 , 613 >> Started render process: "/usr/bin/melt" >> "/home/zenny/kdenlive/scripts/multhreaded4_with_effects_001.sh.mlt >> in=0 out=613 -profile atsc_1080p_30 -consumer >> avformat:/home/zenny/kdenlive/multi_threads4_with_all_effects.mp4 >> progress=1 properties=x264-medium g=120 crf=20 ab=160k progressive=1 >> threads=4 real_time=-4" >> Rendering of "/home/zenny/kdenlive/multi_threads4_with_all_effects.mp4" >> finished >> //STARTING RENDERING: false , false , "/usr/bin/melt" , >> "atsc_1080p_30" , "avformat" , "-" , >> "/home/zenny/kdenlive/scripts/multhreaded4_wo_alpha_operations_test_001.sh.mlt" >> , "/home/zenny/kdenlive/multi_threads4_wo_alpah_operations.mp4" , () , >> ("properties=x264-medium", "g=120", "crf=20", "ab=160k", >> "progressive=1", "threads=4", "real_time=-4") , 0 , 613 >> Started render process: "/usr/bin/melt" >> "/home/zenny/kdenlive/scripts/multhreaded4_wo_alpha_operations_test_001.sh.mlt >> in=0 out=613 -profile atsc_1080p_30 -consumer >> avformat:/home/zenny/kdenlive/multi_threads4_wo_alpah_operations.mp4 >> progress=1 properties=x264-medium g=120 crf=20 ab=160k progressive=1 >> threads=4 real_time=-4" >> Rendering of >> "/home/zenny/kdenlive/multi_threads4_wo_alpah_operations.mp4" >> finished >> //STARTING RENDERING: false , false , "/usr/bin/melt" , >> "atsc_1080p_30" , "avformat" , "-" , >> "/home/zenny/kdenlive/scripts/multhreaded_wo_alphao_keyspillmopup_test_001.sh.mlt" >> , "/home/zenny/kdenlive/multi_threads4_wo_alpha_keyspillmopup.mp4" , >> () , ("properties=x264-medium", "g=120", "crf=20", "ab=160k", >> "progressive=1", "threads=4", "real_time=-1") , 0 , 613 >> Started render process: "/usr/bin/melt" >> "/home/zenny/kdenlive/scripts/multhreaded_wo_alphao_keyspillmopup_test_001.sh.mlt >> in=0 out=613 -profile atsc_1080p_30 -consumer >> avformat:/home/zenny/kdenlive/multi_threads4_wo_alpha_keyspillmopup.mp4 >> progress=1 properties=x264-medium g=120 crf=20 ab=160k progressive=1 >> threads=4 real_time=-1" >> Kdenlive-render: JOB ABORTED BY USER... >> //STARTING RENDERING: false , false , "/usr/bin/melt" , >> "atsc_1080p_30" , "avformat" , "-" , >> "/home/zenny/kdenlive/scripts/multhreaded_wo_alphao_keyspillmopup_test_001.sh.mlt" >> , "/home/zenny/kdenlive/multi_threads4_wo_alpha_keyspillmopup.mp4" , >> () , ("properties=x264-medium", "g=120", "crf=20", "ab=160k", >> "progressive=1", "threads=4", "real_time=-4") , 0 , 613 >> Started render process: "/usr/bin/melt" >> "/home/zenny/kdenlive/scripts/multhreaded_wo_alphao_keyspillmopup_test_001.sh.mlt >> in=0 out=613 -profile atsc_1080p_30 -consumer >> avformat:/home/zenny/kdenlive/multi_threads4_wo_alpha_keyspillmopup.mp4 >> progress=1 properties=x264-medium g=120 crf=20 ab=160k progressive=1 >> threads=4 real_time=-4" >> Rendering of >> "/home/zenny/kdenlive/multi_threads4_wo_alpha_keyspillmopup.mp4" >> finished >> //STARTING RENDERING: false , false , "/usr/bin/melt" , >> "atsc_1080p_30" , "avformat" , "-" , >> "/home/zenny/kdenlive/scripts/multi_threads4_wo_alpha_keyspillmopup_blue_screen.sh.mlt" >> , >> "/home/zenny/kdenlive/multi_threads4_wo_alpha_keyspillmopup_blue_screen.mp4" >> , () , ("properties=x264-medium", "g=120", "crf=20", "ab=160k", >> "progressive=1", "threads=4", "real_time=-4") , 0 , 613 >> Started render process: "/usr/bin/melt" >> "/home/zenny/kdenlive/scripts/multi_threads4_wo_alpha_keyspillmopup_blue_screen.sh.mlt >> in=0 out=613 -profile atsc_1080p_30 -consumer >> avformat:/home/zenny/kdenlive/multi_threads4_wo_alpha_keyspillmopup_blue_screen.mp4 >> progress=1 properties=x264-medium g=120 crf=20 ab=160k progressive=1 >> threads=4 real_time=-4" >> Rendering of >> "/home/zenny/kdenlive/multi_threads4_wo_alpha_keyspillmopup_blue_screen.mp4" >> finished >> >> On 11/19/14, Dan Dennedy <d...@dennedy.org> wrote: >>> On Wed, Nov 19, 2014 at 4:27 AM, Zenny <garbytr...@gmail.com> wrote: >>> >>>> On 11/18/14, Dan Dennedy <d...@dennedy.org> wrote: >>>> > On Tue, Nov 18, 2014 at 11:13 AM, Zenny <garbytr...@gmail.com> wrote: >>>> > >>>> >> Hi again: >>>> >> >>>> >> Trying to help some friends to create composite video. But when I >>>> >> try >>>> >> to render using a single processor, the rendering is fine, but when >>>> >> tried with multiple processors, it produces jitters as seen on the >>>> >> attachments (20s of videos respectively for comparison). >>>> >> >>>> >> Some filter (Effect in Kdenlive) is having a problem with >>>> >> multi-threading, >>>> >>>> >>>> I came across a forum post which stated otherwise: >>>> >>>> https://forum.kde.org/viewtopic.php?f=265&t=115590&sid=5254b0bb04f00274298cb7dfb3755286&start=15#p324465 >>>> >>>> >>> On the contrary, that forum confirms my allegation! There _is_ an effect >>> that is causing the problem. It is not difficult to isolate which one it >>> is, but only _after_ you have reproduced the problem. Alas, I have not >>> reproduced the problem because no one has told me how. I see that user >>> jkolodziej's video also is doing some chroma key effect. So, you guys >>> can >>> either help out, or wait until I stumble upon it myself. Once the >>> offending >>> effect is isolated, it is quick and easy to make a fix that prevents >>> multi-threaded access to that effect or its core routine. >>> >>> -- >>> +-DRD-+ >>> >> > ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel