Summary: | Failed with error while ripping DVD (may be encrypted DVD) | ||
---|---|---|---|
Product: | [Applications] k3b | Reporter: | Colin <colin> |
Component: | Video DVD | Assignee: | k3b developers <k3b> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | hwittmaack, jspeter, lauriej, lucidlytwisted, marcelomar7117, michalm, piroisl33t, raymond_franz_ward, shalokshalom, simonandric5, trueg, tuliovallehernandez, wbauer1, zhaixiang |
Priority: | NOR | ||
Version: | 2.0.3 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Colin
2016-03-06 20:11:54 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 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 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. 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 Hi, transcode failed to rip videodvd, but vlc is able to work! I will have a look at vlc's ripping~ Regards, Leslie Zhai vlc dvdsimple:///dev/sr0#1 --sout "#standard{access=file,mux=ts,dst=out.mpg}" 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 reported the bug to transcode's UPSTREAM https://bitbucket.org/france/transcode-tcforge/issues/8/rip-dvd-avframeformat-is-not-set also create a pull request to transcode-1.2 https://bitbucket.org/achurch_/transcode/pull-requests/1/migrate-to-ffmpeg-313/diff *** Bug 361879 has been marked as a duplicate of this bug. *** *** Bug 356571 has been marked as a duplicate of this bug. *** *** Bug 369240 has been marked as a duplicate of this bug. *** *** Bug 371394 has been marked as a duplicate of this bug. *** 2 Months without any answer, correct? (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 yeah, 4 years no updates, so is this a surprise..? *** Bug 377691 has been marked as a duplicate of this bug. *** *** Bug 378423 has been marked as a duplicate of this bug. *** *** Bug 379166 has been marked as a duplicate of this bug. *** *** Bug 381131 has been marked as a duplicate of this bug. *** Please kindly use Kdenlive to import VOB, edit it then render into mp4. 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? 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 (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 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 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 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 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. :) *** Bug 381886 has been marked as a duplicate of this bug. *** 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!) (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. |