Reply to topic

Transcode to Ogg/mp3 gone

User avatar bcooksley
Administrator
Posts
18641
Karma
83
OS

Re: Transcode to Ogg/mp3 gone

Wed Oct 31, 2012 8:13 am
Does it work under a new user by any chance? (Just ruling out any user specific configuration or cache issues).


System Settings and Device Actions KCM maintainer
Image
Horus
Registered Member
Posts
158
Karma
0
OS

Re: Transcode to Ogg/mp3 gone

Wed Oct 31, 2012 9:21 am
No, it does not work under a another, freshly created user.
User avatar bcooksley
Administrator
Posts
18641
Karma
83
OS

Re: Transcode to Ogg/mp3 gone

Fri Nov 02, 2012 6:24 am
Can you please confirm that Amarok (or it's appropriate transcoding plugins) link against the same ffmpeg library that the ffmpeg binary itself uses?


System Settings and Device Actions KCM maintainer
Image
Horus
Registered Member
Posts
158
Karma
0
OS

Re: Transcode to Ogg/mp3 gone

Fri Nov 02, 2012 8:27 am
I guess so:

Code: Select all
root@horus /home/florian # ldd /usr/bin/ffmpeg | grep mp3
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x00007f7e11712000)
root@horus /home/florian # ldd /usr/bin/amarok | grep mp3
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x00007f3e3bb11000)


Full output:
Code: Select all
root@horus /home/florian # ldd /usr/bin/ffmpeg
        linux-vdso.so.1 (0x00007fff0e9ff000)
        libavdevice.so.54 => /usr/lib/libavdevice.so.54 (0x00007fee3a1e2000)
        libavfilter.so.3 => /usr/lib/libavfilter.so.3 (0x00007fee39f2d000)
        libavformat.so.54 => /usr/lib/libavformat.so.54 (0x00007fee39bea000)
        libavcodec.so.54 => /usr/lib/libavcodec.so.54 (0x00007fee38c88000)
        libpostproc.so.52 => /usr/lib/libpostproc.so.52 (0x00007fee38a60000)
        libswresample.so.0 => /usr/lib/libswresample.so.0 (0x00007fee3884c000)
        libswscale.so.2 => /usr/lib/libswscale.so.2 (0x00007fee385fe000)
        libavutil.so.51 => /usr/lib/libavutil.so.51 (0x00007fee383d0000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fee381b4000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007fee37eb9000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007fee37b12000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007fee3790b000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fee376f8000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fee373bf000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0x00007fee370ce000)
        libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x00007fee36e36000)
        libv4l2.so.0 => /usr/lib/libv4l2.so.0 (0x00007fee36c2a000)
        libpulse-simple.so.0 => /usr/lib/libpulse-simple.so.0 (0x00007fee36a26000)
        libpulse.so.0 => /usr/lib/libpulse.so.0 (0x00007fee367dc000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007fee365d4000)
        librtmp.so.0 => /usr/lib/librtmp.so.0 (0x00007fee363bb000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007fee361a5000)
        libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007fee35f95000)
        libva.so.1 => /usr/lib/libva.so.1 (0x00007fee35d7e000)
        libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0x00007fee35a66000)
        libx264.so.124 => /usr/lib/libx264.so.124 (0x00007fee35718000)
        libvpx.so.1 => /usr/lib/libvpx.so.1 (0x00007fee35478000)
        libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00007fee34fa9000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007fee34d7c000)
        libtheoraenc.so.1 => /usr/lib/libtheoraenc.so.1 (0x00007fee34b3f000)
        libtheoradec.so.1 => /usr/lib/libtheoradec.so.1 (0x00007fee34924000)
        libspeex.so.1 => /usr/lib/libspeex.so.1 (0x00007fee3470b000)
        libschroedinger-1.0.so.0 => /usr/lib/libschroedinger-1.0.so.0 (0x00007fee34440000)
        libopenjpeg.so.1 => /usr/lib/libopenjpeg.so.1 (0x00007fee34218000)
        libopencore-amrwb.so.0 => /usr/lib/libopencore-amrwb.so.0 (0x00007fee34004000)
        libopencore-amrnb.so.0 => /usr/lib/libopencore-amrnb.so.0 (0x00007fee33dda000)
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x00007fee33b63000)
        libgsm.so.1 => /usr/lib/libgsm.so.1 (0x00007fee33958000)
        /lib/ld-linux-x86-64.so.2 (0x00007fee3a3f2000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fee33739000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fee33535000)
        libv4lconvert.so.0 => /usr/lib/libv4lconvert.so.0 (0x00007fee332bd000)
        libpulsecommon-2.1.so => /usr/lib/pulseaudio/libpulsecommon-2.1.so (0x00007fee3305b000)
        libjson.so.0 => /usr/lib/libjson.so.0 (0x00007fee32e53000)
        libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007fee32c0d000)
        libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0x00007fee329a3000)
        libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0x00007fee3259a000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0x00007fee32394000)
        liborc-0.4.so.0 => /usr/lib/liborc-0.4.so.0 (0x00007fee32119000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fee31e16000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fee31c01000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fee319fd000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fee317f7000)
        libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0x00007fee315a6000)
        libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0x00007fee31340000)
        libasyncns.so.0 => /usr/lib/libasyncns.so.0 (0x00007fee3113a000)
        libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0x00007fee30eef000)
        libnsl.so.1 => /usr/lib/libnsl.so.1 (0x00007fee30cd7000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007fee30ac0000)
root@horus /home/florian # ldd /usr/bin/amarok
        linux-vdso.so.1 (0x00007fff211ff000)
        libkdeui.so.5 => /usr/lib/libkdeui.so.5 (0x00007faad37ff000)
        libamarokcore.so.1 => /usr/lib/libamarokcore.so.1 (0x00007faad3578000)
        libamaroklib.so.1 => /usr/lib/libamaroklib.so.1 (0x00007faad2ab4000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007faad277b000)
        libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x00007faad1ad9000)
        libkdecore.so.5 => /usr/lib/libkdecore.so.5 (0x00007faad160d000)
        libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x00007faad113c000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007faad0e39000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007faad0c24000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007faad087d000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00007faad0675000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x00007faad0459000)
        libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0x00007faad0217000)
        libattica.so.0.4 => /usr/lib/libattica.so.0.4 (0x00007faacff48000)
        libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0x00007faacfc10000)
        libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0x00007faacf9ba000)
        libdbusmenu-qt.so.2 => /usr/lib/libdbusmenu-qt.so.2 (0x00007faacf781000)
        libXtst.so.6 => /usr/lib/libXtst.so.6 (0x00007faacf57a000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00007faacf36f000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007faacf168000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007faacef5d000)
        libQtDBus.so.4 => /usr/lib/libQtDBus.so.4 (0x00007faacece2000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007faaceac6000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007faace7cc000)
        libkio.so.5 => /usr/lib/libkio.so.5 (0x00007faace322000)
        libsolid.so.4 => /usr/lib/libsolid.so.4 (0x00007faace034000)
        libthreadweaver.so.4 => /usr/lib/libthreadweaver.so.4 (0x00007faacde1d000)
        libkfile.so.4 => /usr/lib/libkfile.so.4 (0x00007faacdb74000)
        libknewstuff3.so.4 => /usr/lib/libknewstuff3.so.4 (0x00007faacd901000)
        libphonon.so.4 => /usr/lib/libphonon.so.4 (0x00007faacd698000)
        libplasma.so.3 => /usr/lib/libplasma.so.3 (0x00007faacd172000)
        libQtScript.so.4 => /usr/lib/libQtScript.so.4 (0x00007faacccd1000)
        libQtSql.so.4 => /usr/lib/libQtSql.so.4 (0x00007faacca92000)
        liblastfm.so.0 => /usr/lib/liblastfm.so.0 (0x00007faacc84a000)
        libofa.so.0 => /usr/lib/libofa.so.0 (0x00007faacc634000)
        libavformat.so.54 => /usr/lib/libavformat.so.54 (0x00007faacc2f1000)
        libavcodec.so.54 => /usr/lib/libavcodec.so.54 (0x00007faacb38f000)
        libavutil.so.51 => /usr/lib/libavutil.so.51 (0x00007faacb161000)
        libamarokpud.so.1 => /usr/lib/libamarokpud.so.1 (0x00007faacaf48000)
        libamarokocsclient.so.4 => /usr/lib/libamarokocsclient.so.4 (0x00007faacad17000)
        libamarok-transcoding.so.1 => /usr/lib/libamarok-transcoding.so.1 (0x00007faacab01000)
        libtag.so.1 => /usr/lib/libtag.so.1 (0x00007faaca817000)
        libtag-extras.so.1 => /usr/lib/libtag-extras.so.1 (0x00007faaca608000)
        libkcmutils.so.4 => /usr/lib/libkcmutils.so.4 (0x00007faaca3c8000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007faaca1a9000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007faac9fa5000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007faac9caf000)
        libpng15.so.15 => /usr/lib/libpng15.so.15 (0x00007faac9a82000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007faac986c000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007faac95ce000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007faac9380000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007faac9146000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00007faac8f33000)
        libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007faac8d23000)
        liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007faac8b00000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007faac88f8000)
        /lib/ld-linux-x86-64.so.2 (0x00007faad3e68000)
        libuuid.so.1 => /usr/lib/libuuid.so.1 (0x00007faac86f3000)
        libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0x00007faac8489000)
        libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0x00007faac8080000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0x00007faac7e71000)
        libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007faac7c2b000)
        libnepomuk.so.4 => /usr/lib/libnepomuk.so.4 (0x00007faac7956000)
        libstreamanalyzer.so.0 => /usr/lib/libstreamanalyzer.so.0 (0x00007faac76d3000)
        libacl.so.1 => /usr/lib/libacl.so.1 (0x00007faac74ca000)
        libattr.so.1 => /usr/lib/libattr.so.1 (0x00007faac72c5000)
        libudev.so.1 => /usr/lib/libudev.so.1 (0x00007faac70b4000)
        libpulse.so.0 => /usr/lib/libpulse.so.0 (0x00007faac6e6a000)
        libpulse-mainloop-glib.so.0 => /usr/lib/libpulse-mainloop-glib.so.0 (0x00007faac6c65000)
        libqzeitgeist.so.1 => /usr/lib/libqzeitgeist.so.1 (0x00007faac6a40000)
        libQtWebKit.so.4 => /usr/lib/libQtWebKit.so.4 (0x00007faac4c5a000)
        libQtDeclarative.so.4 => /usr/lib/libQtDeclarative.so.4 (0x00007faac46b6000)
        libkdnssd.so.4 => /usr/lib/libkdnssd.so.4 (0x00007faac448b000)
        libkdewebkit.so.5 => /usr/lib/libkdewebkit.so.5 (0x00007faac4268000)
        libqca.so.2 => /usr/lib/libqca.so.2 (0x00007faac3f55000)
        libQtOpenGL.so.4 => /usr/lib/libQtOpenGL.so.4 (0x00007faac3c57000)
        libfftw3.so.3 => /usr/lib/libfftw3.so.3 (0x00007faac38db000)
        librtmp.so.0 => /usr/lib/librtmp.so.0 (0x00007faac36c2000)
        libva.so.1 => /usr/lib/libva.so.1 (0x00007faac34ab000)
        libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0x00007faac3193000)
        libx264.so.124 => /usr/lib/libx264.so.124 (0x00007faac2e45000)
        libvpx.so.1 => /usr/lib/libvpx.so.1 (0x00007faac2ba5000)
        libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00007faac26d6000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007faac24a9000)
        libtheoraenc.so.1 => /usr/lib/libtheoraenc.so.1 (0x00007faac226c000)
        libtheoradec.so.1 => /usr/lib/libtheoradec.so.1 (0x00007faac2051000)
        libspeex.so.1 => /usr/lib/libspeex.so.1 (0x00007faac1e38000)
        libschroedinger-1.0.so.0 => /usr/lib/libschroedinger-1.0.so.0 (0x00007faac1b6d000)
        libopenjpeg.so.1 => /usr/lib/libopenjpeg.so.1 (0x00007faac1945000)
        libopencore-amrwb.so.0 => /usr/lib/libopencore-amrwb.so.0 (0x00007faac1731000)
        libopencore-amrnb.so.0 => /usr/lib/libopencore-amrnb.so.0 (0x00007faac1507000)
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x00007faac1290000)
        libgsm.so.1 => /usr/lib/libgsm.so.1 (0x00007faac1085000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00007faac0e81000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007faac0c7b000)
        libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007faac0a1d000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007faac081b000)
        libffi.so.6 => /usr/lib/libffi.so.6 (0x00007faac0613000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007faac03e9000)
        libsoprano.so.4 => /usr/lib/libsoprano.so.4 (0x00007faac00eb000)
        libsopranoclient.so.1 => /usr/lib/libsopranoclient.so.1 (0x00007faabfe8e000)
        libstreams.so.0 => /usr/lib/libstreams.so.0 (0x00007faabfc54000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007faabf8f8000)
        libjson.so.0 => /usr/lib/libjson.so.0 (0x00007faabf6f0000)
        libpulsecommon-2.1.so => /usr/lib/pulseaudio/libpulsecommon-2.1.so (0x00007faabf48e000)
        libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007faabf1e3000)
        libgstapp-0.10.so.0 => /usr/lib/libgstapp-0.10.so.0 (0x00007faabefd7000)
        libgstinterfaces-0.10.so.0 => /usr/lib/libgstinterfaces-0.10.so.0 (0x00007faabedc5000)
        libgstpbutils-0.10.so.0 => /usr/lib/libgstpbutils-0.10.so.0 (0x00007faabeba1000)
        libgstvideo-0.10.so.0 => /usr/lib/libgstvideo-0.10.so.0 (0x00007faabe985000)
        libgstbase-0.10.so.0 => /usr/lib/libgstbase-0.10.so.0 (0x00007faabe731000)
        libgstreamer-0.10.so.0 => /usr/lib/libgstreamer-0.10.so.0 (0x00007faabe448000)
        libQtXmlPatterns.so.4 => /usr/lib/libQtXmlPatterns.so.4 (0x00007faabde02000)
        libkparts.so.4 => /usr/lib/libkparts.so.4 (0x00007faabdbac000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x00007faabd9a4000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0x00007faabd79d000)
        liborc-0.4.so.0 => /usr/lib/liborc-0.4.so.0 (0x00007faabd522000)
        libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0x00007faabd2bc000)
        libasyncns.so.0 => /usr/lib/libasyncns.so.0 (0x00007faabd0b6000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007faabceb2000)
        libnepomukutils.so.4 => /usr/lib/libnepomukutils.so.4 (0x00007faabcc76000)
        libatiuki.so.1 => /usr/lib/libatiuki.so.1 (0x00007faad3f21000)
        libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0x00007faabca2b000)
        libnsl.so.1 => /usr/lib/libnsl.so.1 (0x00007faabc813000)
        libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007faabc5fc000)
        libnepomukquery.so.4 => /usr/lib/libnepomukquery.so.4 (0x00007faabc3b4000)
e1nste1n
Registered Member
Posts
6
Karma
0
OS

Re: Transcode to Ogg/mp3 gone

Fri Nov 02, 2012 9:21 pm
same problem
opensuse 12.2, all m/media from packman
Code: Select all
albert@PC:~> ffmpeg
ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
  built on Sep 28 2012 23:56:09 with gcc 4.7 (SUSE Linux)
  configuration: --shlibdir=/usr/lib --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib --enable-shared --disable-static --enable-debug --disable-stripping --extra-cflags='-fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gsm' --enable-gpl --enable-x11grab --enable-version3 --enable-pthreads --enable-avfilter --enable-libpulse --enable-libvpx --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libxvid --enable-libx264 --enable-libschroedinger --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-postproc --enable-libdc1394 --enable-librtmp --enable-libfreetype --enable-avresample
  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 59.100 / 54. 59.100
  libavformat    54. 29.104 / 54. 29.104
  libavdevice    54.  2.101 / 54.  2.101
  libavfilter     3. 17.100 /  3. 17.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

Code: Select all
albert@PC:~> ldd /usr/bin/ffmpeg | grep mp3
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x44d15000)
albert@PC:~> ldd /usr/bin/amarok | grep mp3
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x44d15000)

Also soundkonverter can't handle mp3 encode via ffmpeg
Image
User avatar strohel
KDE Developer
Posts
53
Karma
0
OS

Re: Transcode to Ogg/mp3 gone

Fri Nov 02, 2012 11:54 pm
Horus wrote:Hello,

The on-the-fly transcode feature when copying to another collection used to work just fine until recently. The setting (transcode to ogg) is still intact but when actually copy the tracks I'm being confronted with the codec selection dialog. Everything but FLAC, Apple Losles and WMA is greyed out.
Hi Horrus,
the reason is quite simple: ffmpeg changed output of ffmpeg -codecs from:
Code: Select all
  EA    libmp3lame      libmp3lame MP3 (MPEG audio layer 3)
to:
Code: Select all
DEA.L. mp3                  MP3 (MPEG audio layer 3) (decoders: mp3 mp3float ) (encoders: libmp3lame )

in version 1.0, Amarok is then unable to parse the codec availability. Oh gosh, this ffmpeg 0.10 / ffmpeg 1.0 / libav schism is getting annoying.

Short answer: Amarok 2.6 doesn't support ffmpeg >= 1.0. You can try to downgrade ffmpeg or try libav instead. (with ffmpeg -> avconv symlink)
User avatar strohel
KDE Developer
Posts
53
Karma
0
OS

Re: Transcode to Ogg/mp3 gone  Topic is solved

Sat Nov 03, 2012 12:01 am
This will be fixed in Amarok 2.7, to track the progress please follow https://bugs.kde.org/show_bug.cgi?id=309454
User avatar strohel
KDE Developer
Posts
53
Karma
0
OS

Re: Transcode to Ogg/mp3 gone

Sun Nov 18, 2012 10:15 am
Fixed in current git and to-be 2.7, please test.
Horus
Registered Member
Posts
158
Karma
0
OS

Re: Transcode to Ogg/mp3 gone

Sun Dec 09, 2012 11:57 am
Sorry, had no time to test it...

Could it be possible that non-playing of last.fm radio stations is also related to that API change of ffmpeg?
User avatar strohel
KDE Developer
Posts
53
Karma
0
OS

Re: Transcode to Ogg/mp3 gone

Sun Dec 09, 2012 12:03 pm
Horus wrote:Could it be possible that non-playing of last.fm radio stations is also related to that API change of ffmpeg?
No.
wolfi323
Registered Member
Posts
231
Karma
0
OS

Re: Transcode to Ogg/mp3 gone

Wed Dec 12, 2012 1:41 pm
I have tested it on openSUSE 12.2 with ffmpeg 1.0 from Packman.

With this commit transcoding works again to all formats except AAC.
"ffmpeg -codecs|grep aac" gives me:
Code: Select all
 DEA.L. aac                  AAC (Advanced Audio Coding)
 D.A.L. aac_latm             AAC LATM (Advanced Audio Coding LATM syntax)
So it seems my ffmpeg is compiled without support for faac, that's why AAC is greyed out...

Wouldn't it be better to use aac as fallback codec if libfaac is not available?
Maybe with code like this: (src/core/transcoding/formats/TranscodingAacFormat.cpp)
Code: Select all
QStringList
AacFormat::ffmpegParameters( const Configuration &configuration ) const
{
    QStringList parameters;
    parameters << "-acodec" << usefaac ? "libfaac" : "aac";

/* rest of the code stripped */
}

bool
AacFormat::verifyAvailability( const QString &ffmpegOutput ) const
{
    if(ffmpegOutput.contains( QRegExp( "^ .EA....*libfaac" ) ))
    {
        usefaac=true;
        return true;
    }
    else
        return ffmpegOutput.contains( QRegExp( "^ .EA....*aac" ) );
}
User avatar strohel
KDE Developer
Posts
53
Karma
0
OS

Re: Transcode to Ogg/mp3 gone

Wed Dec 12, 2012 3:49 pm
wolfi323 wrote:Wouldn't it be better to use aac as fallback codec if libfaac is not available?
Yes, is is a possibility. However there are some considerations:
* I've seen somewhere that "aac" is reportedly inferior in encoding quality and quality/bitrate to libfaac
* acc may interpret the quality paremeter differently, needs checking that is produces approximately the same bitrates/quality with the same quality setting

wolfi323 wrote:Maybe with code like this: (src/core/transcoding/formats/TranscodingAacFormat.cpp)
...but if it works out, we would welcome this fallback. Please write and actual patch, test that it works as expected (first tries libfaac, then aac, then reports non-availability; this involoves you reinstalling ffmpeg with various codecs enabled/compiled in) and test/check the points above. Then please submit the patch using http://reviewboard.kde.org/

We would love to see you improving Amarok, thanks!
wolfi323
Registered Member
Posts
231
Karma
0
OS

Re: Transcode to Ogg/mp3 gone

Thu Dec 13, 2012 1:34 am
First of all, I just wanted to point this out.
I personally don't use aac.

But I'm willing to help! ;)

strohel wrote:* I've seen somewhere that "aac" is reportedly inferior in encoding quality and quality/bitrate to libfaac
I don't know about that. But I think "aac" is better than nothing at all. o)

strohel wrote:* acc may interpret the quality paremeter differently, needs checking that is produces approximately the same bitrates/quality with the same quality setting
Right, that's what came up to my mind as well before I wrote my post. Haven't checked yet.

strohel wrote:...but if it works out, we would welcome this fallback. Please write and actual patch, test that it works as expected (first tries libfaac, then aac, then reports non-availability; this involoves you reinstalling ffmpeg with various codecs enabled/compiled in) and test/check the points above. Then please submit the patch using http://reviewboard.kde.org/

We would love to see you improving Amarok, thanks!
OK. I will do that.
But it will take some time...

Thanks for your work, btw! :)
User avatar strohel
KDE Developer
Posts
53
Karma
0
OS

Re: Transcode to Ogg/mp3 gone

Thu Dec 13, 2012 1:40 am
wolfi323 wrote:First of all, I just wanted to point this out.
I personally don't use aac.

But I'm willing to help! ;)
Great!

wolfi323 wrote:
strohel wrote:We would love to see you improving Amarok, thanks!
OK. I will do that.
But it will take some time...
Take your time, we're in feature freeze for 2.7 anyway.

wolfi323 wrote:Thanks for your work, btw! :)
Thanks your your future contribution! You may join us on IRC, channel #amarok. Ping me (strohel) if you have any quick questions regarding the patch.
User avatar jospoortvliet
Registered Member
Posts
38
Karma
0
OS

Re: Transcode to Ogg/mp3 gone

Mon Dec 31, 2012 1:13 pm
Just a confirmation - the openSUSE KDE SC 4.10 git build of Amarok does fix this issue for me as well ;-)

Thanks!


I don't do sigs.

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], capslock, cloose, edmael, Exabot [Bot], Google [Bot], GreatEmerald, HmpfCBR, johngates, koriun, Majestic-12 [Bot], mgraesslin, piedro, psbot [Picsearch], sledz, Sogou [Bot], TheraHedwig, tparrott, Yahoo [Bot]