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

Export/rendering failure [Solved]

Tags: None
(comma "," separated)
jmpoure_drupal
Registered Member
Posts
735
Karma
0

Export/rendering failure [Solved]

Tue Jun 05, 2007 12:07 pm

Dear JB,



I am trying to export a 35 minutes interview, using the mpeg4 high quality option.

Export fails immediately. Can ayone reproduce this bug ?

This is today Kdenlive/mlt SVN versions as usual.



For me, this is a sound problem.

Probably since MLT was modified.



Kind regards,

Jean-Michel

jiije
Registered Member
Posts
4
Karma
0

Re: Export/rendering failure

Tue Jun 05, 2007 12:24 pm

i 've the same bug too with pal dv, dv raw ....the movie fall down between 4% proceed.........each times



j-b-m
Registered Member
Posts
804
Karma
1

Re: Export/rendering failure

Tue Jun 05, 2007 4:17 pm

I have no problem at all using current svn versions of FFMPEG, MLT and Kdenlive. I would recommend that you make sure you don't have several versions of libmlt* in /usr/local/lib and also only one version of libavformat, libavcodec, libpostproc, libavutil.



Then, make distclean in MLT and Kdenlive then recompile... sorry no other idea. Unless you are using a buggy ffmpeg version.

jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: Export/rendering failure

Wed Jun 06, 2007 7:50 am

I am only working on dist-clean, in /usr/ not /local/.

Latest ffmpeg and libavcodec from yesterday.



If you have no problem, the problem may be on my side.

Other persons report problems.

jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: Export/rendering failure

Wed Jun 06, 2007 7:51 am

What do you mean by "Only one version of libavformat, libavcodec, libpostproc, libavutil" ?

in Debian, there are several version of theses libraries, used by different programs.



Kind regards,

Jean-Michel

jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: Export/rendering failure

Wed Jun 06, 2007 10:24 am

How can I be sure that MLT selects the right libavcodec?



My MLT ./configure option is:

 make clean
./configure --prefix=/usr --enable-gpl --enable-shared --enable-theora \
--enable-vorbis --enable-libogg --enable-quicktime --enable-pp --enable-shared-pp \
--enable-motion-est --enable-sox --disable-mmx --avformat-swscale
j-b-m
Registered Member
Posts
804
Karma
1

Re: Export/rendering failure

Wed Jun 06, 2007 5:35 pm

Ok, then you will need to debug a little:



in a console, type:

gdb kdenlive_renderer



Then type:

run your_project_file.kdenlive real_time=0 resize=hyper -consumer libavformat:test.mpg qscale=0



At the end of the above line, type the parameters that are specific to the format that crashes (for high quality mpeg4 that would be :

format=avi video_rc_min_rate=0 video_bit_rate=8000000 audio_bit_rate=384000 frequency=48000 size=720x576 vcodec=mpeg4 mbd=2 trell=1 v4mv=1 progressive=1 )



The export should begin and crash. When it crashes, type:

bt



It will print a backtrace on screen, send it to me...

jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: Export/rendering failure

Fri Jun 08, 2007 7:44 am

Dear JB,



The video displays fine on screen.



It does not seem to crash:

run projet.kdenlive real_time=0 resize=hyper -consumer libavformat:test.avi qscale=0 format=avi video_rc_min_rate=0 video_bit_rate=300000 size=720x576 vcodec=xvid acodec=mp3 audio_bit_rate=128000 frequency=44100



Do I miss something?

j-b-m
Registered Member
Posts
804
Karma
1

Re: Export/rendering failure

Fri Jun 08, 2007 10:37 am

Hi.



Sorry, my fault. It should be:



-consumer avformat:test.avi



not -consumer libavformat:test.avi

jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: Export/rendering failure

Fri Jun 08, 2007 10:54 am

run projet.kdenlive real_time=0 resize=hyper -consumer avformat:test.avi qscale=0 format=avi video_rc_min_rate=0 video_bit_rate=300000 size=720x576 vcodec=xvid acodec=mp3 audio_bit_rate=128000 frequency=44100



gdb kdenlive_renderer
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run projet.kdenlive real_time=0 resize=hyper -consumer avformat:test.avi qscale=0 format=avi video_rc_min_rate=0 video_bit_rate=300000 size=720x576 vcodec=xvid acodec=mp3 audio_bit_rate=128000 frequency=44100
Starting program: /usr/bin/kdenlive_renderer projet.kdenlive real_time=0 resize=hyper -consumer avformat:test.avi qscale=0 format=avi video_rc_min_rate=0 video_bit_rate=300000 size=720x576 vcodec=xvid acodec=mp3 audio_bit_rate=128000 frequency=44100
[Thread debugging using libthread_db enabled]
[New Thread 47045726803696 (LWP 21928)]
[New Thread 1082132800 (LWP 21931)]
consumer_avcodec: video codec xvid unrecognised - ignoring
Unable to encode audio - disabling audio output.
[New Thread 1090525504 (LWP 21932)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1082132800 (LWP 21931)]
0x00002ac9b0cb2cfb in avcodec_encode_audio () from /usr/lib/libavcodec.so.1d
(gdb) bt
#0 0x00002ac9b0cb2cfb in avcodec_encode_audio ()
from /usr/lib/libavcodec.so.1d
#1 0x00002ac9b07e5642 in consumer_thread (arg=)
at consumer_avformat.c:888
#2 0x00002ac9afb44225 in start_thread () from /lib/libpthread.so.0
#3 0x00002ac9af43617d in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()
jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: Export/rendering failure

Fri Jun 08, 2007 10:57 am

Dear JB,



In reply to your message:

dpkg -S /usr/lib/libavcodec.so.1d
libavcodec1d: /usr/lib/libavcodec.so.1d


and:

jmpoure@debian:~/logiciels/kdenlive/kdenlive$ ls -l /usr/lib/libav*
-rw-r--r-- 1 root root 21728 2006-09-20 14:58 /usr/lib/libavc1394.a
-rw-r--r-- 1 root root 830 2006-09-20 14:58 /usr/lib/libavc1394.la
lrwxrwxrwx 1 root root 19 2006-10-02 11:18 /usr/lib/libavc1394.so -> libavc1394.so.0.3.0
lrwxrwxrwx 1 root root 19 2006-09-22 00:22 /usr/lib/libavc1394.so.0 -> libavc1394.so.0.3.0
-rw-r--r-- 1 root root 16368 2006-09-20 14:58 /usr/lib/libavc1394.so.0.3.0
-rw-r--r-- 1 root root 5213634 2007-05-30 16:16 /usr/lib/libavcodec.a
lrwxrwxrwx 1 root root 16 2007-06-04 11:00 /usr/lib/libavcodec.so -> libavcodec.so.1d
lrwxrwxrwx 1 root root 24 2007-03-28 20:24 /usr/lib/libavcodec.so.0d -> libavcodec.so.0d.51.11.0
-rw-r--r-- 1 root root 4116360 2007-03-26 16:28 /usr/lib/libavcodec.so.0d.51.11.0
lrwxrwxrwx 1 root root 24 2007-06-04 11:00 /usr/lib/libavcodec.so.1d -> libavcodec.so.1d.51.38.0
-rw-r--r-- 1 root root 4088976 2007-05-30 16:16 /usr/lib/libavcodec.so.1d.51.38.0
lrwxrwxrwx 1 root root 21 2007-06-04 11:00 /usr/lib/libavcodec.so.51 -> libavcodec.so.51.40.4
-rw-r--r-- 1 root root 3993840 2007-06-02 09:22 /usr/lib/libavcodec.so.51.40.4
-rw-r--r-- 1 root root 1016816 2007-06-02 09:23 /usr/lib/libavformat.a
lrwxrwxrwx 1 root root 22 2007-06-04 11:00 /usr/lib/libavformat.so -> libavformat.so.51.12.1
lrwxrwxrwx 1 root root 24 2007-03-28 20:24 /usr/lib/libavformat.so.0d -> libavformat.so.0d.50.5.0
-rw-r--r-- 1 root root 533200 2007-03-26 16:28 /usr/lib/libavformat.so.0d.50.5.0
lrwxrwxrwx 1 root root 25 2007-06-08 10:00 /usr/lib/libavformat.so.1d -> libavformat.so.1d.51.10.0
-rw-r--r-- 1 root root 546464 2007-05-30 16:16 /usr/lib/libavformat.so.1d.51.10.0
lrwxrwxrwx 1 root root 22 2007-06-04 11:00 /usr/lib/libavformat.so.51 -> libavformat.so.51.12.1
-rw-r--r-- 1 root root 557672 2007-06-02 09:23 /usr/lib/libavformat.so.51.12.1
lrwxrwxrwx 1 root root 24 2007-01-22 10:34 /usr/lib/libaviplay-0.7.so.0 -> libaviplay-0.7.so.0.0.44
-rw-r--r-- 1 root root 673216 2006-11-08 11:05 /usr/lib/libaviplay-0.7.so.0.0.44
lrwxrwxrwx 1 root root 31 2007-01-22 10:34 /usr/lib/libaviplayavcodec-0.7.so.0 -> libaviplayavcodec-0.7.so.0.0.44
-rw-r--r-- 1 root root 2534496 2006-11-08 11:05 /usr/lib/libaviplayavcodec-0.7.so.0.0.44
lrwxrwxrwx 1 root root 32 2007-01-22 10:34 /usr/lib/libaviplayavformat-0.7.so.0 -> libaviplayavformat-0.7.so.0.0.44
-rw-r--r-- 1 root root 417344 2006-11-08 11:05 /usr/lib/libaviplayavformat-0.7.so.0.0.44
lrwxrwxrwx 1 root root 30 2007-01-22 10:34 /usr/lib/libaviplayavutil-0.7.so.0 -> libaviplayavutil-0.7.so.0.0.44
-rw-r--r-- 1 root root 17096 2006-11-08 11:05 /usr/lib/libaviplayavutil-0.7.so.0.0.44
-rw-r--r-- 1 root root 51238 2007-05-30 16:16 /usr/lib/libavutil.a
lrwxrwxrwx 1 root root 15 2007-06-04 11:00 /usr/lib/libavutil.so -> libavutil.so.1d
lrwxrwxrwx 1 root root 22 2007-03-28 20:24 /usr/lib/libavutil.so.0d -> libavutil.so.0d.49.0.0
-rw-r--r-- 1 root root 16832 2007-03-26 16:28 /usr/lib/libavutil.so.0d.49.0.0
lrwxrwxrwx 1 root root 22 2007-06-04 11:00 /usr/lib/libavutil.so.1d -> libavutil.so.1d.49.3.0
-rw-r--r-- 1 root root 27544 2007-05-30 16:16 /usr/lib/libavutil.so.1d.49.3.0
lrwxrwxrwx 1 root root 19 2007-06-04 10:14 /usr/lib/libavutil.so.49 -> libavutil.so.49.4.0
-rw-r--r-- 1 root root 27256 2007-06-02 09:23 /usr/lib/libavutil.so.49.4.0
jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: Export/rendering failure

Fri Jun 08, 2007 12:52 pm

One more information. This command line results in a very large export file, of very high quality :



vcodec=mpeg4 size=720x576 video_rc_min_rate=0 video_bit_rate=300000 acodec=mp2 audio_bit_rate=128000 frequency=44100

jmpoure_drupal
Registered Member
Posts
735
Karma
0

Re: Export/rendering failure

Fri Jun 08, 2007 1:07 pm

I still have the same problem with inigo:



inigo projet.kdenlive -consumer avformat:rendered_file.avi real_time=0 qscale=0 format=avi video_rc_min_rate=0 video_bit_rate=300000 size=720x576 vcodec=mpeg4 acodec=mp2 audio_bit_rate=128000 frequency=44100



Inigo will not take into account video bitrate.

olo
Registered Member
Posts
72
Karma
0

Re: Export/rendering failure

Sat Jun 09, 2007 11:37 pm

jmpoure, do the temporary westley files generated for export jobs look like they were chopped at the end?



They are files named /tmp/kde-USERNAME/kdenliveRANDOMSTRING.tmp.



olo
Registered Member
Posts
72
Karma
0

Re: Export/rendering failure

Sat Jun 09, 2007 11:39 pm

In my case their ends look like this:




....






or:













Bookmarks



Who is online

Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, sandyvee, Sogou [Bot]