Bug 16760 - k3b and dvdrip fail to rip DVD with a transcode error
Summary: k3b and dvdrip fail to rip DVD with a transcode error
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-09-15 17:28 CEST by Bruno Cornec
Modified: 2018-10-07 16:51 CEST (History)
2 users (show)

See Also:
Source RPM: transcode-1.1.7-13.mga5.tainted.src.rpm
CVE:
Status comment:


Attachments
/var/log/messages errors from transcode (18.60 KB, text/x-log)
2015-09-15 17:29 CEST, Bruno Cornec
Details
k3b error log (4.45 KB, text/x-log)
2015-09-15 17:30 CEST, Bruno Cornec
Details
dvdrip error log (2.59 KB, text/x-log)
2015-09-15 17:30 CEST, Bruno Cornec
Details
modified spec file for the non tainted version (4.50 KB, text/x-rpm-spec)
2015-09-15 23:28 CEST, Bruno Cornec
Details
patch (757 bytes, patch)
2015-09-15 23:28 CEST, Bruno Cornec
Details | Diff

Description Bruno Cornec 2015-09-15 17:28:20 CEST
Description of problem:

k3b and dvdrip fail to rip DVD with a transcode error. Cf attached logs


Version-Release number of selected component (if applicable):
1.1.7-13.mga5.tainted

How reproducible:
Each time.

Steps to Reproduce:
1. Open k3b
2. Put a DVD in drive
3. Select a short track to extract
4. Press Launch extraction
5. Use MPEG4 for video codec and MPEG1 Layer 3 for audio codec 
6. Press start
7. It fails

Logs for both k3b and dvdrip are attached.
Note that there is also a log in /var/log/messages showing the crash of transcode called by k3b e.g. Same happens with dvdrip.



Reproducible: 

Steps to Reproduce:
Comment 1 Bruno Cornec 2015-09-15 17:29:44 CEST
Created attachment 7007 [details]
/var/log/messages errors from transcode
Comment 2 Bruno Cornec 2015-09-15 17:30:16 CEST
Created attachment 7008 [details]
k3b error log
Comment 3 Bruno Cornec 2015-09-15 17:30:35 CEST
Created attachment 7009 [details]
dvdrip error log
Comment 4 Bruno Cornec 2015-09-15 17:38:16 CEST
It seems that the problem is similar to an old one reported with a solution here:
https://bitbucket.org/france/transcode-tcforge/issues/4/segfault-at-end-of-pass-1-ffmpeg-mpeg4
Comment 5 Bruno Cornec 2015-09-15 23:27:01 CEST
I can confirm that replacing the tainted version of transcode with one rebuilt locally on mga5 with the patch applied works.

I'm not sure how to handle patches for a tainted package so would need help in fixing in the distro.
Attached the new spec file and the patch file
Comment 6 Bruno Cornec 2015-09-15 23:28:03 CEST
Created attachment 7010 [details]
modified spec file for the non tainted version
Comment 7 Bruno Cornec 2015-09-15 23:28:35 CEST
Created attachment 7011 [details]
patch
Comment 8 Bruno Cornec 2015-09-15 23:48:13 CEST
transcode itself is now working

However, I still have issues from k3b with at the end the following msgs:


[import_dvd.so] waiting...
=== last message repeated 2 times. ===
[export_xvid4.so] Error opening configuration file ./xvid4.cfg: No such file or directory
[[34;1mdecode_mpeg2.c[0m] libmpeg2 acceleration: mmxext
[transcode] Audio: using lame-3.99.5
[avilib.c] avi open error: avilib - Error opening AVI file
REASON: No such file or directory
[encoder.c] video export module error: open failed
[transcode] failed to open output

transcode command:
-----------------------
/usr/bin/transcode --nice 19 --log_no_color --progress_meter 2 --progress_rate 2 -i /dev/sr1 -x dvd -T 2,-1,1 -a 1 -j 0,0,0,0 -R 1,/tmp/kde-bruno/k3b_3.log -y xvid,null -o /dev/null -w 1200 -Z 768x576
/usr/bin/transcode --nice 19 --log_no_color --progress_meter 2 --progress_rate 2 -i /dev/sr1 -x dvd -T 2,-1,1 -a 1 -j 0,0,0,0 -R 2,/tmp/kde-bruno/k3b_3.log -y xvid -N 0x55 -b 128,1 -o "/tmp/kde-bruno/Wacky Races Vol 1 - Titre 02 (Français MPEG1 Layer III 2Ch).avi" -w 1200 -Z 768x576


If I launch the 2 last commands manually, the extraction works and I get the avi file without issue. And it's vewed correctly with vlc. Not sure what to do with all that :-(
Comment 9 Bruno Cornec 2015-09-16 00:02:19 CEST
So it seems that this is a different issue with k3b as I can use dvdrip with transcode successfully with the same DVD.
Comment 10 José Jorge 2015-09-16 23:10:38 CEST
I think the patch is applied both for core and tainted, so no problem you can correct the transcode package...

CC: (none) => lists.jjorge

Comment 11 Marja Van Waes 2016-11-03 11:48:02 CET
(In reply to José Jorge from comment #10)
> I think the patch is applied both for core and tainted, so no problem you
> can correct the transcode package...

I can't find anything was committed.

Assigning to all packagers collectively, since there's no registered maintainer for transcode.

Btw, does cauldron not have this issue?

Keywords: (none) => PATCH
CC: (none) => marja11
Assignee: bugsquad => pkg-bugs

Comment 12 Marja Van Waes 2018-06-26 11:22:29 CEST
Hi Bruno,

Thank you for having taken the needed time to report this issue!

Did this bug get fixed? If so, please change its status to RESOLVED - FIXED

If it didn't, then we regret that we weren't able to fix it in Mageia 5. Mageia 5 has officially reached its End of Life on December 31st, 2017 https://blog.mageia.org/en/2017/11/07/mageia-5-eol-postponed/
It only continued to get important security updates since then, because we were waiting for the big Plasma5 update in Mageia 6, that fixed many of the Mageia 5 => 6 upgrade issues.

If you haven't seen that this bug got fixed, then please check whether this bug still exists in Mageia 6. If it does, then please change the Version (near the top, at the left) to "6". If you know it exists in Cauldron, then change Version to Cauldron. If you see it in both Cauldron and Mageia 6, then please set Version to Cauldron and add MGA6TOO on the Whiteboard.

Thanks,
Marja
Comment 13 Marja Van Waes 2018-10-07 16:51:30 CEST
No reply, so closing as OLD since Mageia 5 is no longer maintained.

Resolution: (none) => OLD
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.