FU Logo
  • Startseite
  • Kontakt
  • Impressum
  • Home
  • Listenauswahl
  • Anleitungen

Re: [linux-minidisc] netmdcli sending an mp3

thread -->
date -->
  • From: Enrique Medina Gremaldos <quiqueiii@gmail.com>
  • To: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
  • Date: Thu, 3 May 2012 22:32:39 +0200
  • Cc: linux-minidisc <linux-minidisc@lists.fu-berlin.de>
  • Subject: Re: [linux-minidisc] netmdcli sending an mp3



2012/4/16 John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Hello Manuel,

On Sun, Apr 15, 2012 at 09:21:06PM +0200, Manuel Molina Cuberos wrote:

> I've built all the utilities under Debian GNU Linux and now I can use
> netmdcli
> It seems to work.

You can also use the Ubuntu PPAs on Debian [1]. Just use the ones we
provide for Ubuntu Oneiric, they work fine on Wheezy.

> crystalpalace:~/linux-minidisc/netmdcli# ./netmdcli
> Net MD Walkman
> Raw title:
> Disc Title: <Untitled>
>
> Track  0: UnPROT    LP2 - 04:19:47 - Hola
>
> --Empty Groups--
>
>
> But when I listen, it sounds like garbage.

This is expected, NetMD Walkman do not support the playback of MP3
audio tracks and you will have to convert them. Generally, most if not
all NetMD Walkman support ATRAC-SP, ATRAC-3 (LP2 and LP4) and PCM as
input, the latter will be recoded by the Walkman into ATRAC-SP (I
don't know whether the NetMD Walman also encodes LP2 and LP4
on-the-fly, but I guess Michael knows).

As for netmdcli, the software currently does not check the format of
the input files and just always assumes ATRAC-3 LP2 which is why your
track listing above reads "LP2". So netmdcli needs to be fixed to
properly recognize the input format and send the proper parameters to
the NetMD Walkman. Since there are no known encoders for ATRAC-SP or
ATRAC-3 LP2/LP4, any non-ATRAC files will have to be sent to the NetMD
Walkman as PCM files where they are encoded as ATRAC-SP by the Walkman.

Fixing netmdcli in this regard is the next point on our TODO list. If
you know C, you can have a look at the code in netmdcli/netmdcli.c
yourself and play around with the code.

Adrian

[1] https://launchpad.net/~glaubitz/+archive/linux-minidisc

_______________________________________________
linux-minidisc mailing list
linux-minidisc@lists.fu-berlin.de
https://lists.fu-berlin.de/listinfo/linux-minidisc


I've been using python download, as it worked fine for me. I previusly convert mp3 to pcm and download in SP format. I've been taking a look at netmdcli, but as far as I understand, It currently supports atrac encoded LP2 files as input? I've modified netmdcli.c this way:

/* send to device */
error = netmd_secure_send_track(devh, NETMD_WIREFORMAT_PCM,
NETMD_DISKFORMAT_SP_STEREO,
(data_size) / 2048, packets,
packet_count, sessionkey,
&track, uuid, new_contentid);

It starts transfering but fails on last commands and track is not written. Is that change enought in order to support PCM transfers?

Regards,
Enrique
thread -->
date -->
  • linux-minidisc - May 2012 - Archives indexes sorted by:
    [ thread ] [ subject ] [ author ] [ date ]
  • Complete archive of the linux-minidisc mailing list
  • More info on this list...

Hilfe

  • FAQ
  • Dienstbeschreibung
  • ZEDAT Beratung
  • postmaster@lists.fu-berlin.de

Service-Navigation

  • Startseite
  • Listenauswahl

Einrichtung Mailingliste

  • ZEDAT-Portal
  • Mailinglisten Portal