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

Rendering failure with Kdenlive 0.8.2

Tags: None
(comma "," separated)
supercow_drupal
Registered Member
Posts
36
Karma
0
Hello

I have a problem with rendering a HD 1080i movie with latest version of kdenlive (I already manage to render films from my current camcorder).

error message is :
Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
[mpegts @ 0x1917260] parser not found for codec hdmv_pgs_subtitle, packets or times may be invalid.
Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
[mpegts @ 0x191e6c0] parser not found for codec hdmv_pgs_subtitle, packets or times may be invalid.
Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later
...



installation informations :
archlinux
kdenlive 0.8.2-2
mlt 0.7.6-1
mlt-python-bindings 0.7.6-1

anyclue ?

regards
Olivier


j-b-m
Registered Member
Posts
804
Karma
1
It seems to me like those lines are just warnings, should not prevent rendering. Can you render as a script (will save a file like $HOME/kdenlive/scripts/script00x.sh) and then from the terminal, do:

sh -x $HOME/kdenlive/scripts/script00x.sh
supercow_drupal
Registered Member
Posts
36
Karma
0
Thank you for you superfast answer.

rendering as a script would not crash but :
- video is 720*576 whereas my profile is hd1080...
- I still have no sound

here is log :

[lesbecs@arch ~]$ sh -x Videos/Montages/Projets/scripts/script001.sh
+ SOURCE=/home/lesbecs/Videos/Montages/Projets/scripts/script001.sh.mlt
+ TARGET=file:///home/lesbecs/Videos/2011-07-Cantal.m2t
+ RENDERER=/usr/bin/kdenlive_render
+ MELT=/usr/bin/melt
+ PARAMETERS='-pid:4112 /usr/bin/melt atsc_1080i_50 avformat - consumer:/home/lesbecs/Videos/Montages/Projets/scripts/script001.sh.mlt file:///home/lesbecs/Videos/2011-07-Cantal.m2t f=mpegts acodec=aac ab=384k ar=48000 ac=2 vcodec=mpeg2video s=hd1080 r=25 b=25000k g=12 trellis=1 pass=2 flag=+ildct+ilme top=-1 threads=1 real_time=-1'
+ /usr/bin/kdenlive_render -pid:4112 /usr/bin/melt atsc_1080i_50 avformat - consumer:/home/lesbecs/Videos/Montages/Projets/scripts/script001.sh.mlt file:///home/lesbecs/Videos/2011-07-Cantal.m2t f=mpegts acodec=aac ab=384k ar=48000 ac=2 vcodec=mpeg2video s=hd1080 r=25 b=25000k g=12 trellis=1 pass=2 flag=+ildct+ilme top=-1 threads=1 real_time=-1
//STARTING RENDERING: false , false , "/usr/bin/melt" , "atsc_1080i_50" , "avformat" , "-" , "consumer:/home/lesbecs/Videos/Montages/Projets/scripts/script001.sh.mlt" , "/home/lesbecs/Videos/2011-07-Cantal.m2t" , () , ("f=mpegts", "acodec=aac", "ab=384k", "ar=48000", "ac=2", "vcodec=mpeg2video", "s=hd1080", "r=25", "b=25000k", "g=12", "trellis=1", "pass=1", "flag=+ildct+ilme", "top=-1", "threads=1", "real_time=-1") , -1 , -1
Started render process: "/usr/bin/melt" "consumer:/home/lesbecs/Videos/Montages/Projets/scripts/script001.sh.mlt profile=atsc_1080i_50 -consumer avformat:/home/lesbecs/Videos/2011-07-Cantal.m2t progress=1 f=mpegts acodec=aac ab=384k ar=48000 ac=2 vcodec=mpeg2video s=hd1080 r=25 b=25000k g=12 trellis=1 pass=1 flag=+ildct+ilme top=-1 threads=1 real_time=-1"





Rendering of "/home/lesbecs/Videos/2011-07-Cantal.m2t" finished
Started render process: "/usr/bin/melt" "consumer:/home/lesbecs/Videos/Montages/Projets/scripts/script001.sh.mlt profile=atsc_1080i_50 -consumer avformat:/home/lesbecs/Videos/2011-07-Cantal.m2t progress=1 f=mpegts acodec=aac ab=384k ar=48000 ac=2 vcodec=mpeg2video s=hd1080 r=25 b=25000k g=12 trellis=1 pass=2 flag=+ildct+ilme top=-1 threads=1 real_time=-1"
Rendering of "/home/lesbecs/Videos/2011-07-Cantal.m2t" finished


regards
Olivier


j-b-m
Registered Member
Posts
804
Karma
1
This parameter is not expected:

s=hd1080

Did you create the render profile yourself?

If you edited the profile manually, it should give the size in pixels, for example: s=1920x1440

Also, the video bitrate parameter should read "vb=25000k" instead of "b=25000k"
supercow_drupal
Registered Member
Posts
36
Karma
0
Thanks a lot for your help.
I changed "b=25000k" in "vb=25000k" and now my render is fine.

but for my curiosity : I kept s=hd1080 and it works fine when I render to file but not when I render as a script and execute the script (rendered as 720*576)....

what is the difference between rendering to a file and as a script ? I thought both would use MELT in the same way...

regards
Olivier


j-b-m
Registered Member
Posts
804
Karma
1
Hmm, I don't know why it behaves differently between file and script. Both are supposed to call melt with the same parameters, but there might be some parameter parsing that is slightly different before calling melt...


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft