INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Linux MC31 installed, won't play flac files,will play mp3's  (Read 915 times)

penger10

  • Recent member
  • *
  • Posts: 25

I'm trying to move from windows to Linux,( been a long time user of MC).  Anyway, I installed the latest version of Linux Mint 21.2 and then used the Linux MC installer from Here:

https://yabb.jriver.com/interact/index.php/topic,135999.0.html?PHPSESSID=iqde622ic37tekkpkujpqhtrd4
I did not use the terminal to do anything.  (kind of new to Linux)

It will not play my flac files, mp3 ok.  Celluloid can play my flac files, I can stream youtube fine.  I'm thinking I must be missing some codec's.  During installation in windows, you get a screen where you can check off what AV files you want MC to be your default player for. If it needs any additional ones it grabs them automatically.  Does the Linux version do that?

Any help appreciated.  I'm really determined to get this working properly in Linux.  It's so much faster than Windows.
This from system info:

System:
  Kernel: 5.15.0-78-generic x86_64 bits: 64 compiler: gcc v: 11.3.0 Desktop: Cinnamon 5.8.4
    tk: GTK 3.24.33 wm: muffin dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop Mobo: ASUSTeK model: P5Q v: Rev 1.xx serial: <superuser required>
    BIOS: American Megatrends v: 2102 date: 04/07/2009
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Touch Keyboard K400 Plus serial: <filter>
    charge: 100% (should be ignored) status: Discharging
CPU:
  Info: quad core model: Intel Core2 Quad Q8400 bits: 64 type: MCP arch: Core Yorkfield rev: A
    cache: L1: 256 KiB L2: 4 MiB
  Speed (MHz): avg: 2054 high: 2207 min/max: 2003/2670 cores: 1: 2000 2: 2000 3: 2010 4: 2207
    bogomips: 21332
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx
Graphics:
  Device-1: AMD Cape Verde XT [Radeon HD 7770/8760 / R7 250X] vendor: PC Partner driver: radeon
    v: kernel pcie: speed: 5 GT/s lanes: 16 ports: active: HDMI-A-1 empty: DP-1,DVI-D-1,DVI-I-1
    bus-ID: 01:00.0 chip-ID: 1002:683d
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: ati,radeon
    unloaded: fbdev,modesetting,vesa gpu: radeon display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
  Monitor-1: HDMI-0 mapped: HDMI-A-1 model: Samsung res: 1920x1080 dpi: 305 diag: 184mm (7.2")
  OpenGL: renderer: VERDE ( LLVM 15.0.7 DRM 2.50 5.15.0-78-generic)
    v: 4.5 Mesa 22.2.5-0ubuntu0.1~22.04.3 direct render: Yes
Audio:
  Device-1: Intel 82801JI HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:3a3e
  Device-2: AMD Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series]
    vendor: PC Partner driver: snd_hda_intel v: kernel pcie: speed: 5 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 1002:aab0
  Sound Server-1: ALSA v: k5.15.0-78-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Qualcomm Atheros AR8121/AR8113/AR8114 Gigabit or Fast Ethernet vendor: ASUSTeK
    driver: ATL1E v: N/A pcie: speed: 2.5 GT/s lanes: 1 port: dc00 bus-ID: 02:00.0
    chip-ID: 1969:1026
  IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 1.03 TiB used: 13.32 GiB (1.3%)
  ID-1: /dev/sda vendor: Samsung model: SSD PM830 2.5 7mm 128GB size: 119.24 GiB speed: 3.0 Gb/s
    serial: <filter>
  ID-2: /dev/sdb vendor: Western Digital model: WD1001FALS-00J7B0 size: 931.51 GiB
    speed: 3.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 116.32 GiB used: 13.32 GiB (11.4%) fs: ext4 dev: /dev/sda3
  ID-2: /boot/efi size: 512 MiB used: 6.1 MiB (1.2%) fs: vfat dev: /dev/sda2
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
Sensors:
  System Temperatures: cpu: 26.5 C mobo: 33.0 C gpu: radeon temp: 37.0 C
  Fan Speeds (RPM): cpu: 1875 psu: 1171 case-1: 0 case-2: 0
  Power: 12v: 12.04 5v: N/A 3.3v: 3.30 vbat: N/A
Repos:
  Packages: apt: 2396
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //mirror.metrocast.net/linuxmint-packages victoria main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 228 Uptime: 45m Memory: 7.75 GiB used: 2.36 GiB (30.4%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.3.0 alt: 11/12 Client: Cinnamon v: 5.8.4 inxi: 3.3.13
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2556
Re: Linux MC31 installed, won't play flac files,will play mp3's
« Reply #1 on: July 26, 2023, 04:21:55 pm »

Is the flac package installed?

`apt list --installed | grep flac`

And the binary is available?

`which flac`

I ask because Mint uses different package naming conventions than Debian or even *buntu sometimes.

If you can't nail it down I'd recommend installing the Ubuntu Cinnamon Remix instead of Mint, it's a little closer to upstream with a similar user experience.
Logged

penger10

  • Recent member
  • *
  • Posts: 25
Re: Linux MC31 installed, won't play flac files,will play mp3's
« Reply #2 on: July 26, 2023, 04:36:35 pm »

This from  apt list --installed | grep flac
libflac8/jammy-updates,jammy-security,now 1.3.3-2ubuntu0.1 amd64 [installed]
libflac8/jammy-updates,jammy-security,now 1.3.3-2ubuntu0.1 i386 [installed,automatic]
nothing from 'which flac'
I may take your advice and d/l the Ubuntu Cinnamon Remix and install it instead.  I'm too new to the linux experience and could easily screw things up.  I can't do it today but maybe on Friday. 
Thanks for the quick reply!
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2556
Re: Linux MC31 installed, won't play flac files,will play mp3's
« Reply #3 on: July 26, 2023, 04:44:32 pm »

This from  apt list --installed | grep flac
libflac8/jammy-updates,jammy-security,now 1.3.3-2ubuntu0.1 amd64 [installed]
libflac8/jammy-updates,jammy-security,now 1.3.3-2ubuntu0.1 i386 [installed,automatic]
nothing from 'which flac'
I may take your advice and d/l the Ubuntu Cinnamon Remix and install it instead.  I'm too new to the linux experience and could easily screw things up.  I can't do it today but maybe on Friday. 
Thanks for the quick reply!

You should just need to install the flac package then:

`sudo apt-get install flac`
Logged

penger10

  • Recent member
  • *
  • Posts: 25
Re: Linux MC31 installed, won't play flac files,will play mp3's
« Reply #4 on: July 26, 2023, 05:12:46 pm »

WOW!!!   Thanks, that did it!
So does the linux version not automatically download any codecs it needs like the windows version does?
I have a lot of m2ts blu ray files I'll be needing codecs for.

Thank you so much for your help!
Logged

terrym@tassie

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 473
Re: Linux MC31 installed, won't play flac files,will play mp3's
« Reply #5 on: July 26, 2023, 05:46:29 pm »

Hi, very casual (audio only) Linux Mint user since Mint 17 here.

I think you didn't tick the box to install the codecs package 'mint-meta-codecs' (or were offline) during installation of the OS.

Here is a link to the Mint documentation explaining how to add the package after install.
https://linuxmint-installation-guide.readthedocs.io/en/latest/codecs.html

This should give you all the codec support you need to run MC (or any other media player).
Terry
Logged
" I like work: it fascinates me. I can sit and look at it for hours." -Jerome K. Jerome

penger10

  • Recent member
  • *
  • Posts: 25
Re: Linux MC31 installed, won't play flac files,will play mp3's
« Reply #6 on: July 26, 2023, 07:53:08 pm »

Thanks for the link!   I don't remember seeing the checkbox you mentioned, so yeah, probably missing them all.  I'm really impressed with how quickly I've been getting help here.  Thanks everyone!

Is there some basic guide for Linux newbies you'd recommend.  I need to learn the basics.  I appreciate all the help I'm getting, but if it breaks I might be up the proverbial creek!
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5177
  • "Linux Merit Badge" Recipient
Re: Linux MC31 installed, won't play flac files,will play mp3's
« Reply #7 on: July 26, 2023, 10:07:10 pm »

If you mean a guide for Linux in general, I can strongly recommend this book which is available for free in electronic form from the author here:  https://www.linuxcommand.org/tlcl.php

It's self-describes as an introduction to basic command line activities for Linux beginners, but it actually covers tons of Linux system basics, like file permissions, how to get more information about commands or the system, how to parse logs, etc.  It was the second or third book I read about Linux, and I wish it had been the first!
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7395
  • The color of Spring...
Re: Linux MC31 installed, won't play flac files,will play mp3's
« Reply #8 on: July 27, 2023, 03:25:23 am »

So does the linux version not automatically download any codecs it needs like the windows version does?

If only it was that simple. On Linux, different distros can use different package managers (and/or have packages named differently) which complicates things and basically makes it where it can't do this. Debian/Ubuntu/Linux Mint all use APT, Fedora uses DNF, Arch Linux uses pacman, etc.

Glad it was a simple fix though. :D
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | Edifier R2000DB Bookshelf Speakers | Audio-Technica ATH-M50x Headphones

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13520
Re: Linux MC31 installed, won't play flac files,will play mp3's
« Reply #9 on: July 27, 2023, 09:41:31 am »

MC doesn't need or use the system FLAC packages to play local files so I don't have any explanation for why installing that for you made it work.
Logged

penger10

  • Recent member
  • *
  • Posts: 25
Re: Linux MC31 installed, won't play flac files,will play mp3's
« Reply #10 on: July 29, 2023, 02:34:36 pm »

Thanks for all the help everyone!  I've been busy and not able to reply but do have an additional question (or 2).  I looked in the synaptic package manager and it appears the codecs WERE installed.  Why the FLAC didn't just work I don't know either, but they work now and I'm grateful! :)  In my windows installation (linux now)  my video files were on a network drive connected to my Synology router.  Since I never really accesed the drive from any place other than my HTPC, I just moved the drive and connected it directly to a USB port on my HTPC.  I imported the videos into MC31 but I don't think it can find the path to the M2TS files, when I click on the movie picture under Videos.  If I use the open file menu and manually navigate to the M2TS file it plays it fine.  All my bluray disks are ripped to M2TS format.  The entire movie is in a single file.

The typical path to a movie would be like this:

-Elements (the WD external Drive)
  -@sharebin
    - Video
       -Action
        -National Treasure
         -BDMV
          -Stream
            -m2ts file

I won't be using it as a network drive.  IS the @sharebin screwing things up?  should I just move the Video folder to the root directory?  (I realize I'd need to reimport them if I did that)

Thank you all, I'm sure it's probably something simple, but the learning curve for Linux is fairly steep and I want to be able to enjoy my music and video collection sometime before the next ice age.  ;)
  -
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7395
  • The color of Spring...
Re: Linux MC31 installed, won't play flac files,will play mp3's
« Reply #11 on: July 30, 2023, 07:54:08 am »

I may be wrong here (hopefully one of the devs or someone else who does this can correct me if I'm wrong) but I was under the assumption rips of both DVD and Blu-Ray in folder structures (and ISOs) don't work under Linux and work under only Windows? I also was under the assumption the only way to playback DVD/BD media on Linux was to rip it to MKV using MakeMKV? I'm not sure if that's changed, so again, I may be wrong here.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | Edifier R2000DB Bookshelf Speakers | Audio-Technica ATH-M50x Headphones

penger10

  • Recent member
  • *
  • Posts: 25
Re: Linux MC31 installed, won't play flac files,will play mp3's
« Reply #12 on: July 30, 2023, 10:47:28 am »

The M2TS files play fine, JRiver just isn't finding them in the current directory structure.  I'd believe the part about my directory structure being off though...  I'll have to experiment.  Thanks for your input, every little bit helps!
Logged

terrym@tassie

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 473
Re: Linux MC31 installed, won't play flac files,will play mp3's
« Reply #13 on: July 30, 2023, 04:38:48 pm »

Have a look at this post here: https://yabb.jriver.com/interact/index.php/topic,134933.0.html
It confirms what AD is saying regarding bluray and dvd folder structures.
I would recommend converting the rips to mkv files (using Makemkv) if you want to use them on MC for Linux.
Logged
" I like work: it fascinates me. I can sit and look at it for hours." -Jerome K. Jerome

penger10

  • Recent member
  • *
  • Posts: 25
Re: Linux MC31 installed, won't play flac files,will play mp3's
« Reply #14 on: July 30, 2023, 05:08:53 pm »

Thanks to everyone whose helped out!  I'll check out the post you listed terrym  and AD thanks for your help too.  I hear what you're saying about the MKV files,  but seems like the M2TS rips are fine.  Will I loose quality converting my M2TS to MKV?  NOt sure I see what the advantage would be.
Appreciate the help!   :)
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7395
  • The color of Spring...
Re: Linux MC31 installed, won't play flac files,will play mp3's
« Reply #15 on: July 30, 2023, 05:35:32 pm »

Will I loose quality converting my M2TS to MKV?

No. The one thing you will lose is BD menus (which don't work on MC for Mac or Linux anyways), otherwise ripping using MakeMKV is lossless (as long as you don't transcode) and rips BD discs to files, e.g. the main movie as a single file. The upside to it is, you can rip discs and just rip the movie only with no special features if you want. The downside is no menus and no easy way to manage special features like deleted scenes, etc.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | Edifier R2000DB Bookshelf Speakers | Audio-Technica ATH-M50x Headphones

penger10

  • Recent member
  • *
  • Posts: 25
Re: Linux MC31 installed, won't play flac files,will play mp3's
« Reply #16 on: July 30, 2023, 09:14:11 pm »

I don't get the menu's on my M2TS files either, so no change there.  Guess I'm not sure of the benefit of converting my M2TS files to MKV, (theres quite a few) if the M2TS files are playing ok.  Smaller file size?  Guess I can try a couple and see.
Logged
Pages: [1]   Go Up