As you know, k3b uses transcode 1.1.5 for ripping the DVDs. However, this util crashes (segfault) after its first pass, on my opensuse 12.3 x86_64. Here is the complete line code, as reported by k3b:
But ok if I choose Xvid as the encoding format. So, the bug seems to be related to ffmpeg. If I add --accel mmx or --accel C (plain code), I get a segfault in libavutil.so.50, that tries to free() an invalid pointer.
I have fixed the transcode crash (was quite easy when you know what to look for… ), and sent a patch to the Packman mailinglist.
Hopefully this will get included into the package soon.
But unfortunately, ripping DVDs with k3b still doesn’t work:
[export_ffmpeg.so] Could not read the complete 2pass log file "/tmp/kde-wolfi/k3b_3.log".
[encoder.c] video export module error: init failed
[transcode] failed to init encoder
The fixed package is available in the Packman repo now.
But unfortunately, ripping DVDs with k3b still doesn’t work:
[export_ffmpeg.so] Could not read the complete 2pass log file "/tmp/kde-wolfi/k3b_3.log".
[encoder.c] video export module error: init failed
[transcode] failed to init encoder
I have to investigate this further…
Apparently k3b forgets to call transcode for the 1st pass, so the 2nd pass doesn’t find the log file…
This seems to be k3b’s fault, so let’s continue this in the thread in the k3b forums.
Yes, I know.
But that’s what I fixed, it doesn’t crash here anymore.
Which version do you have installed?
rpm -qi transcode
The package’s changelog should look like this:
wolfi@amiga:~> rpm -q --changelog transcode | head
* Don Aug 01 2013 Manfred.Tremmel@iiv.de
- included a fix from Wolfgang Bauer for problems .
* Mon Jän 23 2012 reddwarf@opensuse.org
- Add libjpeg-devel, autoconf, automake and libtool BRs to fix
Factory build.
* Mon Jän 23 2012 reddwarf@opensuse.org
- Add missing libdv-devel BuildRequire.
If it doesn’t, try to run “sudo zypper up”, maybe it finds the update then…
For me, everything seems to work correctly now.
Title 2 from the DVD I tested got ripped without a problem.
transcode (1st pass) just failed on Title 1 because that’s no video but the DVD’s menu…