high sierra – quicklook skips around in the beginning when playing foreign audio formats (flac, mp3)

If I generate preview of an audio file of foreign format, for example, flac or mp3, quicklook skips around 2 times in the first 10~15 seconds of playing. This does not happen for native formats like aiff or m4a (alac).

Sample file (original plus quicklook output): https://github.com/sclsj/quicklook or https://scls-my.sharepoint.cn/:f:/g/personal/joyjin_scls-sh_org/EvhC-EDGb9hMhRaLViY3tzgBR4W20ggQTu6eKqx0Li6DXQ?e=fbqHn9

Sample output (qlmanage -d 4 -p)

qlmanage -d 4 -p /volumes/Seagate 5T (Joy Jin)/tmp/QQ音乐/東方花映塚/上海アリス幻樂団 (上海爱莉丝幻乐团)-六十年目の東方裁判~Fate of Sixty Years.mp3 

Testing Quick Look preview with files:
    /volumes/Seagate 5T (Joy Jin)/tmp/QQ音乐/東方花映塚/上海アリス幻樂団 (上海爱莉丝幻乐团)-六十年目の東方裁判~Fate of Sixty Years.mp3
(DEBUG) Registering <QLGenerator Web.qlgenerator> for com.apple.webarchive
(DEBUG) Registering <QLGenerator Web.qlgenerator> for public.html
(DEBUG) Registering <QLGenerator Web.qlgenerator> for public.xhtml
(DEBUG) Registering <QLGenerator Web.qlgenerator> for public.svg-image
(DEBUG) Registering <QLGenerator Clippings.qlgenerator> for com.apple.finder.textclipping
(DEBUG) Registering <QLGenerator Clippings.qlgenerator> for com.apple.finder.pictclipping
(DEBUG) Registering <QLGenerator Clippings.qlgenerator> for com.apple.pict
(DEBUG) Registering <QLGenerator Clippings.qlgenerator> for com.apple.internet-location
(DEBUG) Registering <QLGenerator Package.qlgenerator> for com.apple.package
(DEBUG) Registering <QLGenerator Image.qlgenerator> for public.image
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/SceneKit.qlgenerator> for public.3d-content
(DEBUG) Registering <QLGenerator Text.qlgenerator> for public.plain-text
(DEBUG) Registering <QLGenerator Text.qlgenerator> for public.rtf
(DEBUG) Registering <QLGenerator Text.qlgenerator> for com.apple.rtfd
(DEBUG) Registering <QLGenerator Text.qlgenerator> for org.oasis-open.opendocument.text
(DEBUG) Registering <QLGenerator Text.qlgenerator> for com.apple.property-list
(DEBUG) Registering <QLGenerator Text.qlgenerator> for public.xml
(DEBUG) Registering <QLGenerator Font.qlgenerator> for public.font
(DEBUG) Registering <QLGenerator PDF.qlgenerator> for com.adobe.pdf
(DEBUG) Registering <QLGenerator Audio.qlgenerator> for public.audio
(DEBUG) Registering <QLGenerator StandardBundles.qlgenerator> for com.apple.application
(DEBUG) Registering <QLGenerator StandardBundles.qlgenerator> for com.apple.systempreference.prefpane
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/iBooks.qlgenerator> for org.idpf.epub-folder
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/iBooks.qlgenerator> for com.apple.ibooks-folder
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/iBooks.qlgenerator> for org.idpf.epub-container
(DEBUG) Registering <QLGenerator LivePhoto.qlgenerator> for com.apple.private.live-photo-bundle
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Security.qlgenerator> for public.x509-certificate
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Security.qlgenerator> for public.x509-printable-encoded-archive
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Security.qlgenerator> for com.rsa.pkcs-12
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Security.qlgenerator> for com.apple.keychain
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/iChat.qlgenerator> for com.apple.ichat.ichat
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/iChat.qlgenerator> for com.apple.ichat.transcript
(DEBUG) Registering <QLGenerator Movie.qlgenerator> for public.movie
(DEBUG) Registering <QLGenerator Bookmark.qlgenerator> for com.apple.safari.bookmark
(DEBUG) Registering <QLGenerator Bookmark.qlgenerator> for com.apple.safari.history
(DEBUG) Registering <QLGenerator iCal.qlgenerator> for com.apple.ical.bookmark
(DEBUG) Registering <QLGenerator iCal.qlgenerator> for com.apple.ical.bookmark.todo
(DEBUG) Registering <QLGenerator iCal.qlgenerator> for com.apple.ical.ics
(DEBUG) Registering <QLGenerator iCal.qlgenerator> for com.apple.ical.ics.event
(DEBUG) Registering <QLGenerator iCal.qlgenerator> for com.apple.ical.ics.todo
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Mail.qlgenerator> for com.apple.mail.email
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Mail.qlgenerator> for com.apple.mail.emlx
(DEBUG) Registering <QLGenerator EPS.qlgenerator> for com.adobe.encapsulated-postscript
(DEBUG) Registering <QLGenerator EPS.qlgenerator> for com.adobe.illustrator.ai-image
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for com.microsoft.word.doc
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for com.microsoft.word.dot
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for com.microsoft.word.stationery
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for com.microsoft.excel.xls
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for com.microsoft.excel.xlt
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for com.microsoft.powerpoint.ppt
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for com.microsoft.powerpoint.pot
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for com.microsoft.powerpoint.pps
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.wordprocessingml.document
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.wordprocessingml.template
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.wordprocessingml.document.macroenabled
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.wordprocessingml.template.macroenabled
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.spreadsheetml.sheet
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.spreadsheetml.template
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.spreadsheetml.sheet.macroenabled
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.spreadsheetml.template.macroenabled
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.presentationml.presentation
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.presentationml.template.macroenabled
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.presentationml.template
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.presentationml.presentation.macroenabled
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.presentationml.slideshow
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for org.openxmlformats.presentationml.slideshow.macroenabled
(DEBUG) Registering <QLGenerator /System/Library/QuickLook/Office.qlgenerator> for public.comma-separated-values-text
(DEBUG) Registering <QLGenerator Icon.qlgenerator> for com.apple.iconset
(DEBUG) Registering <QLGenerator Contact.qlgenerator> for public.vcard
(DEBUG) Registering <QLGenerator Contact.qlgenerator> for com.apple.addressbook.person
(DEBUG) Registering <QLGenerator Contact.qlgenerator> for com.apple.addressbook.group
(DEBUG) Registering <QLGenerator LocPDF.qlgenerator> for com.apple.localized-pdf-bundle
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.numbers.numbers
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.numbers.sffnumbers
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.numbers.numbers-tef
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.numbers.sfftemplate
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.numbers.template
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.pages.pages
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.pages.sffpages
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.pages.pages-tef
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.pages.sfftemplate
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.pages.template
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.keynote.key
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.keynote.key
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.keynote.sffkey
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.keynote.key-tef
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.keynote.sffkth
(DEBUG) Registering <QLGenerator /Library/QuickLook/iWork.qlgenerator> for com.apple.iwork.keynote.kth
(DEBUG) Registering <QLGenerator /Library/QuickLook/QuickNFO.qlgenerator> for org.planbnet.nfo
(DEBUG) Registering <QLGenerator /Library/QuickLook/iBooksAuthor.qlgenerator> for com.apple.ibooksauthor.book
(DEBUG) Registering <QLGenerator /Applications/Xcode.app/Contents/Library/QuickLook/DVTProvisioningProfileQuicklookGenerator.qlgenerator> for com.apple.mobileprovision
(DEBUG) Registering <QLGenerator /Applications/Xcode.app/Contents/Library/QuickLook/DVTProvisioningProfileQuicklookGenerator.qlgenerator> for com.apple.provisionprofile
(DEBUG) Registering <QLGenerator /Applications/Parallels Desktop.app/Contents/Library/QuickLook/ParallelsQL.qlgenerator> for com.parallels.vm.vmpackage
(DEBUG) Registering <QLGenerator /Applications/Parallels Desktop.app/Contents/Library/QuickLook/ParallelsQL.qlgenerator> for com.parallels.vm.vmpackage.compressed
(DEBUG) Registering <QLGenerator /Applications/Parallels Desktop.app/Contents/Library/QuickLook/ParallelsQL.qlgenerator> for com.vmware.foreign.pvm
(DEBUG) Registering <QLGenerator /Applications/Parallels Desktop.app/Contents/Library/QuickLook/ExeQL.qlgenerator> for com.microsoft.windows-executable
(DEBUG) Registering <QLGenerator /Applications/Sibelius.app/Contents/Library/QuickLook/SibeliusScore.qlgenerator> for com.sibelius.score
(DEBUG) Registering <QLGenerator /Applications/GarageBand.app/Contents/Library/QuickLook/GarageBandQLGenerator.qlgenerator> for com.apple.garageband.project
(DEBUG) Registering <QLGenerator /Applications/GarageBand.app/Contents/Library/QuickLook/GarageBandQLGenerator.qlgenerator> for com.apple.garageband.template.magic
(DEBUG) Registering <QLGenerator /Applications/GarageBand.app/Contents/Library/QuickLook/GarageBandQLGenerator.qlgenerator> for com.apple.garageband.template.magicmentor
(DEBUG) Registering <QLGenerator /Applications/GarageBand.app/Contents/Library/QuickLook/LogicXQLGenerator.qlgenerator> for com.apple.logicx.project
(DEBUG) file:///Applications/Logic%20Pro%20X.app/Contents/Library/QuickLook/LogicXQLGenerator.qlgenerator/ is older than <QLGenerator /Applications/GarageBand.app/Contents/Library/QuickLook/LogicXQLGenerator.qlgenerator>. Ignoring
(DEBUG) Registering <QLGenerator /Applications/Parallels Toolbox.app/Contents/Library/QuickLook/ParallelsToolboxQuickLookPlugin.qlgenerator> for com.apple.application-bundle
(DEBUG) Registering <QLGenerator /Applications/Parallels Toolbox.app/Contents/Library/QuickLook/ParallelsToolboxQuickLookPlugin.qlgenerator> for com.apple.application
(DEBUG) Registering <QLGenerator /Applications/Polyspace/R2019b.app/Contents/Library/QuickLook/quickLookSLX.qlgenerator> for com.mathworks.simulink-model-slx
(DEBUG) Registering <QLGenerator /Applications/Polyspace/R2019b.app/Contents/Library/QuickLook/quickLookSLX.qlgenerator> for com.mathworks.matlab-app
(DEBUG) Registering <QLGenerator /Applications/Polyspace/R2019b.app/Contents/Library/QuickLook/quickLookSLX.qlgenerator> for com.mathworks.matlab-app-install
(DEBUG) Registering <QLGenerator /Applications/Polyspace/R2019b.app/Contents/Library/QuickLook/quickLookSLX.qlgenerator> for com.mathworks.matlab-toolbox
(DEBUG) Registering <QLGenerator /Applications/Polyspace/R2019b.app/Contents/Library/QuickLook/quickLookSLX.qlgenerator> for com.mathworks.simulink-template
(DEBUG) Registering <QLGenerator /Applications/Polyspace/R2019b.app/Contents/Library/QuickLook/quickLookSLX.qlgenerator> for com.mathworks.matlab-data-export
(DEBUG) Preview test for file:///volumes/Seagate%205T%20(Joy%20Jin)/tmp/QQ%E9%9F%B3%E4%B9%90/%E6%9D%B1%E6%96%B9%E8%8A%B1%E6%98%A0%E5%A1%9A/%E4%B8%8A%E6%B5%B7%E3%82%A2%E3%83%AA%E3%82%B9%E5%B9%BB%E6%A8%82%E5%9B%A3%20(%E4%B8%8A%E6%B5%B7%E7%88%B1%E8%8E%89%E4%B8%9D%E5%B9%BB%E4%B9%90%E5%9B%A2)-%E5%85%AD%E5%8D%81%E5%B9%B4%E7%9B%AE%E3%81%AE%E6%9D%B1%E6%96%B9%E8%A3%81%E5%88%A4%EF%BD%9EFate%20of%20Sixty%20Years.mp3. Content type UTI: public.mp3
(DEBUG) Previewing file:///volumes/Seagate%205T%20(Joy%20Jin)/tmp/QQ%E9%9F%B3%E4%B9%90/%E6%9D%B1%E6%96%B9%E8%8A%B1%E6%98%A0%E5%A1%9A/%E4%B8%8A%E6%B5%B7%E3%82%A2%E3%83%AA%E3%82%B9%E5%B9%BB%E6%A8%82%E5%9B%A3%20(%E4%B8%8A%E6%B5%B7%E7%88%B1%E8%8E%89%E4%B8%9D%E5%B9%BB%E4%B9%90%E5%9B%A2)-%E5%85%AD%E5%8D%81%E5%B9%B4%E7%9B%AE%E3%81%AE%E6%9D%B1%E6%96%B9%E8%A3%81%E5%88%A4%EF%BD%9EFate%20of%20Sixty%20Years.mp3. Content type UTI: public.mp3. Generator used: <QLGenerator Audio.qlgenerator>
(DEBUG) Loading <QLGenerator Audio.qlgenerator>
(DEBUG) Previewing file:///volumes/Seagate%205T%20(Joy%20Jin)/tmp/QQ%E9%9F%B3%E4%B9%90/%E6%9D%B1%E6%96%B9%E8%8A%B1%E6%98%A0%E5%A1%9A/%E4%B8%8A%E6%B5%B7%E3%82%A2%E3%83%AA%E3%82%B9%E5%B9%BB%E6%A8%82%E5%9B%A3%20(%E4%B8%8A%E6%B5%B7%E7%88%B1%E8%8E%89%E4%B8%9D%E5%B9%BB%E4%B9%90%E5%9B%A2)-%E5%85%AD%E5%8D%81%E5%B9%B4%E7%9B%AE%E3%81%AE%E6%9D%B1%E6%96%B9%E8%A3%81%E5%88%A4%EF%BD%9EFate%20of%20Sixty%20Years.mp3 finished
(DEBUG) Thumbnailing file:///volumes/Seagate%205T%20(Joy%20Jin)/tmp/QQ%E9%9F%B3%E4%B9%90/%E6%9D%B1%E6%96%B9%E8%8A%B1%E6%98%A0%E5%A1%9A/%E4%B8%8A%E6%B5%B7%E3%82%A2%E3%83%AA%E3%82%B9%E5%B9%BB%E6%A8%82%E5%9B%A3%20(%E4%B8%8A%E6%B5%B7%E7%88%B1%E8%8E%89%E4%B8%9D%E5%B9%BB%E4%B9%90%E5%9B%A2)-%E5%85%AD%E5%8D%81%E5%B9%B4%E7%9B%AE%E3%81%AE%E6%9D%B1%E6%96%B9%E8%A3%81%E5%88%A4%EF%BD%9EFate%20of%20Sixty%20Years.mp3 (try #1)
(DEBUG) Thumbnailing file:///volumes/Seagate%205T%20(Joy%20Jin)/tmp/QQ%E9%9F%B3%E4%B9%90/%E6%9D%B1%E6%96%B9%E8%8A%B1%E6%98%A0%E5%A1%9A/%E4%B8%8A%E6%B5%B7%E3%82%A2%E3%83%AA%E3%82%B9%E5%B9%BB%E6%A8%82%E5%9B%A3%20(%E4%B8%8A%E6%B5%B7%E7%88%B1%E8%8E%89%E4%B8%9D%E5%B9%BB%E4%B9%90%E5%9B%A2)-%E5%85%AD%E5%8D%81%E5%B9%B4%E7%9B%AE%E3%81%AE%E6%9D%B1%E6%96%B9%E8%A3%81%E5%88%A4%EF%BD%9EFate%20of%20Sixty%20Years.mp3. Content type UTI: public.mp3. Generator used: <QLGenerator Audio.qlgenerator>
(DEBUG) Thumbnailing file:///volumes/Seagate%205T%20(Joy%20Jin)/tmp/QQ%E9%9F%B3%E4%B9%90/%E6%9D%B1%E6%96%B9%E8%8A%B1%E6%98%A0%E5%A1%9A/%E4%B8%8A%E6%B5%B7%E3%82%A2%E3%83%AA%E3%82%B9%E5%B9%BB%E6%A8%82%E5%9B%A3%20(%E4%B8%8A%E6%B5%B7%E7%88%B1%E8%8E%89%E4%B8%9D%E5%B9%BB%E4%B9%90%E5%9B%A2)-%E5%85%AD%E5%8D%81%E5%B9%B4%E7%9B%AE%E3%81%AE%E6%9D%B1%E6%96%B9%E8%A3%81%E5%88%A4%EF%BD%9EFate%20of%20Sixty%20Years.mp3 did not produce anything
2020-07-02 18:05:16.462 qlmanage(46072:1791597) *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x1d603, name = 'com.apple.coredrag'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2020-07-02 18:05:16.606 qlmanage(46072:1791597) *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x19e1f, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.

qlmanage generated preview does not have the skipping around problem. qlmanage does produce a few more errors if I drag the time slice:

2020-07-02 18:07:36.486 qlmanage(46109:1793590) CMTimeMakeWithSeconds(27.947 seconds, timescale 1): warning: error of -0.947 introduced due to very low timescale
2020-07-02 18:07:36.487 qlmanage(46109:1793590) CMTimeMakeWithSeconds(28.215 seconds, timescale 1): warning: error of -0.215 introduced due to very low timescale
2020-07-02 18:07:37.824 qlmanage(46109:1793590) CMTimeMakeWithSeconds(67.678 seconds, timescale 1): warning: error of -0.678 introduced due to very low timescale
2020-07-02 18:07:37.825 qlmanage(46109:1793590) CMTimeMakeWithSeconds(67.946 seconds, timescale 1): warning: error of -0.946 introduced due to very low timescale

I don’t know how to troubleshoot this problem. Does anyone have any idea to why this occur or possible solutions?

System: macOS High Sierra 10.13.6

linux – Convert .wav to .mp3 with specific codec using LAME

I have two audio files, One is .mp3 format ( extension is .wav but the file is .mp3 ) and other is actual .wav format. I am trying to convert actual .wav format same as first .mp3 file.

First .mp3 file

General
Complete name                            : count.wav
Format                                   : MPEG Audio
File size                                : 183 KiB
Duration                                 : 9 s 360 ms
Overall bit rate mode                    : Constant
Overall bit rate                         : 160 kb/s
Writing library                          : LAME3.99.5
FileExtension_Invalid                    : m1a mpa mpa1 mp1 m2a mpa2 mp2 mp3

Audio
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 3
Format settings                          : Joint stereo / MS Stereo
Duration                                 : 9 s 360 ms
Bit rate mode                            : Constant
Bit rate                                 : 160 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 kHz
Frame rate                               : 41.667 FPS (1152 SPF)
Compression mode                         : Lossy
Stream size                              : 183 KiB (100%)
Writing library                          : LAME3.99.5

Second .wav file

General
Complete name                            : second_file.wav
Format                                   : Wave
File size                                : 1.41 MiB
Duration                                 : 15 s 445 ms
Overall bit rate mode                    : Constant
Overall bit rate                         : 768 kb/s

Audio
Format                                   : PCM
Format settings                          : Little / Signed
Codec ID                                 : 1
Duration                                 : 15 s 445 ms
Bit rate mode                            : Constant
Bit rate                                 : 768 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 48.0 kHz
Bit depth                                : 16 bits
Stream size                              : 1.41 MiB (100%)

I am trying to convert second file in the first format with all the encoding, bits and other audio features same as first audio.

My LAME version was 3.100, someone suggested you should get LAME3.99.5 since first audio is written using that one. I have installed LAME3.99.5 on my macos and tried this command :

lame -b 160 -h second_file.wav converted.mp3

output file info :

General
Complete name                            : converted.mp3
Format                                   : MPEG Audio
File size                                : 303 KiB
Duration                                 : 15 s 480 ms
Overall bit rate mode                    : Constant
Overall bit rate                         : 160 kb/s
Writing library                          : LAME3.99r

Audio
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 3
Duration                                 : 15 s 480 ms
Bit rate mode                            : Constant
Bit rate                                 : 160 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 48.0 kHz
Frame rate                               : 41.667 FPS (1152 SPF)
Compression mode                         : Lossy
Stream size                              : 302 KiB (100%)
Writing library                          : LAME3.99r
Encoding settings                        : -m m -V 4 -q 2 -lowpass 20.5 -b 160

Is it exactly same as first file or am I losing some info and making any mistake?

I also tried to convert both files in .mp3 using ffmpeg

General
Complete name                            : s1.mp3
Format                                   : MPEG Audio
File size                                : 147 KiB
Duration                                 : 9 s 384 ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 128 kb/s
Writing library                          : LAME3.100

Audio
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 3
Format settings                          : Joint stereo / MS Stereo
Duration                                 : 9 s 384 ms
Bit rate mode                            : Variable
Bit rate                                 : 128 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 kHz
Frame rate                               : 41.667 FPS (1152 SPF)
Compression mode                         : Lossy
Stream size                              : 147 KiB (100%)
Writing library                          : LAME3.100

Second file after conversion using ffmpeg

General
Complete name                            : s2.mp3
Format                                   : MPEG Audio
File size                                : 121 KiB
Duration                                 : 15 s 480 ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 64.0 kb/s
Writing library                          : Lavf58.29.100

Audio
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 3
Duration                                 : 15 s 480 ms
Bit rate mode                            : Variable
Bit rate                                 : 64.0 kb/s
Channel(s)                               : 1 channel
Sampling rate                            : 48.0 kHz
Frame rate                               : 41.667 FPS (1152 SPF)
Compression mode                         : Lossy
Stream size                              : 121 KiB (100%)

As you can see there are few differences in both audios. How to scale both audio formats at one format with all the features ( bit rate, sampling etc ) should be same in both.

i cant see my mp3 when i use otg cable

I can’t get my mp3 player to stay connected when i use an otg cable. It connects and then start charging. I have only found one app i can view it on OTG disk explorer. But it only lets my drop files into a download folder. How do i get the file manager to see it?

java – I'm trying to upload an MP3 file to a Tomcat servlet for encryption. IOUtils throws an error when converting the input stream to a byte array

I need to convert the input stream content into a byte array targetArray so it can be encrypted. This is served by a Tomcat 8.5 servlet. I am trying to use Apache Commons io IOUtils according to https://www.baendung.com/convert-input-stream-to-array-of-bytes (method 2.3). I get the error message java.lang.ClassNotFoundException: org.apache.commons.io.IOUtils. Here is my doPost method.

public void doPost(HttpServletRequest request, HttpServletResponse response)
          throws ServletException, java.io.IOException {

      PrintWriter out = response.getWriter();
      response.setContentType("text/html");
      int keyLength = 128;
      try {
        String key = mp3Driver.generateAESKey(keyLength);
        // out.println(key);
      } catch (NoSuchAlgorithmException e) {
        out.println("Error generating key");
      }

      Part uploadedFile = request.getPart("mp3file");
      InputStream content = uploadedFile.getInputStream();
      byte() targetArray = IOUtils.toByteArray(content);
      out.println(Arrays.toString(targetArray)); //for testing

      // call to encryption function here

      out.flush();
    } // error thrown at end of function

Any thoughts on what to do? Of course, I checked three times whether I used the correct import instruction for IOUtils. We are also sorry if there are problems with this question. This is my first question and the first use of Tomcat.

MP3 support on Xubuntu 20.04 / Guaydeque

I just installed Xubuntu 20.04 and am currently working on getting MP3 / FLAC support going. First I installed various players to test the look and feel (Clementine, Rhythmbox, QuodLibet …) and ended up choosing Guayadeque (would have preferred gmusicbrowser, but unfortunately …)

Anyway: Guayadeque plays Ogg, Ape, most other formats, some (but not all ?!) Flac, but no MP3. I installed, deleted and reinstalled restricted extras and addons, but to no avail …

vlc and parole all play, but they suck as a music browser! (I have a large collection of 70,000 songs, so I need advanced DB search and other features).

So: what to do, where to look?

Thank you for your suggestions!

Sell ​​- MP3 clips AGC Youtube | Proxies-free

AGC MP3 & GRABBER YOUTUBE (Anti-Limit)

Details script:
PHP script
Seo friendly
Modern design.
Flexible, customizable and organized.
Fully responsive
With database & admin panel
No-Need API KEY (Anti-Limit)
No video import required
Full video from youtube
Homepage video Youtube by keyword or top songs from iTunes
Top songs, iTunes albums
Block Bad Keyword & ID Youtube For DMCA Complaint
Auto sitemap, can insert keyword in TXT file
Download Format Video & MP3
Support Safelink
Setting up ADS Banner & PopUp

DEMO AGC:
DMP3-Clips – Free MP3 & Video Download

Required:
Apache / Nginx
PHP 7.0 – 7.2
mod_rewrite
cURL
Can be installed on shared hosting or VPS hosting

Normal price: $ 50
Only this time: $ 5

Use coupon codes when purchasing
Coupon code: 90OFF

ORDER quickly
https://s.id/hc29F

Sales are for 10 buyers only.

Payment:
Paypal

MP3 backwards with 5 seconds

I want an MP3 player with a button that runs 5 seconds backwards. VLC player backwards 10 seconds that I don't want.

I listen to MP3 and write notes. However, I only need 5 seconds backwards

Which MP3 player can be used or has this function?

Thanks a lot

Samsung – For certain MP3 videos, only sound is output through headphones, and no sound for speakers

I have a Samsung Galaxy S7 with Android 8. I have certain MP3 videos where I only get sound when I connect my headphones, and when the headphones are switched off, no sound is played on the speakers, even if I do Turn the volume all the way up to max. The volume works normally when the headphones are connected and the sound of other MP3 videos with the same codecs can be easily heard through the speakers of the phone. The characteristics of the videos with the problem:

Audio
Codec: MPEG-4 AAC
Channels: stereo
Sampling rate: 44100 Hz
Bit rate: 128 kbps

Video
Codec: H.264 (High Profile)
Frame rate: 24 frames per second
Bit rate: 695 kbps

The audio also works when I play these videos on Ubuntu Linux, but not when I play them on a media player in Windows 10 on my laptop, including VLC. What adjustments need to be made on my phone or how can I repair these video files so that the audio can also be played through the phone speakers?