This forum has been archived. All content is frozen. Please use KDE Discuss instead.

frei0r.pixeliz0r works in kdenlive but not in melt (Win10)

Tags: None
(comma "," separated)
thn
Registered Member
Posts
10
Karma
0
Hi

I am trying to use the latest kdenlive 20.08.0 (installed or stand alone) in Windows 10 2004 x64, and the frei0r.pixeliz0r filter gives me troubles.

It works perfectly in the kdenlive preview and timeline, all dll seem to be well installed in
C:\Program Files\kdenlive\bin\data\kdenlive\effects
C:\Program Files\kdenlive\lib\frei0r-1
C:\Program Files\kdenlive\lib\mlt

However, when I render it to mp4 or webm, the filter does not show; it is simply inactive and ineffective, like no filter has been chosen, but without any error message as far as I can see.

How can I further debug the problem?

Best,

thn
vpinon
KDE Developer
Posts
708
Karma
6
OS
From a shell accessing kdenlive/bin, try that command:
melt -query filter=frei0r.pixeliz0r
Does it show the effect metadata?
Also if you abort the rendering before end, you can check a .kdenlive.log file in %TEMP% folder that stores melt output (this fie is deleted upon complete render)
thn
Registered Member
Posts
10
Karma
0
I get
Code: Select all
---
schema_version: 0,3
title: pixeliz0r
version: 1
identifier: frei0r.pixeliz0r
description: Pixelize input image.
creator: Gephex crew
type: filter
tags:
  - Video
parameters:
  - identifier: 0
    title: Block width
    description: 'Horizontal size of one "pixel"'
    type: float
    minimum: 0
    maximum: 1
    default: 0,0194444
    mutable: yes
    widget: spinner
  - identifier: 1
    title: Block height
    description: 'Vertical size of one "pixel"'
    type: float
    minimum: 0
    maximum: 1
    default: 0,0243056
    mutable: yes
    widget: spinner
...


and

Code: Select all
Started render process: C:/Program Files/kdenlive/bin/melt.exe -progress C:/Users/user/AppData/Local/Temp/kdenlive-IaaiLC.mlt
melt: Current Frame: 25, percentage: 20
melt: Current Frame: 36, percentage: 28
melt: Current Frame: 41, percentage: 32
melt: Current Frame: 45, percentage: 36
melt: Current Frame: 49, percentage: 39
melt: Current Frame: 52, percentage: 41
melt: Current Frame: 58, percentage: 46
melt: Current Frame: 62, percentage: 49
melt: Current Frame: 67, percentage: 53
melt: Current Frame: 72, percentage: 57
melt: Current Frame: 79, percentage: 63
melt: Current Frame: 82, percentage: 65
melt: Current Frame: 87, percentage: 69
melt: Current Frame: 91, percentage: 72
melt: Current Frame: 96, percentage: 76
melt: Current Frame: 100, percentage: 80
melt: Current Frame: 104, percentage: 83
melt: Current Frame: 111, percentage: 88
melt: Current Frame: 115, percentage: 92
melt: Current Frame: 120, percentage: 96
melt: Current Frame: 124, percentage: 99
Job aborted by user
thn
Registered Member
Posts
10
Karma
0
I tested with another keyframeable frei0r filter, glow, and it is just the same: works in the editor, but seems to get dropped during rendering.

Any more ideas?
vpinon
KDE Developer
Posts
708
Karma
6
OS
Can you share a sample project?
In your language, is the decimal separator comma "," or point "."?
thn
Registered Member
Posts
10
Karma
0
In german [DE] it is the comma (one thousand would be 1.000,0)

Please find a sample project hereafter, pixelizing a still image over 5 seconds. Please insert the link to your sample image and your home directory (root), and change meta.media.width and height.

Code: Select all
<?xml version='1.0' encoding='utf-8'?>
<mlt LC_NUMERIC="de_DE" producer="main_bin" version="6.23.0" root="C:/Users/user/Desktop">
 <profile frame_rate_num="25" sample_aspect_num="1" display_aspect_den="9" colorspace="709" progressive="1" description="HD 720p 25 fps" display_aspect_num="16" frame_rate_den="1" width="1280" height="720" sample_aspect_den="1"/>
 <producer id="producer0" in="00:00:00.000" out="00:00:04.960">
  <property name="length">00:00:05.000</property>
  <property name="eof">pause</property>
  <property name="resource">*** sample image goes here ***</property>
  <property name="ttl">25</property>
  <property name="aspect_ratio">1</property>
  <property name="progressive">1</property>
  <property name="seekable">1</property>
  <property name="meta.media.width">4032</property>
  <property name="meta.media.height">2268</property>
  <property name="mlt_service">qimage</property>
  <property name="kdenlive:clipname"/>
  <property name="kdenlive:duration">00:00:05.000</property>
  <property name="kdenlive:folderid">-1</property>
  <property name="kdenlive:id">2</property>
  <property name="kdenlive:file_size">4080818</property>
  <property name="kdenlive:file_hash">08720adde42304499f23f057950dad5c</property>
  <property name="global_feed">1</property>
 </producer>
 <playlist id="main_bin">
  <property name="kdenlive:docproperties.activeTrack">3</property>
  <property name="kdenlive:docproperties.audioChannels">2</property>
  <property name="kdenlive:docproperties.audioTarget">-1</property>
  <property name="kdenlive:docproperties.disablepreview">0</property>
  <property name="kdenlive:docproperties.documentid">1598198711769</property>
  <property name="kdenlive:docproperties.enableTimelineZone">0</property>
  <property name="kdenlive:docproperties.enableexternalproxy">0</property>
  <property name="kdenlive:docproperties.enableproxy">0</property>
  <property name="kdenlive:docproperties.externalproxyparams"/>
  <property name="kdenlive:docproperties.generateimageproxy">0</property>
  <property name="kdenlive:docproperties.generateproxy">0</property>
  <property name="kdenlive:docproperties.groups">[
]
</property>
  <property name="kdenlive:docproperties.kdenliveversion">20.08.0</property>
  <property name="kdenlive:docproperties.position">0</property>
  <property name="kdenlive:docproperties.previewextension"/>
  <property name="kdenlive:docproperties.previewparameters"/>
  <property name="kdenlive:docproperties.profile">atsc_720p_25</property>
  <property name="kdenlive:docproperties.proxyextension"/>
  <property name="kdenlive:docproperties.proxyimageminsize">2000</property>
  <property name="kdenlive:docproperties.proxyimagesize">800</property>
  <property name="kdenlive:docproperties.proxyminsize">1000</property>
  <property name="kdenlive:docproperties.proxyparams"/>
  <property name="kdenlive:docproperties.renderaudioquality">160</property>
  <property name="kdenlive:docproperties.rendercategory">Generic (HD for web, mobile devices...)</property>
  <property name="kdenlive:docproperties.renderendguide">-1</property>
  <property name="kdenlive:docproperties.renderexportaudio">0</property>
  <property name="kdenlive:docproperties.renderfield">0</property>
  <property name="kdenlive:docproperties.renderguide">0</property>
  <property name="kdenlive:docproperties.renderplay">0</property>
  <property name="kdenlive:docproperties.renderprofile">MP4 - the dominating format (H264/AAC)</property>
  <property name="kdenlive:docproperties.renderquality">22</property>
  <property name="kdenlive:docproperties.renderratio">1</property>
  <property name="kdenlive:docproperties.renderrescale">0</property>
  <property name="kdenlive:docproperties.renderrescaleheight">360</property>
  <property name="kdenlive:docproperties.renderrescalewidth">640</property>
  <property name="kdenlive:docproperties.renderscanning">0</property>
  <property name="kdenlive:docproperties.renderspeed">2</property>
  <property name="kdenlive:docproperties.renderstartguide">-1</property>
  <property name="kdenlive:docproperties.rendertcoverlay">0</property>
  <property name="kdenlive:docproperties.rendertctype">0</property>
  <property name="kdenlive:docproperties.rendertwopass">0</property>
  <property name="kdenlive:docproperties.renderurl">pixelize.mp4</property>
  <property name="kdenlive:docproperties.renderzone">0</property>
  <property name="kdenlive:docproperties.scrollPos">0</property>
  <property name="kdenlive:docproperties.seekOffset">30000</property>
  <property name="kdenlive:docproperties.version">1</property>
  <property name="kdenlive:docproperties.verticalzoom">1</property>
  <property name="kdenlive:docproperties.videoTarget">-1</property>
  <property name="kdenlive:docproperties.zonein">0</property>
  <property name="kdenlive:docproperties.zoneout">75</property>
  <property name="kdenlive:docproperties.zoom">3</property>
  <property name="kdenlive:expandedFolders"/>
  <property name="kdenlive:documentnotes"/>
  <property name="xml_retain">1</property>
  <entry producer="producer0" in="00:00:00.000" out="00:00:04.960"/>
 </playlist>
 <producer id="black_track" in="00:00:00.000" out="00:20:05.000">
  <property name="length">2147483647</property>
  <property name="eof">continue</property>
  <property name="resource">black</property>
  <property name="aspect_ratio">1</property>
  <property name="mlt_service">color</property>
  <property name="mlt_image_format">rgb24a</property>
  <property name="set.test_audio">0</property>
 </producer>
 <playlist id="playlist0">
  <property name="kdenlive:audio_track">1</property>
  <filter id="filter0">
   <property name="window">75</property>
   <property name="max_gain">20dB</property>
   <property name="mlt_service">volume</property>
   <property name="internal_added">237</property>
   <property name="disable">1</property>
  </filter>
  <filter id="filter1">
   <property name="channel">-1</property>
   <property name="mlt_service">panner</property>
   <property name="internal_added">237</property>
   <property name="start">0.5</property>
   <property name="disable">1</property>
  </filter>
 </playlist>
 <playlist id="playlist1"/>
 <tractor id="tractor0" in="00:00:00.000">
  <property name="kdenlive:audio_track">1</property>
  <property name="kdenlive:trackheight">67</property>
  <property name="kdenlive:collapsed">0</property>
  <property name="kdenlive:thumbs_format"/>
  <property name="kdenlive:audio_rec"/>
  <property name="kdenlive:timeline_active">1</property>
  <track hide="video" producer="playlist0"/>
  <track hide="both" producer="playlist1"/>
  <filter id="filter2">
   <property name="iec_scale">0</property>
   <property name="mlt_service">audiolevel</property>
   <property name="disable">1</property>
  </filter>
 </tractor>
 <playlist id="playlist2">
  <property name="kdenlive:audio_track">1</property>
  <filter id="filter3">
   <property name="window">75</property>
   <property name="max_gain">20dB</property>
   <property name="mlt_service">volume</property>
   <property name="internal_added">237</property>
   <property name="disable">1</property>
  </filter>
  <filter id="filter4">
   <property name="channel">-1</property>
   <property name="mlt_service">panner</property>
   <property name="internal_added">237</property>
   <property name="start">0.5</property>
   <property name="disable">1</property>
  </filter>
 </playlist>
 <playlist id="playlist3"/>
 <tractor id="tractor1" in="00:00:00.000">
  <property name="kdenlive:audio_track">1</property>
  <property name="kdenlive:trackheight">67</property>
  <property name="kdenlive:collapsed">0</property>
  <property name="kdenlive:thumbs_format"/>
  <property name="kdenlive:audio_rec"/>
  <property name="kdenlive:timeline_active">1</property>
  <track hide="video" producer="playlist2"/>
  <track hide="both" producer="playlist3"/>
  <filter id="filter5">
   <property name="iec_scale">0</property>
   <property name="mlt_service">audiolevel</property>
   <property name="disable">1</property>
  </filter>
 </tractor>
 <playlist id="playlist4"/>
 <playlist id="playlist5"/>
 <tractor id="tractor2" in="00:00:00.000">
  <property name="kdenlive:trackheight">67</property>
  <property name="kdenlive:collapsed">0</property>
  <property name="kdenlive:thumbs_format"/>
  <property name="kdenlive:audio_rec"/>
  <property name="kdenlive:timeline_active">1</property>
  <track hide="audio" producer="playlist4"/>
  <track hide="both" producer="playlist5"/>
 </tractor>
 <playlist id="playlist6">
  <entry producer="producer0" in="00:00:00.000" out="00:00:04.960">
   <property name="kdenlive:id">2</property>
   <property name="kdenlive:activeeffect">0</property>
   <filter id="filter6">
    <property name="version">1</property>
    <property name="mlt_service">frei0r.pixeliz0r</property>
    <property name="kdenlive_id">frei0r.pixeliz0r</property>
    <property name="BlockSizeX">00:00:00.000=0.1;00:00:04.960=0</property>
    <property name="BlockSizeY">00:00:00.000=0.178;00:00:04.960=0</property>
    <property name="kdenlive:collapsed">0</property>
   </filter>
  </entry>
 </playlist>
 <playlist id="playlist7"/>
 <tractor id="tractor3" in="00:00:00.000" out="00:00:04.960">
  <property name="kdenlive:trackheight">67</property>
  <property name="kdenlive:collapsed">0</property>
  <property name="kdenlive:thumbs_format"/>
  <property name="kdenlive:audio_rec"/>
  <property name="kdenlive:timeline_active">1</property>
  <track hide="audio" producer="playlist6"/>
  <track hide="both" producer="playlist7"/>
 </tractor>
 <tractor id="tractor4" global_feed="1" in="00:00:00.000" out="00:20:05.000">
  <track producer="black_track"/>
  <track producer="tractor0"/>
  <track producer="tractor1"/>
  <track producer="tractor2"/>
  <track producer="tractor3"/>
  <transition id="transition0">
   <property name="a_track">0</property>
   <property name="b_track">1</property>
   <property name="mlt_service">mix</property>
   <property name="kdenlive_id">mix</property>
   <property name="internal_added">237</property>
   <property name="always_active">1</property>
   <property name="sum">1</property>
  </transition>
  <transition id="transition1">
   <property name="a_track">0</property>
   <property name="b_track">2</property>
   <property name="mlt_service">mix</property>
   <property name="kdenlive_id">mix</property>
   <property name="internal_added">237</property>
   <property name="always_active">1</property>
   <property name="sum">1</property>
  </transition>
  <transition id="transition2">
   <property name="a_track">0</property>
   <property name="b_track">3</property>
   <property name="compositing">0</property>
   <property name="distort">0</property>
   <property name="rotate_center">0</property>
   <property name="mlt_service">qtblend</property>
   <property name="kdenlive_id">qtblend</property>
   <property name="internal_added">237</property>
   <property name="always_active">1</property>
  </transition>
  <transition id="transition3">
   <property name="a_track">0</property>
   <property name="b_track">4</property>
   <property name="compositing">0</property>
   <property name="distort">0</property>
   <property name="rotate_center">0</property>
   <property name="mlt_service">qtblend</property>
   <property name="kdenlive_id">qtblend</property>
   <property name="internal_added">237</property>
   <property name="always_active">1</property>
  </transition>
  <filter id="filter7">
   <property name="window">75</property>
   <property name="max_gain">20dB</property>
   <property name="mlt_service">volume</property>
   <property name="internal_added">237</property>
   <property name="disable">1</property>
  </filter>
  <filter id="filter8">
   <property name="channel">-1</property>
   <property name="mlt_service">panner</property>
   <property name="internal_added">237</property>
   <property name="start">0.5</property>
   <property name="disable">1</property>
  </filter>
  <filter id="filter9">
   <property name="iec_scale">0</property>
   <property name="mlt_service">audiolevel</property>
   <property name="disable">1</property>
  </filter>
 </tractor>
</mlt>
thn
Registered Member
Posts
10
Karma
0
vpinon wrote:In your language, is the decimal separator comma "," or point "."?


Well you hit the nail!

When I change the parameters used to call frei0r.pixeliz0r from "0.178" to "0,178" then the filter does no longer work in kdenlive BUT the mp4 compiles correctly with melt! Unfortunately, changing LC_NUMERIC to en_US does not change this behavior.

Is there a way to adjust the language settings so that both tools can collaborate?
vpinon
KDE Developer
Posts
708
Karma
6
OS
OK, we tried to solve all these comma/point issues in 20.08, but obviously we're still not done yet with frei0r X(
I'm forwarding to the team, we'll try to fix this for 20.08.1 hopefully, maybe in MLT (melt)...
thn
Registered Member
Posts
10
Karma
0
Tx, answer accepted
Best,
thn


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]