Bug 28622

Summary: k3b do not extract DVD
Product: Mageia Reporter: Daniel Tartavel <contact>
Component: RPM PackagesAssignee: Nicolas Lécureuil <mageia>
Status: NEW --- QA Contact:
Severity: major    
Priority: Normal CC: contact, davidwhodgins, geiger.david68210, lloyd.osten
Version: 8   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: k3b-20.12.3-2.mga9.src.rpm CVE:
Status comment:
Attachments: K3b logs when extracting video from DVD
k3b logs with mp3 and mp4(ffmpeg) as parameters
k3b extraction windows
k3b audio codec parameter
k3b video codec parameter
transcode failure using k3b to rip video DVD
transcode error message

Description Daniel Tartavel 2021-03-21 18:29:50 CET
Description of problem:
When trying to extract video from DVD, K3b give errors

Version-Release number of selected component (if applicable):
20.12.3-2

Steps to Reproduce:
1.insert a dvd and ask to extract video with k3b.
2.Launch extraction

I join k3b logs.
Comment 1 Daniel Tartavel 2021-03-21 18:30:54 CET
Created attachment 12487 [details]
K3b logs when extracting video from DVD

CC: (none) => contact

Comment 2 Daniel Tartavel 2021-03-21 18:39:04 CET
Created attachment 12489 [details]
k3b logs with mp3 and mp4(ffmpeg) as parameters
Comment 3 Lewis Smith 2021-03-21 21:54:01 CET
Thank you for the report + logs.

It will help if you can say more precisely what is happening: do both attempts fail, or just the first one? How does the failure show? Are you are saying that in order to get it to extract this DVD video you have to add the parameters in c2, or that it still does not work if you do?
And please add how you add these parameters (my k3b experience with DVDs is 0, but the DVD extraction window looks a potential informative screenshot).

Do you know whether the DVD in question could be extracted OK with an earlier version of k3b (currently k3b-20.12.0-1.mga8 for M8)?

Status: NEW => NEEDINFO
Version: 8 => Cauldron
CC: (none) => lewyssmith

Comment 4 Dave Hodgins 2021-03-22 05:55:37 CET
Do you have the tainted repositories enabled to allow the use of patented software? The command "urpmq --list-media active" will show which repos are
enabled.

If not, run (as root) drakrpm-edit-media and enable them. That can also be found
by running mcc, and in the Software Management section selecting the item
"Configure media sources for install and updates".

After enabling the tainted repositories run (as root) "urpmi --auto-select" to
install the tainted version of transcode.

CC: (none) => davidwhodgins

Comment 5 Daniel Tartavel 2021-03-22 10:09:32 CET
Created attachment 12491 [details]
k3b extraction windows
Comment 6 Daniel Tartavel 2021-03-22 10:10:13 CET
Created attachment 12492 [details]
k3b audio codec parameter
Comment 7 Daniel Tartavel 2021-03-22 10:10:52 CET
Created attachment 12493 [details]
k3b video codec parameter
Comment 8 Daniel Tartavel 2021-03-22 10:42:22 CET
Hi,

all attempts fail when trying to extract DVD, but looking logs, that seems not to be the same error with different codecs parameters.

K3b was fully fonctionnal in Mageia 7.


The tainted depots are enabled.
urpmq -i transcode give:
Name        : transcode
Version     : 1.1.7
Release     : 30.mga9.tainted
Group       : Video/Editors and Converters
Size        : 6991797                      Architecture: x86_64
Source RPM  : transcode-1.1.7-30.mga9.tainted.src.rpm
URL         : http://tcforge.berlios.de/
Summary     : A linux video stream processing utility
Comment 9 Lewis Smith 2021-03-23 20:02:20 CET
Thank you for the clarifications and extra information.
> K3b was fully fonctionnal in Mageia 7
and you are now on Cauldron (M9). Did you ever try Mageia 8?
Having just done so with a video DVD, no success:
 k3b-20.12.0-1.mga8
 transcode-1.1.7-29.mga8.tainted

Devices
-----------------------
ATAPI DVD A  DH16ACSH JA11 (/dev/sr0, CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite, Layer Jump] [%7]

System
-----------------------
K3b Version: 20.12.0
KDE Version: 5.76.0
Qt Version:  5.15.2
Kernel:      5.10.20-desktop-2.mga8

Used versions
-----------------------
transcode: 1.1.7

transcode
-----------------------
transcode v1.1.7 (C) 2001-2003 Thomas Oestreich, 2003-2010 Transcode Team
[[34;1mdvd_reader.c[0m] -- Unspecified Subs --
=== last message repeated 32 times. ===
[[34;1mdvd_reader.c[0m] DVD title 1/2: 1 chapter(s), 1 angle(s), title set 1
[[34;1mdvd_reader.c[0m] title playback time: 00:00:01.00  2 sec
[[34;1mdvd_reader.c[0m] -- Unspecified Subs --
=== last message repeated 32 times. ===
[[34;1mdvd_reader.c[0m] DVD title 1/2: 1 chapter(s), 1 angle(s), title set 1
[[34;1mdvd_reader.c[0m] title playback time: 00:00:01.00  2 sec
[transcode] V: auto-probing     | /dev/sr0 (OK)
[transcode] V: import format    | MPEG 2 program stream in DVD PAL (module=dvd)
[transcode] A: auto-probing     | /dev/sr0 (OK)
[transcode] A: import format    | AC3 in DVD PAL (module=dvd)
[transcode] V: AV demux/sync    | (1) sync AV at initial MPEG sequence
[transcode] V: import frame     | 720x576  1.25:1  encoded @ 16:9
[transcode] V: clip frame (<-)  | 720x576
[transcode] V: zoom             | 1024x576  1.78:1 (Lanczos3)
[transcode] V: bits/pixel       | 0.081 (low)
[transcode] V: decoding fps,frc | 25.000,3
[transcode] V: multi-pass       | (mode=1) writing data (pass 1) to /home/lewis/Videos/k3b_0.log
[transcode] V: video format     | YUV420 (4:2:0) aka I420
[transcode] A: import format    | 0x2000  AC3          [48000,16,2]
[transcode] A: export           | disabled
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: language         | en
[transcode] A: bytes per frame  | 7680 (7680.000000)
[transcode] A: adjustment       | 0@1000
[transcode] V: IA32/AMD64 accel | sse4a ssse3 sse3 sse2 sse mmxext mmx cmove asm 
[transcode] V: video buffer     | 10 @ 1024x576 [0x2]
[transcode] A: audio buffer     | 10 @ 48000x2x16
[import_dvd.so] v0.4.1 (2007-07-15) (video) DVD | (audio) MPEG/AC3/PCM
[export_null.so] v0.1.2 (2001-08-17) (video) null | (audio) null
[export_ffmpeg.so] v0.3.18 (2008-11-29) (video) Lavc58.91.100 | (audio) MPEG/AC3/PCM
[import_dvd.so] tccat -T 1,-1,1 -i "/dev/sr0" -t dvd -d 0 | tcdemux -a 0 -x ac3 -S 0 -M 1 -d 0 | tcextract -t vob -x ac3 -a 0 -d 0 | tcdecode -x ac3 -d 0 -s 1.000000,1.000000,1.000000 -A 0
[import_dvd.so] tccat -T 1,-1,1 -i "/dev/sr0" -t dvd -d 0 | tcdemux -s 0x80 -x mpeg2 -S 0 -M 1 -d 0 | tcextract -t vob -a 0 -x mpeg2 -d 0 | tcdecode -x mpeg2 -d 0 -y yuv420p
[import_dvd.so] delaying DVD access by 3 seconds
[import_dvd.so] waiting...
No accelerated IMDCT transform found
[[31;1mdemuxer.c[0m][33;1m warning[0m: (pid=3988) '0x6c696264' not yet supported
[import_dvd.so] waiting...
=== last message repeated 2 times. ===
[[34;1mdecode_mpeg2.c[0m] libmpeg2 acceleration: mmxext
[export_ffmpeg.so] Using FFMPEG codec 'mpeg4' (FourCC 'DIVX', MPEG4 compliant video).
[export_ffmpeg.so] No profile selected
[export_ffmpeg.so] Error opening configuration file ./ffmpeg.cfg: No such file or directory
[export_ffmpeg.so] Starting 1 thread(s)
[export_ffmpeg.so] Set display aspect ratio to input
[MPEG4 encoder @ 0x166e900] The "rc_strategy" option is deprecated: ratecontrol method
[MPEG4 encoder @ 0x166e900] Value 2.000000 for parameter 'rc_strategy' out of range [0 - 1]
[MPEG4 encoder @ 0x166e900] Error setting option rc_strategy to value 2.
transcode v1.1.7 (C) 2001-2003 Thomas Oestreich, 2003-2010 Transcode Team
[[34;1mdvd_reader.c[0m] DVD title 2/2: 32 chapter(s), 1 angle(s), title set 2
[[34;1mdvd_reader.c[0m] title playback time: 02:16:39.05  8200 sec
[[34;1mdvd_reader.c[0m] DVD title 2/2: 32 chapter(s), 1 angle(s), title set 2
[[34;1mdvd_reader.c[0m] title playback time: 02:16:39.05  8200 sec
[transcode] V: auto-probing     | /dev/sr0 (OK)
[transcode] V: import format    | MPEG 2 program stream in DVD PAL (module=dvd)
[transcode] A: auto-probing     | /dev/sr0 (OK)
[transcode] A: import format    | AC3 in DVD PAL (module=dvd)
[transcode] V: AV demux/sync    | (1) sync AV at initial MPEG sequence
[transcode] V: import frame     | 720x576  1.25:1  encoded @ 16:9
[transcode] V: clip frame (<-)  | 720x576
[transcode] V: zoom             | 1024x576  1.78:1 (Lanczos3)
[transcode] V: bits/pixel       | 0.081 (low)
[transcode] V: decoding fps,frc | 25.000,3
[transcode] V: multi-pass       | (mode=1) writing data (pass 1) to /home/lewis/Videos/k3b_0.log
[transcode] V: video format     | YUV420 (4:2:0) aka I420
[transcode] A: import format    | 0x2000  AC3          [48000,16,2]
[transcode] A: export           | disabled
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: language         | en
[transcode] A: bytes per frame  | 7680 (7680.000000)
[transcode] A: adjustment       | 0@1000
[transcode] V: IA32/AMD64 accel | sse4a ssse3 sse3 sse2 sse mmxext mmx cmove asm 
[transcode] V: video buffer     | 10 @ 1024x576 [0x2]
[transcode] A: audio buffer     | 10 @ 48000x2x16
[import_dvd.so] v0.4.1 (2007-07-15) (video) DVD | (audio) MPEG/AC3/PCM
[export_null.so] v0.1.2 (2001-08-17) (video) null | (audio) null
[export_ffmpeg.so] v0.3.18 (2008-11-29) (video) Lavc58.91.100 | (audio) MPEG/AC3/PCM
[import_dvd.so] tccat -T 2,-1,1 -i "/dev/sr0" -t dvd -d 0 | tcdemux -a 0 -x ac3 -S 0 -M 1 -d 0 | tcextract -t vob -x ac3 -a 0 -d 0 | tcdecode -x ac3 -d 0 -s 1.000000,1.000000,1.000000 -A 0
[import_dvd.so] tccat -T 2,-1,1 -i "/dev/sr0" -t dvd -d 0 | tcdemux -s 0x80 -x mpeg2 -S 0 -M 1 -d 0 | tcextract -t vob -a 0 -x mpeg2 -d 0 | tcdecode -x mpeg2 -d 0 -y yuv420p
[import_dvd.so] delaying DVD access by 3 seconds
[import_dvd.so] waiting...
No accelerated IMDCT transform found
[[31;1mdemuxer.c[0m][33;1m warning[0m: (pid=4009) '0x6c696264' not yet supported
[import_dvd.so] waiting...
=== last message repeated 2 times. ===
[export_ffmpeg.so] Using FFMPEG codec 'mpeg4' (FourCC 'DIVX', MPEG4 compliant video).
[export_ffmpeg.so] No profile selected
[export_ffmpeg.so] Error opening configuration file ./ffmpeg.cfg: No such file or directory
[export_ffmpeg.so] Starting 1 thread(s)
[export_ffmpeg.so] Set display aspect ratio to input
[MPEG4 encoder @ 0xe9a9c0] The "rc_strategy" option is deprecated: ratecontrol method
[MPEG4 encoder @ 0xe9a9c0] Value 2.000000 for parameter 'rc_strategy' out of range [0 - 1]
[MPEG4 encoder @ 0xe9a9c0] Error setting option rc_strategy to value 2.

transcode command:
-----------------------
/bin/transcode --nice 19 --log_no_color --progress_meter 2 --progress_rate 1 -i /dev/sr0 -x dvd -T 1,-1,1 -a 0 -j 0,0,0,0 -R 1,/home/lewis/Videos/k3b_0.log -y ffmpeg,null -o /dev/null -F mpeg4 -w 1200 -Z 1024x576
/bin/transcode --nice 19 --log_no_color --progress_meter 2 --progress_rate 1366 -i /dev/sr0 -x dvd -T 2,-1,1 -a 0 -j 0,0,0,0 -R 1,/home/lewis/Videos/k3b_0.log -y ffmpeg,null -o /dev/null -F mpeg4 -w 1200 -Z 1024x576

Might try the same DVD on M7 for comparison, if I remember.

Assigning to the KDE team.

Assignee: bugsquad => kde
CC: lewyssmith => (none)

Lewis Smith 2021-03-23 20:04:01 CET

CC: (none) => lewyssmith

Comment 10 Lloyd Osten 2022-02-14 13:47:33 CET
Created attachment 13129 [details]
transcode failure using k3b to rip video DVD

This is the error file produced by transcode.

CC: (none) => lloyd.osten

Lloyd Osten 2022-02-14 13:48:24 CET

Version: Cauldron => 8

Comment 11 Lewis Smith 2022-02-15 20:18:06 CET
This bug is now a year old, so upping the importance (which is in any case legitimate, since there is no workaround).
Sorry it has dragged so long. Probably due to me inadvertently leaving the wrong status 'needinfo'.

Thank you for this new information. It is along the lines of comment 9, but different in detail.
Can you please confirm the exact Mageia versions of both k3b & transcode:
 $ rpm -q ....

Changing the bug assignment to neoclust who deals with 'k3b'.
'transcode' is done by various people if you want to pass this on.

Assignee: kde => mageia
Status: NEEDINFO => NEW
Severity: normal => major
CC: lewyssmith => (none)

Comment 12 Lloyd Osten 2022-02-16 14:25:30 CET
The exact version of K3B is 20.12.0
The exact version of transcode is 1.1.7-29-1.mga8.tainted

I seem to remember using K3B to try to rip a video DVD in earlier versions of Mageia. I don't think it has ever actually worked for me.

I would not know who to contact about transcode.
Comment 13 Lloyd Osten 2022-02-17 15:00:21 CET
Created attachment 13139 [details]
transcode error message
Comment 14 David GEIGER 2024-03-03 10:13:07 CET
Is this bug still valid on current mga9 stable release?

CC: (none) => geiger.david68210