Ripping DVD fails: [export_ffmpeg.so] could not open FFMPEG codec

Hi,
I try to rip a DVD, but that fails (on Leap as well as on TW)

[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 @ 0x56318dc75c40] Value 2.000000 for parameter ‘rc_strategy’ out of range [0 - 1]
[MPEG4 encoder @ 0x56318dc75c40] Error setting option rc_strategy to value 2.
[export_ffmpeg.so] could not open FFMPEG codec
[encoder.c] video export module error: init failed
[transcode] failed to init encoder

All codecs (ffmpeg-3, ffmpeg-4) are from packman.
Anyone seen that before and know what to do?

I can nowhere find what you do. I only see some output of an unknown tool.:frowning:

yes, sorry, ripping done with k3b.
Should I post the full lg?

For using Packman properly, you should not really look at what codecs comes from where, but you should do the Vendor switch. When you are not 1000% absolute sure you did that switch, then please do it first, check again and post again. And maybe yes, then the logs might be usefull.

**
X1E:~ #** zypper dup --from packman --allow-vendor-change
Repository-Daten werden geladen…
Installierte Pakete werden gelesen…
Distributions-Aktualisierungen werden verarbeitet…
Keine auszuführenden Aktionen.

looks like everything is coming from Packman…so we come to the log, from

Devices

ASUS SDRW-08U9M-U B201 (/dev/sr0, CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD-R doppelschichtig, DVD+R, DVD+RW, DVD+R doppelschichtig) [DVD-ROM, DVD-R sequenziell, Zweischichtige DVD-R sequenziell, Zweischicht-DVD-R-Sprung, DVD-RW Eingeschränktes Überschreiben, DVD-RW sequenziell, DVD+RW, DVD+R, Zweischichtige DVD+R, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Eingeschränktes Überschreiben, Sprung zwischen DVD-Schichten] %7]

System

K3b Version: 22.4.0
KDE Version: 5.93.0
Qt Version: 5.15.2
Kernel: 5.17.4-1-default

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/49: 2 chapter(s), 1 angle(s), title set 1
[34;1mdvd_reader.c[0m] title playback time: 00:02:03.16 124 sec
[34;1mdvd_reader.c[0m] DVD title 1/49: 2 chapter(s), 1 angle(s), title set 1
[34;1mdvd_reader.c[0m] title playback time: 00:02:03.16 124 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.109 (low)
[transcode] V: decoding fps,frc | 25.000,3
[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 | 0x2000 AC3 [48000,16,2]
[transcode] A: export | disabled
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: language | de
[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) Lavc57.107.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…
[31;1mdemuxer.c[0m][33;1m warning[0m: (pid=22621) ‘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).
[34;1mdecode_mpeg2.c[0m] libmpeg2 acceleration: mmxext
[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 @ 0x55a955c98860] Value 2.000000 for parameter ‘rc_strategy’ out of range [0 - 1]
[MPEG4 encoder @ 0x55a955c98860] Error setting option rc_strategy to value 2.
[export_ffmpeg.so] could not open FFMPEG codec
[encoder.c] video export module error: init failed
[transcode] failed to init encoder

transcode command:

/usr/bin/transcode --nice 19 --log_no_color --progress_meter 2 --progress_rate 20 -i /dev/sr0 -x dvd -T 1,-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 768x576

Yes, your vendor change seems to be OK. Thanks for confirming that.

I hope the log tells somebody (more knowledgable then me) something.

BTW, for computer text copy/pastes use CODE tags, not QUOTE tags. It is the button with the # one the right of the QUOTE button.

Also, precede your commands with LANG=C when posting here in the English language section of the forums. E.g.

LANG=C zypper .........

Works also for other commands.

Hi
An old issue perhaps? 383931 – DVD rip to mpeg4 format fails transcode is old, use a different program it would seem…

Thanks for the link, unfortunately the mentioned patch seems to be gone, and ripping to xvid does not work either…
I’m not aware of any other ripping program, anyone?

I’ve used Handbrake in the past, to rip DVDs to .m4v (MPEG-4?). I haven’t used it since I installed Leap 15.3, though.

With Leap 15.3 KDE, I have ripped DVDs with both HandBrake and MakeMKV. HandBrake transcodes, so it makes smaller files but is slower. MakeMKV I believe does not transcode, so it is fast but gives large files.

Hi
It should work fine, if you have hardware encoders it should use…

I have a T400, just ripped a dvd with Handbrake as a test and see the encoder (H.264/NVENC) in use;

https://forums.opensuse.org/attachment.php?attachmentid=1091&stc=1