Bug 360170 - Failed with error while ripping DVD (may be encrypted DVD)
Summary: Failed with error while ripping DVD (may be encrypted DVD)
Status: RESOLVED UPSTREAM
Alias: None
Product: k3b
Classification: Applications
Component: Video DVD (show other bugs)
Version: 2.0.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: k3b developers
URL:
Keywords:
: 356571 361879 369240 371394 377691 378423 379166 381886 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-03-06 20:11 UTC by Colin
Modified: 2017-09-03 17:33 UTC (History)
14 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Colin 2016-03-06 20:11:54 UTC
The DVD I'm trying to rip is a children's educational DVD called "Big Vocabulary" published by Montessori House. The label says it is NTSC Region Free. ISBN is 0-9762991-3-5.

The progress bar gets about 50% then fails with error.

Reproducible: Always




Debug output:

Devices
-----------------------
Optiarc DVD RW AD-7710H A833 (/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: 2.0.3
KDE Version: 4.14.17
QT Version:  4.8.7
Kernel:      4.4.3-300.fc23.x86_64

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

transcode
-----------------------
transcode v1.1.7 (C) 2001-2003 Thomas Oestreich, 2003-2010 Transcode Team
libdvdread: Encrypted DVD support unavailable.
=== last message repeated 2 times. ===
[[34;1mdvd_reader.c[0m] DVD title 2/2: 5 chapter(s), 1 angle(s), title set 2
[[34;1mdvd_reader.c[0m] title playback time: 00:27:48.07  1669 sec
libdvdread: Encrypted DVD support unavailable.
=== last message repeated 2 times. ===
[[34;1mdvd_reader.c[0m] DVD title 2/2: 5 chapter(s), 1 angle(s), title set 2
[[34;1mdvd_reader.c[0m] title playback time: 00:27:48.07  1669 sec
[transcode] V: auto-probing     | /dev/sr0 (OK)
[transcode] V: import format    | MPEG 2 program stream in DVD NTSC (module=dvd)
[transcode] A: auto-probing     | /dev/sr0 (OK)
[transcode] A: import format    | LPCM in DVD NTSC (module=dvd)
[transcode] V: AV demux/sync    | (2) initial MPEG sequence / enforce frame rate
[transcode] V: import frame     | 720x480  1.50:1  encoded @ 4:3
[transcode] V: clip frame (<-)  | 720x480
[transcode] V: zoom             | 720x480  1.50:1 (Lanczos3)
[transcode] V: bits/pixel       | 0.145 (low)
[transcode] V: decoding fps,frc | 23.976,1
[transcode] V: multi-pass       | (mode=1) writing data (pass 1) to /tmp/k3b_0.log
[transcode] V: video format     | YUV420 (4:2:0) aka I420
[transcode] A: import format    | 0x10001 LPCM         [48000,16,2]
[transcode] A: export           | disabled
[transcode] V: encoding fps,frc | 23.976,1
[transcode] A: language         | ��
[transcode] A: bytes per frame  | 8008 (8008.000000)
[transcode] A: adjustment       | 0@1000
[transcode] V: IA32/AMD64 accel | sse42 sse41 ssse3 sse3 sse2 sse mmx cmove asm 
[transcode] V: video buffer     | 10 @ 720x480 [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) Lavc56.60.100 | (audio) MPEG/AC3/PCM
libdvdread: Encrypted DVD support unavailable.
[import_dvd.so] tccat -T 2,-1,1 -i "/dev/sr0" -t dvd -d 0 | tcdemux -a 0 -x pcm -S 0 -M 2 -d 0 | tcextract -t vob -x pcm -a 0 -d 0
[import_dvd.so] tccat -T 2,-1,1 -i "/dev/sr0" -t dvd -d 0 | tcdemux -s 0xa0 -x mpeg2 -S 0 -M 2 -f 23.976024 -P /tmp/file3vHZnG -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...
libdvdread: Encrypted DVD support unavailable.
[import_dvd.so] waiting...
=== last message repeated 2 times. ===
libdvdread: Encrypted DVD support unavailable.
[[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 @ 0x55a0daf96a40] AVFrame.format is not set
[mpeg4 @ 0x55a0daf96a40] AVFrame.width or height is not set
[mpeg4 @ 0x55a0daf96a40] AVFrame.format is not set
[mpeg4 @ 0x55a0daf96a40] AVFrame.width or height is not set
<< the above two lines repeated many times >>
[decoder.c] cancelling the import threads
[transcode] encoded 40029 frames (10004 dropped, 0 cloned), clip length 1669.54 s
transcode v1.1.7 (C) 2001-2003 Thomas Oestreich, 2003-2010 Transcode Team
libdvdread: Encrypted DVD support unavailable.
=== last message repeated 2 times. ===
[[34;1mdvd_reader.c[0m] DVD title 2/2: 5 chapter(s), 1 angle(s), title set 2
[[34;1mdvd_reader.c[0m] title playback time: 00:27:48.07  1669 sec
libdvdread: Encrypted DVD support unavailable.
=== last message repeated 2 times. ===
[[34;1mdvd_reader.c[0m] DVD title 2/2: 5 chapter(s), 1 angle(s), title set 2
[[34;1mdvd_reader.c[0m] title playback time: 00:27:48.07  1669 sec
[transcode] V: auto-probing     | /dev/sr0 (OK)
[transcode] V: import format    | MPEG 2 program stream in DVD NTSC (module=dvd)
[transcode] A: auto-probing     | /dev/sr0 (OK)
[transcode] A: import format    | LPCM in DVD NTSC (module=dvd)
[transcode] V: AV demux/sync    | (2) initial MPEG sequence / enforce frame rate
[transcode] V: import frame     | 720x480  1.50:1  encoded @ 4:3
[transcode] V: clip frame (<-)  | 720x480
[transcode] V: zoom             | 720x480  1.50:1 (Lanczos3)
[transcode] V: bits/pixel       | 0.145 (low)
[transcode] V: decoding fps,frc | 23.976,1
[transcode] V: multi-pass       | (mode=2) reading data (pass2) from /tmp/k3b_0.log
[transcode] V: video format     | YUV420 (4:2:0) aka I420
[transcode] A: import format    | 0x10001 LPCM         [48000,16,2]
[transcode] A: export format    | 0x55    MPEG ES Layer 3 [48000,16,2]  128 kbps
[transcode] V: export format    | unknown (module dependant)
[transcode] V: encoding fps,frc | 23.976,1
[transcode] A: language         | ��
[transcode] A: bytes per frame  | 8008 (8008.000000)
[transcode] A: adjustment       | 0@1000
[transcode] V: IA32/AMD64 accel | sse42 sse41 ssse3 sse3 sse2 sse mmx cmove asm 
[transcode] V: video buffer     | 10 @ 720x480 [0x2]
[transcode] A: audio buffer     | 10 @ 48000x2x16
[import_dvd.so] v0.4.1 (2007-07-15) (video) DVD | (audio) MPEG/AC3/PCM
[export_ffmpeg.so] v0.3.18 (2008-11-29) (video) Lavc56.60.100 | (audio) MPEG/AC3/PCM
libdvdread: Encrypted DVD support unavailable.
[import_dvd.so] tccat -T 2,-1,1 -i "/dev/sr0" -t dvd -d 0 | tcdemux -a 0 -x pcm -S 0 -M 2 -d 0 | tcextract -t vob -x pcm -a 0 -d 0
[import_dvd.so] tccat -T 2,-1,1 -i "/dev/sr0" -t dvd -d 0 | tcdemux -s 0xa0 -x mpeg2 -S 0 -M 2 -f 23.976024 -P /tmp/filenfYZNk -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...
libdvdread: Encrypted DVD support unavailable.
[import_dvd.so] waiting...
=== last message repeated 2 times. ===
libdvdread: Encrypted DVD support unavailable.
[[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 @ 0x5630146c2460] [lavc rc] Using all of requested bitrate is not necessary for this video with these parameters.
[export_ffmpeg.so] Usage of this module for audio encoding is deprecated.
[export_ffmpeg.so] Consider switch to export_tcaud module.
[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 333 -i /dev/sr0 -x dvd -T 2,-1,1 -a 0 -j 0,0,0,0 -R 1,/tmp/k3b_0.log -y ffmpeg,null -o /dev/null -F mpeg4 -w 1200 -Z 720x480
/usr/bin/transcode --nice 19 --log_no_color --progress_meter 2 --progress_rate 333 -i /dev/sr0 -x dvd -T 2,-1,1 -a 0 -j 0,0,0,0 -R 2,/tmp/k3b_0.log -y ffmpeg -N 0x55 -b 128,1 -o "/tmp/Fun___Great_Math_-_Title_02_(_MPEG1_Layer_III_2Ch).avi" -F mpeg4 -w 1200 -Z 720x480
Comment 1 Twisted Lucidity 2016-08-22 18:49:47 UTC
I see this failure with every DVD I have tried.

This is he debug output:

Devices
-----------------------
Optiarc DVD RW AD-7740H 1.S1 (/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]

Misc
-----------------------
=== K3b debugging output cache overflow ===

System
-----------------------
K3b Version: 2.0.3
KDE Version: 4.14.16
QT Version:  4.8.7
Kernel:      4.4.0-28-generic

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] DVD title 1/19: 37 chapter(s), 1 angle(s), title set 4
[[34;1mdvd_reader.c[0m] title playback time: 02:10:18.17  7819 sec
[[34;1mdvd_reader.c[0m] DVD title 1/19: 37 chapter(s), 1 angle(s), title set 4
[[34;1mdvd_reader.c[0m] title playback time: 02:10:18.17  7819 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 /tmp/kde-user/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 | sse42 sse41 ssse3 sse3 sse2 sse 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) Lavc56.41.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...
libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient
libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00023b08
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00023c47
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00023cb7
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00023ccd
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x00026965
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x0006e4c1
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0007445b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x003723ca
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x00384be2
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x0038ebcb
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x0039b94b
libdvdread: Elapsed time 0
libdvdread: Found 8 VTS's
libdvdread: Elapsed time 0
[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 @ 0x17f7660] removing common factors from framerate
[[34;1mdecode_mpeg2.c[0m] libmpeg2 acceleration: mmxext
libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient
libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00023b08
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00023c47
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00023cb7
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00023ccd
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x00026965
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x0006e4c1
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0007445b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x003723ca
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x00384be2
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x0038ebcb
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x0039b94b
libdvdread: Elapsed time 0
libdvdread: Found 8 VTS's
libdvdread: Elapsed time 0
[mpeg4 @ 0x17f7660] AVFrame.format is not set
[mpeg4 @ 0x17f7660] AVFrame.width or height is not set
[mpeg4 @ 0x17f7660] AVFrame.format is not set

<This repeats many, many times>

[mpeg4 @ 0x17f7660] AVFrame.format is not set
[mpeg4 @ 0x17f7660] AVFrame.width or height is not set

transcode command:
-----------------------
/usr/bin/transcode --nice 19 --log_no_color --progress_meter 2 --progress_rate 1303 -i /dev/sr0 -x dvd -T 1,-1,1 -a 0 -j 0,0,0,0 -R 1,/tmp/kde-user/k3b_0.log -y ffmpeg,null -o /dev/null -F mpeg4 -w 1200 -Z 1024x576
Comment 2 Leslie Zhai 2016-08-26 04:21:02 UTC
Hi,

Please try master branch, only maintaing for KF5, and I do not have a (encrypted) DVD, I will try to borrow one~

Regards,
Leslie Zhai
Comment 3 Twisted Lucidity 2016-08-26 08:58:04 UTC
Dumb question - how do I try the master branch? I'm using Kubuntu 16.04 for my OS.
I should get a chance to test over the w/end.
Comment 4 Leslie Zhai 2016-08-27 14:02:19 UTC
Hi Twisted,

Please have a look at http://www.leetcode.cn/2016/08/k3b.html described the build dependence, you might need to install ***-dev package for your Kubuntu box.

Regards,
Leslie Zhai
Comment 5 Leslie Zhai 2016-08-29 08:11:26 UTC
Hi,

transcode failed to rip videodvd, but vlc is able to work! I will have a look at vlc's ripping~

Regards,
Leslie Zhai
Comment 6 Leslie Zhai 2016-08-29 09:08:06 UTC
vlc dvdsimple:///dev/sr0#1 --sout "#standard{access=file,mux=ts,dst=out.mpg}"
Comment 7 Leslie Zhai 2016-08-29 09:27:12 UTC
Hi,

I emailed to transcode's maintainers, waitting for their review.

even though I could wrapper libVLC to rip videodvd, but people might ask why not directly use VLC...

Regards,
Leslie Zhai
Comment 8 Leslie Zhai 2016-08-30 05:26:50 UTC
reported the bug to transcode's UPSTREAM https://bitbucket.org/france/transcode-tcforge/issues/8/rip-dvd-avframeformat-is-not-set
Comment 9 Leslie Zhai 2016-08-31 04:26:18 UTC
also create a pull request to transcode-1.2 https://bitbucket.org/achurch_/transcode/pull-requests/1/migrate-to-ffmpeg-313/diff
Comment 10 Leslie Zhai 2016-09-06 03:03:04 UTC
*** Bug 361879 has been marked as a duplicate of this bug. ***
Comment 11 Leslie Zhai 2016-09-06 04:35:48 UTC
*** Bug 356571 has been marked as a duplicate of this bug. ***
Comment 12 Leslie Zhai 2016-10-25 07:53:45 UTC
*** Bug 369240 has been marked as a duplicate of this bug. ***
Comment 13 Leslie Zhai 2016-10-25 08:07:59 UTC
*** Bug 371394 has been marked as a duplicate of this bug. ***
Comment 14 Matthias 2016-11-02 13:42:12 UTC
2 Months without any answer, correct?
Comment 15 Leslie Zhai 2016-11-03 02:51:24 UTC
(In reply to Matthias from comment #14)
> 2 Months without any answer, correct?

Deprecated transcode - tried to PR but unmaintained by upstream https://github.com/KDE/k3b/blob/master/ChangeLog
Comment 16 Matthias 2016-11-03 20:31:54 UTC
yeah, 4 years no updates, so is this a surprise..?
Comment 17 Leslie Zhai 2017-03-17 13:13:06 UTC
*** Bug 377691 has been marked as a duplicate of this bug. ***
Comment 18 Leslie Zhai 2017-04-05 05:51:39 UTC
*** Bug 378423 has been marked as a duplicate of this bug. ***
Comment 19 Leslie Zhai 2017-04-25 01:51:04 UTC
*** Bug 379166 has been marked as a duplicate of this bug. ***
Comment 20 Leslie Zhai 2017-06-13 07:05:39 UTC
*** Bug 381131 has been marked as a duplicate of this bug. ***
Comment 21 Leslie Zhai 2017-06-13 07:06:18 UTC
Please kindly use Kdenlive to import VOB, edit it then render into mp4.
Comment 22 Matthias 2017-06-13 07:48:54 UTC
I cant ship an OS, which says "use Kdenlive to import VOB, edit it then render into mp4" since literally nobody will think in this possibility on its own, in our target audience group. They will like to use an application like K3B and especially the systray action support to rip DVDs.

What is about the VLC integration?
Comment 23 Leslie Zhai 2017-06-13 08:08:14 UTC
Hi Matthias,

Thanks for your kind response!

> What is about the VLC integration?

Yes, I argued that it is able to use LibVLC in the above threads before, because VLC is based on the LibAV, but developers often need to migrate to LibAV's new API: such as avcodec_alloc_context3(...) https://github.com/isoft-linux/libKeyFrame/blob/master/libKeyFrame.c#L295

And the key point why I want to introduce Kdenlive, that is because LibVLC failed to rip the DVD for my little kid, because my wife urged me 'hurry, hurry, hurry!' so I did not debug LibVLC for the error output in the konsole :) just switch to Kdenlive for rendering the output 'untitled.mp4' https://pan.baidu.com/s/1caUIgI but VLC is able to play the DVD, so not encrypted issue at all!

Regards,
Leslie Zhai
Comment 24 Wolfgang Bauer 2017-06-13 08:19:16 UTC
(In reply to Leslie Zhai from comment #23)
> Yes, I argued that it is able to use LibVLC in the above threads before,
> because VLC is based on the LibAV, but developers often need to migrate to
> LibAV's new API: such as avcodec_alloc_context3(...)

Why not just use the ffmpeg command line tool?
k3b depends on ffmpeg already anyway.

This may help:
http://mso-chronicles.blogspot.de/2014/08/ripping-dvd-with-ffmpeg.html
Comment 25 Leslie Zhai 2017-06-13 08:29:06 UTC
Hi Wolfgang,

Thanks for your hint!

> Why not just use the ffmpeg command line tool?
> k3b depends on ffmpeg already anyway.
> 
> This may help:
> http://mso-chronicles.blogspot.de/2014/08/ripping-dvd-with-ffmpeg.html

Sorry for my poor English! I will try to explain carefully what I investigated:

1. use VLC GUI tool to rip DVD

VLC GUI -> LibVLC -> LibAV

so if VLC GUI failed to work, there might be some issues about LibVLC, then I could not embedded LibVLC into K3B.

2. ffmpeg might be better choice than LibAV

because ffmpeg and LibAV are the same developers, and I directly use LibAV to seek key frame from video https://github.com/isoft-linux/libKeyFrame

If others agree to use ffmpeg, I will take place of transcode, thoughts?

Regards,
Leslie Zhai
Comment 26 Leslie Zhai 2017-06-13 09:30:49 UTC
Kdenlive's dependence https://www.archlinux.org/packages/extra/x86_64/kdenlive/

glu
hicolor-icon-theme
kded
kfilemetadata
knewstuff
knotifyconfig
mlt - MLT Multimedia Framework
qt5-quickcontrols
qt5-webkit
sdl_image
cdrtools (optional) - for creation of DVD ISO images
dvdauthor (optional) - for creation of DVD
dvgrab (optional) - for firewire capture
ffmpeg (optional) - for FFmpeg plugin
libdv (optional) - for webcam capture (if FFmpeg is not installed)
plasma-desktop (optional) - theme configuration
recordmydesktop (optional) - for screen capture
vlc (optional) - for DVD preview
xine-ui (optional) - for DVD preview
extra-cmake-modules (make)
kdoctools (make)
python (make)
v4l-utils (make)

> Please kindly use Kdenlive to import VOB, edit it then render into mp4.

To my wife, Kdenlive is better choice than K3b, the good DVD ripping preconceived good impression about Kdenlive, it is always competition!

PS: I am so glad to see xine, libxine is still be maintained, I used libxine to develop IPTV middleware 12 years ago :)

Regards,
Leslie Zhai
Comment 27 Leslie Zhai 2017-06-14 01:51:08 UTC
Git commit f7d385a40cc062fa4db46c165f82f437dea82c58 by Leslie Zhai.
Committed on 14/06/2017 at 01:46.
Pushed by lesliezhai into branch 'master'.

Keep transcode until a replacement is implemented.

I tested the patch https://bugs.launchpad.net/ubuntu/+source/transcode/+bug/1099201
for Fedora 24, also Ubuntu and openSUSE packagers apply the patch.
so please ArchLinux and other Linux distributions apply it, thanks!

My wife said: Kdenlive is better choice for ripping DVD :)

M  +6    -9    libk3b/core/k3bdefaultexternalprograms.cpp

https://commits.kde.org/k3b/f7d385a40cc062fa4db46c165f82f437dea82c58
Comment 28 Matthias 2017-06-14 06:25:42 UTC
Yeah, i agree with ffmpeg, while libAV is a fork from former ffmpeg devs, as far as i know. I also suggest to hint the VLC devs about your issue, they are one of the largest open source communitys when it comes to commits, so i bet they can fix your issue. My preferred method is to choose between both, libVLC and FFmpeg, since every user prefer another system and it also helps to bug tracking. :)
Comment 29 Leslie Zhai 2017-07-04 06:55:23 UTC
*** Bug 381886 has been marked as a duplicate of this bug. ***
Comment 30 Jerrod Frost 2017-07-04 16:56:27 UTC
How is this "RESOLVED UPSTREAM?" I'm still having issues and latest version of K3b still searches for and cannot find/use transcode (which is installed!)
Comment 31 Leslie Zhai 2017-07-05 01:25:35 UTC
(In reply to Jerrod Frost from comment #30)
> How is this "RESOLVED UPSTREAM?" I'm still having issues and latest version
> of K3b still searches for and cannot find/use transcode (which is installed!)

https://cgit.kde.org/k3b.git/commit/?id=f7d385a40cc062fa4db46c165f82f437dea82c58

Keep transcode until a replacement is implemented.