k3b version version is not able to rip any DVD (tried severals) as transcode (v1.1.7) returns error code 1. Running transcode from command line with the same options gives the same result. I am not familiar with the whole process, so I am not sure which tool/library generates the issue. I am willing to help, if needed! *k3b log below* Devices ----------------------- TSSTcorp CDDVDW SH-S223C SB04 (/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.2 KDE Version: 4.9.2 QT Version: 4.8.3 Kernel: 3.6.2-gentoo Used versions ----------------------- transcode: 1.1.7 transcode ----------------------- transcode v1.1.7 (C) 2001-2003 Thomas Oestreich, 2003-2010 Transcode Team libdvdread: Using libdvdcss version 1.2.12 for DVD access === last message repeated 2 times. === [[34;1mdvd_reader.c[0m] DVD title 1/1: 10 chapter(s), 1 angle(s), title set 1 [[34;1mdvd_reader.c[0m] title playback time: 02:26:55.18 8816 sec libdvdread: Using libdvdcss version 1.2.12 for DVD access === last message repeated 2 times. === [[34;1mdvd_reader.c[0m] DVD title 1/1: 10 chapter(s), 1 angle(s), title set 1 [[34;1mdvd_reader.c[0m] title playback time: 02:26:55.18 8816 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 @ 4:3 [transcode] V: clip frame (<-) | 720x576 [transcode] V: zoom | 768x576 1.33:1 (Lanczos3) [transcode] V: bits/pixel | 0.046 (low) [transcode] V: decoding fps,frc | 25.000,3 [transcode] V: multi-pass | (mode=1) writing data (pass 1) to /tmp/kde-didomax/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 | it [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 @ 768x576 [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) Lavc53.61.100 | (audio) MPEG/AC3/PCM libdvdread: Using libdvdcss version 1.2.12 for DVD access [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: Using libdvdcss version 1.2.12 for DVD access No accelerated IMDCT transform found libdvdread: Attempting to retrieve all CSS keys libdvdread: This can take a _long_ time, please be patient libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000014e libdvdread: Elapsed time 0 libdvdread: Found 1 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 [export_ffmpeg.so] Parsing ffmpeg preset 'medium' [export_ffmpeg.so] File for preset 'medium' not found transcode command: ----------------------- /usr/bin/transcode --nice 19 --log_no_color --progress_meter 2 --progress_rate 1469 -i /dev/sr0 -x dvd -T 1,-1,1 -a 0 -j 0,0,0,0 -R 1,/tmp/kde-didomax/k3b_0.log -y ffmpeg,null -o /dev/null -F mpeg4 -w 512 -Z 768x576 Reproducible: Always Steps to Reproduce: 1. put a dvd into your dvd reader 2. select the option "Rip Video DVD" from the Tools menu 3. error appears in the log window Actual Results: DVD is not ripped *Gento specific information (emerge --info)* Portage 2.1.11.31 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.3, glibc-2.15-r3, 3.6.2-gentoo x86_64) ================================================================= System uname: Linux-3.6.2-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_950_@_3.07GHz-with-gentoo-2.2 Timestamp of tree: Sun, 28 Oct 2012 10:45:01 +0000 ld GNU ld (GNU Binutils) 2.23 app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.12 dev-lang/python: 2.7.3-r2, 3.2.3-r1 dev-util/cmake: 2.8.9-r1 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.2 sys-apps/sandbox: 2.6 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.9.6-r3, 1.11.6, 1.12.4 sys-devel/binutils: 2.23 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.6 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA skype-eula dlj-1.1 AdobeFlash-10.3 PUEL Oracle-BCLA-JavaSE skype-4.0.0.7-copyright" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=native " DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=8.1 --keep-going" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://mirrors.linuxant.fr/distfiles.gentoo.org/ http://mirror.ovh.net/gentoo-distfiles/" LANG="en_US.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/mnt/auto/capsuleDisk/portageBinPkg" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif gpm iconv imagemagick ipv6 jpeg kde kipi laptop lcms ldap lm_sensors mad mmx mng modules mp3 mp4 mpeg mpi mudflap multilib ncurses netcdf networkmanager nls nptl nsplugin nvidia ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pppd qt3support qt4 readline samba sasl sdl semantic-desktop session spell sse sse2 sse3 ssl ssse3 startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vdpau vorbis wifi wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="samsung" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Created attachment 78635 [details] K3b error log I had the same error during a DVDRip job. I chose the "2-pass encode" option and, after having finished the first, it stopped while preparing to start the second step. I have "dvdlibcss4" and "libdvdcss2" properly installed on my pc as I could copy the same Dvd to an .iso file before I decided it would have been great if I could directly rip as an .avi file. Notice that I tried to restart the process and, unchecking the "2-pass encode" feature, it would have had to do only one conversion (I suppose) but the same error still occurred. I attached the "log.txt" file, so i hope it will be useful. Thanks for fixing this.
This bug is still current though it seems to be a problem with transcode itself. I have strace'd the transcode process spawned by k3b and it seems to try to open the following files (I'm guessing the codec part of the filenames must depend on the source medium): ./ffmpeg.cfg $HOME/.ffmpeg/medium.ffpreset $HOME/.ffmpeg/mpeg4-medium.ffpreset /usr/share/ffmpeg/medium.ffpreset /usr/share/ffmpeg/mpeg4-medium.ffpreset This is with K3b-2.0.2 and transcode-1.1.7. I don't think this is a k3b bug and will open a bug in Gentoo's bugzilla.
Bug already opened on Gentoo's side. They are tracking https://bugs.kde.org/show_bug.cgi?id=274668
There is a patch at https://launchpadlibrarian.net/184767623/debian-bug-697558- which reportedly solves the issue but I have not been able to confirm.
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.
Still relevant.
k3b can do nothing about a hopelessly broken transcode (with any non-ancient ffmpeg). In our Gentoo downstream package I hard-disabled transcode in code by reverting commit f7d385a40cc062fa4db46c165f82f437dea82c58, so as far as I am concerned this is "solved".
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/k3b/-/merge_requests/50
Git commit c65e9cfb04926c93cc5e112ec2e720dcc8161f5c by Albert Astals Cid, on behalf of Andreas Sturmlechner. Committed on 29/08/2023 at 23:46. Pushed by aacid into branch 'master'. Revert "Keep transcode until a replacement is implemented." No one implemented a replacement after more than 6 years. Make sure users are not presented with a completely broken option. This reverts commit f7d385a40cc062fa4db46c165f82f437dea82c58. Related: bug 383931, bug 399500, bug 414477, bug 434159, bug 441009, bug 274668 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> M +3 -0 libk3b/core/k3bdefaultexternalprograms.cpp https://invent.kde.org/multimedia/k3b/-/commit/c65e9cfb04926c93cc5e112ec2e720dcc8161f5c