I downloaded a few audio files in m4a format from youtube using flashgot plugin in firefox.

The files are showing up as unknown, they don't open on double click. I have to manually right click and select Rhythmbox or VLC everytime to play these files. I also tried adding .m4a after the filename, still doesn't work.

I am using 14.10 on dell n5010


Check your M4A file with this command:

file /path/to/file.m4a

The output should look something like this:

ISO Media, MP4 v2 [ISO 14496-14]

If this is so, then you are missing the codec ubuntu-restricted-extras.

Install the package with this command:

sudo apt-get install ubuntu-restricted-extras

Then try again.

  • @SaikatPal Were you satisfied with my answer? Then give me a upvote (∧). If I could solve your problem, then it would be nice if you'd mark my answer (✓). ;) – A.B. Apr 18 '15 at 14:58
  • I installed it but it still doesnt recongnise the file. In properties it shows "Binary (application/octet-stream)" as file type. – Saikat Pal Apr 18 '15 at 17:22
  • Then there are probably no M4A files. – A.B. Apr 18 '15 at 17:24
  • Also on windows when i copied these files to my android phone, they would play. Now when i copy them, my phone doesn't recognise the file. – Saikat Pal Apr 18 '15 at 17:24
  • Your phone? The comment confuses me a bit. – A.B. Apr 18 '15 at 17:26

In the file finder, go to a folder that has some of these files. Right click on one of the m4a files. Click on "Properties" (should be at the bottom of the list that pops up). A screen should come up with tabs in it. Click on the "Open With" tab. Select the program you want it and other files of the same type to open with by default. Click "Set as Default" near the bottom. Such files should now open with that program when double clicked.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.