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

Rendering 0.9.10 not working in mp4 h.264

Tags: None
(comma "," separated)
salsal
Registered Member
Posts
9
Karma
0
Greetings

I've tried to render using 0.9.10 in mp4 h.264 but the file size ends up being zero. This was working till I upgraded to 0.9.10 using the recommend ppa from
https://launchpad.net/~sunab/+archive/u ... ve-release.

http://kdenlive.org/download-ubuntu


Also I no longer have xvid or avi as render options along with h264 rendering 0 byte files

I'm running ubuntu 14.04 64bit linux

Image
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS
Did you upgrade the other packages that the sunab ppa supplies?
You should be running:
frei0r = 1.4.0+git20140826.72e51041
kdenlive = 0.9.10-0ubuntu
mlt = 0.9.3+git20141005.22abed67
libvidstab=2:0.98b-0ubuntu
salsal
Registered Member
Posts
9
Karma
0
I thought I did when I accepted all the updates from the ppa link above. How can I check these versions?
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS
salsal wrote:How can I check these versions?

In synaptic package manager you can filter packages by origin - so filter by "LP-PPA-sunab-kdenlive-release/trusty" and then all the packages you have from this PPA will display with a green checkmark. And you can see the versions.

I am thinking that another issue might be what codecs you have installed. Do you a have the codec necessary to render to h.264 ? I am not sure what controls this. But it might have to do with what version of avconv (libav-tools) you have installed. I have libav-tools ver 6:9.16-0ubuntu0.14.04.1+fdkaac. And I am on the same version of linux as you. And I can render to h.264
salsal
Registered Member
Posts
9
Karma
0
Here are the versions that I got from the ppa:
frei0r-plugins 1.4.0+git20140826.72e51041-0ubuntu0~sunab~trusty1
kdenlive 0.9.10-0ubuntu0~sunab~trusty1
melt 0.9.3+git20141005.22abed67-0ubuntu0~sunab~trusty1
libvidstab1.0 2:0.98b-0ubuntu0~sunab~trusty1

kdenlive-data 0.9.10-0ubuntu0~sunab~trusty1
libmlt++3 0.9.3+git20141005.22abed67-0ubuntu0~sunab~trusty1
libmlt-data 0.9.3+git20141005.22abed67-0ubuntu0~sunab~trusty1
libmlt6 0.9.3+git20141005.22abed67-0ubuntu0~sunab~trusty1
libmovit2 1.1.2+git20140825.c5285a66-0ubuntu0~sunab~trusty1
libepoxy0 1.2-1+git20140825.b2ae054b-1ubuntu0~sunab~trusty1

Also here's my libav version x264 stuff:
libav-tools 6:9.16-0ubuntu0.14.04.1

not sure what is causing this.
x264 2:0.142.2389+git956c8d8-2
libx264-123 2:0.123.2189+git35cf912-1ubuntu1.1
libx264-142 2:0.142.2389+git956c8d8-2
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS
Well it looks like I have higher version of libx264-142 and x264. And I don't have a libx264-123
Whatever that means. But to me it looks like I am a major version ahead of you with these.

Mine
libx264-142 ver 3:0.142.2431+git76440~trusty1
x264 3:0.142.2431+gitac76440-1

yours
x264 2:0.142.2389+git956c8d8-2
libx264-123 2:0.123.2189+git35cf912-1ubuntu1.1
libx264-142 2:0.142.2389+git956c8d8-2
salsal
Registered Member
Posts
9
Karma
0
I guess the question is now, where did you get you newer version of x264?
User avatar
sunab
Registered Member
Posts
247
Karma
0
OS
avconv (libav-tools package) calls x264 through a library called Libavcodec54, but there are two versions of this library :

- libavcodec54 : only contains gpl codecs
- libavcodec-extra-54 : same + support for "patent encumbered" codecs

If want to output h.264 with kdenlive you have to check if libavcodec-extra-54 is installed on your system.

PS : The Kdenlive config wizard (settings menu) shows in its second panel the list of available codecs.
salsal
Registered Member
Posts
9
Karma
0
libavcodec-extra-54 6:9.16-0ubuntu0.14.04.1

Image

This is just strange, why this is not working and just renders h264 files as 0 bytes is just weird.
vpinon
KDE Developer
Posts
708
Karma
6
OS
Hello,
If you generate a script from render dialog, and run it from command line, do you get more detailed output?
If not, the script also echoes command line parameters that you can pass directly to "melt" instead of kdenlive wrapper, and get more messages...
salsal
Registered Member
Posts
9
Karma
0
ok
this is what the script created:
Code: Select all
#! /bin/sh

SOURCE="/tmp/flip_signal_001.sh.mlt"
TARGET="/tmp/raw.mp4"
RENDERER="/usr/bin/kdenlive_render"
MELT="/usr/bin/melt"
PARAMETERS="-pid:19998 $MELT sdi_486i_5994 avformat - $SOURCE $TARGET properties=x264-medium g=120 crf=25 ab=160k an=1 threads=1 real_time=-1"
$RENDERER $PARAMETERS





I ran it in a terminal window see below:
Code: Select all
rt@simon:/tmp$ sh flip_signal_001.sh
//STARTING RENDERING:  false , false , "/usr/bin/melt" , "sdi_486i_5994" , "avformat" , "-" , "/tmp/flip_signal_001.sh.mlt" , "/tmp/raw.mp4" , () , ("properties=x264-medium", "g=120", "crf=25", "ab=160k", "an=1", "threads=1", "real_time=-1") , -1 , -1
Started render process:  "/usr/bin/melt"   "/tmp/flip_signal_001.sh.mlt -profile sdi_486i_5994 -consumer avformat:/tmp/raw.mp4 progress=1 properties=x264-medium g=120 crf=25 ab=160k an=1 threads=1 real_time=-1"
Rendering of  "/tmp/raw.mp4"  finished
rt@simon:/tmp$


still creates a 0 byte file called raw.mp4 no errors that I can see other than it creates a 0 byte file

I also tried reseting my kdenlive config file by deleting the file
$HOME/.kde/share/config/kdenliverc
User avatar
Ubu the Tech Guru
Registered Member
Posts
67
Karma
0
OS
are you certain you have space remaining in the folder you're trying to write the file to?


400+ Videos on YouTubehttp://www.youtube.com/ubuntuaddicted
Support me directly on Patreon http://www.patreon.com/ubuntuaddicted
Follow me on Twitter http://www.twitter.com/ubuntuaddicted
salsal
Registered Member
Posts
9
Karma
0
Yes I have 16Gig free. and the project is just 30 seconds long I can render it using RAW and HDV.

x264 just doesn't seem to want to work
User avatar
CyborgAlpha
Registered Member
Posts
12
Karma
0
OS
'm having horrible problems with 0.9.10 (just upgraded). I wish I could roll back.
vpinon
KDE Developer
Posts
708
Karma
6
OS
To get more messages directly from melt, you can try to run something like "$MELT $PROFILE $SOURCE avformat:$TARGET $REST_OF_PARAMETERS"

Code: Select all
/usr/bin/melt sdi_486i_5994 /tmp/flip_signal_001.sh.mlt avformat:/tmp/raw.mp4 properties=x264-medium g=120 crf=25 ab=160k an=1 threads=1 real_time=-1


this is bypassing kdenlive wrapper (that feedback progression to render dialog/notification area) and so lets pass all error messages (we should add a "show log" button to get easy access to this)


Bookmarks



Who is online

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