LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-19-2019, 05:11 PM   #16
Toadman
Member
 
Registered: Aug 2002
Location: Copperas Cove, Texas
Distribution: Ubuntu 20.04 LTS
Posts: 304

Original Poster
Rep: Reputation: 21

Here's the complete output

Code:
chris@localhost:~/Music/Convert/AC_DC/Highway_to_Hell$ ffmpeg -i ATVPDKIKX0DER_B00O6L3BCI_.m4a -acodec mp3 -ac 2 -ab 192k ATVPDKIKX0DER_B00O6L3BCI.mp3
ffmpeg version 3.4.4-0ubuntu0.18.04.1 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
  configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  WARNING: library configuration mismatch
  avcodec     configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x564e2fec2820] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x564e2fec2820] moov atom not found
ATVPDKIKX0DER_B00O6L3BCI_.m4a: Invalid data found when processing input
 
Old 01-19-2019, 06:21 PM   #17
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,140

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Dumb question. Did you consider that these files might be protected by DRM? Maybe they aren't normal .m4a. You need to download the .mp3 from the music you purchased?
 
Old 01-20-2019, 03:32 AM   #18
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by Toadman View Post
Here's the complete output

Code:
chris@localhost:~/Music/Convert/AC_DC/Highway_to_Hell$ ffmpeg -i ATVPDKIKX0DER_B00O6L3BCI_.m4a -acodec mp3 -ac 2 -ab 192k ATVPDKIKX0DER_B00O6L3BCI.mp3

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x564e2fec2820] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x564e2fec2820] moov atom not found
ATVPDKIKX0DER_B00O6L3BCI_.m4a: Invalid data found when processing input
It certainly looks like these files are in a proprietary format, maybe encrypted, so that Linux tools cannot handle them.
The strange filename, the result of file, all point to an unknown binary format.
 
Old 01-20-2019, 03:11 PM   #19
Toadman
Member
 
Registered: Aug 2002
Location: Copperas Cove, Texas
Distribution: Ubuntu 20.04 LTS
Posts: 304

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by ehartman View Post
It certainly looks like these files are in a proprietary format, maybe encrypted, so that Linux tools cannot handle them.
The strange filename, the result of file, all point to an unknown binary format.
My original goal in this was to be able to download music from my Amazon Music Unlimited account, convert to MP3 and put on my phone so that when we make a road trip I can play it as I do other music on my phone through Android Auto. This morning I went digging through some more Q&A about Amazon's Music Unlimited and their format. I pulled up some info about apps for Android Auto and found that the Amazon Music app can be read by Android Auto. Since I had it on my phone already I went out to the car and tried it. Sure enough all the 'stations' I'd added as well as my downloaded tracks were able to be played with no problem. No conversion needed.

I feel like such an ass! If I would have done more Googling I've had discovered that I can directly access the music app from the car. I can also access Pandora and others.

I apologize for wasting everyone's time on this.
 
1 members found this post helpful.
Old 01-21-2019, 07:27 AM   #20
l0f4r0
Member
 
Registered: Jul 2018
Location: Paris
Distribution: Debian
Posts: 900

Rep: Reputation: 290Reputation: 290Reputation: 290
Quote:
Originally Posted by Toadman View Post
My original goal in this was to be able to download music from my Amazon Music Unlimited account, convert to MP3 and put on my phone so that when we make a road trip I can play it as I do other music on my phone through Android Auto. This morning I went digging through some more Q&A about Amazon's Music Unlimited and their format. I pulled up some info about apps for Android Auto and found that the Amazon Music app can be read by Android Auto. Since I had it on my phone already I went out to the car and tried it. Sure enough all the 'stations' I'd added as well as my downloaded tracks were able to be played with no problem. No conversion needed.
Ahahah, at least glad you don't have an issue anymore ^^
Can you mark this thread as [SOLVED] please?

Quote:
Originally Posted by Toadman View Post
Here's the complete output
Code:
chris@localhost:~/Music/Convert/AC_DC/Highway_to_Hell$ ffmpeg -i ATVPDKIKX0DER_B00O6L3BCI_.m4a -acodec mp3 -ac 2 -ab 192k ATVPDKIKX0DER_B00O6L3BCI.mp3
ffmpeg version 3.4.4-0ubuntu0.18.04.1 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
  configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  WARNING: library configuration mismatch
  avcodec     configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x564e2fec2820] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x564e2fec2820] moov atom not found
ATVPDKIKX0DER_B00O6L3BCI_.m4a: Invalid data found when processing input
Out of curiosity, is the following better?
Code:
ffmpeg -f m4a -i ATVPDKIKX0DER_B00O6L3BCI_.m4a -acodec mp3 -ac 2 -ab 192k ATVPDKIKX0DER_B00O6L3BCI.mp3
EDIT: actually, your files seems corrupted to me. There are some resources on the Internet like the following about "moov atom not found": http://muzso.hu/2012/11/14/how-to-fi...atom-not-found. However, there doesn't seem to be a lot of solutions for you, except a so-called "Grau's Video Repair Tool" (I don't know what it's worth though...).

Last edited by l0f4r0; 01-21-2019 at 07:42 AM.
 
Old 01-21-2019, 07:49 AM   #21
Toadman
Member
 
Registered: Aug 2002
Location: Copperas Cove, Texas
Distribution: Ubuntu 20.04 LTS
Posts: 304

Original Poster
Rep: Reputation: 21
A little, these are the last two lines

Code:
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5645a410e820] moov atom not found
ATVPDKIKX0DER_B00O6L3BCI_.m4a: Invalid data found when processing input
I forgot to mark it solved yesterday, doing so now.
 
Old 01-21-2019, 07:54 AM   #22
l0f4r0
Member
 
Registered: Jul 2018
Location: Paris
Distribution: Debian
Posts: 900

Rep: Reputation: 290Reputation: 290Reputation: 290
^ OK, see my EDIT in post#20
 
Old 01-21-2019, 09:18 AM   #23
Toadman
Member
 
Registered: Aug 2002
Location: Copperas Cove, Texas
Distribution: Ubuntu 20.04 LTS
Posts: 304

Original Poster
Rep: Reputation: 21
I'm pretty much convinced now that these are possibly DRM protected or as you suggest when downloaded they become corrupted. However, since I discovered that I can just add the tracks to a playlist and then play with the Amazon Music app through Android Auto I don't need any type of conversion. I should have done more digging before asking which was wrong on my part.
 
  


Reply

Tags
m4a, mp3, wav



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Convert from MP3 to WAV and WAV to MP3 using Linux Mint LXer Syndicated Linux News 0 08-27-2014 05:00 AM
converting m4a to mp3 jonfa Linux - General 77 06-24-2013 09:39 AM
help converting .mp3 to .m4a on Fedora 11 chickenlinux Linux - Software 4 07-13-2009 07:33 AM
Converting MP3 Files into WAV files MariAnt Linux - Software 3 08-31-2006 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration