{"id":631,"date":"2011-03-06T11:18:23","date_gmt":"2011-03-06T15:18:23","guid":{"rendered":"http:\/\/www.timelordz.com\/blog\/?p=631"},"modified":"2011-03-06T11:20:09","modified_gmt":"2011-03-06T15:20:09","slug":"cant-rip-mp3-with-kio-slave-or-k3b-libsndfile-error","status":"publish","type":"post","link":"https:\/\/www.timelordz.com\/blog\/2011\/03\/cant-rip-mp3-with-kio-slave-or-k3b-libsndfile-error\/","title":{"rendered":"Can&#8217;t rip mp3 with kio slave or K3b &#8211; libsndfile error"},"content":{"rendered":"<p>Recently I was getting errors when trying to rip mp3 files on my Suse 11.3 box, though it seems this issue affects various distributions using KDE. The solution in my case turned out to be quite simple.<\/p>\n<p>Original error when using K3B or audiocd:\/\/<\/p>\n<p><code>Could not read some_song.mp3: encoding failed<br \/>\nWARNING: libsndfile may ignore -r and perform fseek's on the input.<br \/>\nCompile without libsndfile if this is a problem.<br \/>\n<\/code><br \/>\nI downloaded and compiled the latest version of lame from <a title=\"Sourceforge: Lame\" href=\"http:\/\/sourceforge.net\/projects\/lame\/\" target=\"_blank\">Sourceforge<\/a> &#8211; which is the same version as the one I had from Packman &#8211; 3.98.4. The version I compiled, specifying no additional options, allows ripping of mp3 files no problem.<\/p>\n<p>Running ldd on the packman (Suse repo) binary, and the one I compiled, show that the pm one is indeed compiled with libsndfile:<br \/>\n<code>Callandor:~ # ldd \/usr\/bin\/lame*<br \/>\n\/usr\/bin\/lame:<br \/>\nlinux-vdso.so.1 =&gt; (0x00007fff563ff000)<br \/>\nlibncurses.so.5 =&gt; \/lib64\/libncurses.so.5 (0x00007fc9202d2000)<br \/>\nlibm.so.6 =&gt; \/lib64\/libm.so.6 (0x00007fc92007b000)<br \/>\nlibc.so.6 =&gt; \/lib64\/libc.so.6 (0x00007fc91fd1b000)<br \/>\nlibdl.so.2 =&gt; \/lib64\/libdl.so.2 (0x00007fc91fb17000)<br \/>\n\/lib64\/ld-linux-x86-64.so.2 (0x00007fc920527000)<br \/>\n.<br \/>\n\/usr\/bin\/lame-pm:<br \/>\nlinux-vdso.so.1 =&gt; (0x00007fff9cfff000)<br \/>\nlibmp3lame.so.0 =&gt; \/usr\/lib64\/libmp3lame.so.0 (0x00007f84c6fc3000)<br \/>\nlibncurses.so.5 =&gt; \/lib64\/libncurses.so.5 (0x00007f84c6d6e000)<br \/>\nlibsndfile.so.1 =&gt; \/usr\/lib64\/libsndfile.so.1 (0x00007f84c6b07000)<br \/>\nlibm.so.6 =&gt; \/lib64\/libm.so.6 (0x00007f84c68b0000)<br \/>\nlibc.so.6 =&gt; \/lib64\/libc.so.6 (0x00007f84c6550000)<br \/>\nlibdl.so.2 =&gt; \/lib64\/libdl.so.2 (0x00007f84c634c000)<br \/>\nlibFLAC.so.8 =&gt; \/usr\/lib64\/libFLAC.so.8 (0x00007f84c60fc000)<br \/>\nlibvorbisenc.so.2 =&gt; \/usr\/lib64\/libvorbisenc.so.2 (0x00007f84c5d21000)<br \/>\n\/lib64\/ld-linux-x86-64.so.2 (0x00007f84c723f000)<br \/>\nlibogg.so.0 =&gt; \/usr\/lib64\/libogg.so.0 (0x00007f84c5b1a000)<br \/>\nlibvorbis.so.0 =&gt; \/usr\/lib64\/libvorbis.so.0 (0x00007f84c58ed000)<br \/>\n<\/code><br \/>\nInput from other users on the <a title=\"OpenSuse Forum\" href=\"http:\/\/forums.opensuse.org\/english\/get-technical-help-here\/multimedia\/454946-cant-rip-mp3-kio-slave-k3b-libsndfile-error.html\" target=\"_blank\">Suse foum<\/a> shows that this issue is a bit hit and miss. For some, lame linked against libsndfile seems to work  okay. For myself and others on various bug reports, not so much. Building lame is very easy though, and should you be experiencing this issue it might be something to try.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I was getting errors when trying to rip mp3 files on my Suse 11.3 box, though it seems this issue affects various distributions using KDE. The solution in my case turned out to be quite simple. Original error when using K3B or audiocd:\/\/ Could not read some_song.mp3: encoding failed WARNING: libsndfile may ignore -r [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[75,74,73,76],"class_list":["post-631","post","type-post","status-publish","format-standard","hentry","category-linux","tag-k3b","tag-kde","tag-libsndfile","tag-rip-mp3"],"_links":{"self":[{"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/posts\/631","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/comments?post=631"}],"version-history":[{"count":5,"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/posts\/631\/revisions"}],"predecessor-version":[{"id":636,"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/posts\/631\/revisions\/636"}],"wp:attachment":[{"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/media?parent=631"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/categories?post=631"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.timelordz.com\/blog\/wp-json\/wp\/v2\/tags?post=631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}