Giter Club home page Giter Club logo

Comments (6)

dcherednik avatar dcherednik commented on June 17, 2024

Hello!
Thanks for trying to use it ))
About compilation, thanks for report. I found the problem, I just want to check gcc compilation before commit.

About file format. Aea is not standard container for media file, this is why file util, or sndfile show something wrong. Try to rename file to output.aea, ffmpeg did not detect container in your case. mplayer, vlc also should be able to play it, but file extensions also makes sense. If it does not help please show hexdump -C output.aea | head

In my case worked file:

00000000  00 08 00 00 74 65 73 74  00 00 00 00 00 00 00 00  |....test........|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000100  00 00 00 00 38 36 01 00  02 00 00 00 00 00 00 00  |....86..........|
00000110  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000008d0  00 00 00 00 00 e0 22 22  22 22 22 22 22 22 22 33  |......"""""""""3|
000008e0  33 32 12 22 12 22 23 32  11 21 22 22 00 01 00 10  |32."."#2.!""....|
000008f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000900  20 03 00 41 05 00 61 46  00 51 86 00 32 46 28 c2  | ..A..aF.Q..2F(.|

Do you have ATRAC files downloaded from NetMD device. If so, can you share one? I want to recheck headers.

from atracdenc.

alexmbird avatar alexmbird commented on June 17, 2024

Hello there,

Thanks for responding so quickly. You are right: my output file is fine, a valid ATRAC file at 292kbit, which is just what I needed. It plays well in VLC. This is a huge step forward in getting these beautiful old NetMD recorders to work on a modern OS :) Later this weekend I'll hack linux-minidisc to support 292kbit ATRAC and try to upload the data to a disc.

Now, you asked for a sample of ATRAC from a MiniDisc. Sony designed these things so you could write your ATRAC data to a disc but never extract it over USB, only play it from the device. The only exception was the last player Sony made, the MZ-RH1. Sadly I don't have one but I'll try to find some sample data for you - perhaps somebody in the MiniDisc community has an RH1 and can help us.

from atracdenc.

alexmbird avatar alexmbird commented on June 17, 2024

I've found some examples here of the newer HiMD format, but I think some of the example images contain ATRAC3 tracks. I'll see if I can find something better.

from atracdenc.

alexmbird avatar alexmbird commented on June 17, 2024

Another update: I've tried to upload a 292kbit file to a NetMD recorder and found I cannot. The file is fine, but it turns out Sony designed the hardware never to accept uploads of high-bitrate files. My dream of encoding better ATRAC for these old players is dead.

Thank you for your help and best of luck with this great project.

from atracdenc.

dcherednik avatar dcherednik commented on June 17, 2024

Thanks! Yes it is not easy to upload or download atrac1 files.
Did you try to upload atrac3? May be you can use atrac3 with non standard bitrate?

from atracdenc.

alexmbird avatar alexmbird commented on June 17, 2024

There are already a few methods to generate and transfer audio at lower bitrates: Sony's (terrible) SonicStage software, and a copy of the win32 ATRAC codec is floating around which can do LP and LP2. But there was no way to encode at 292kbit and I assumed this would be the only barrier to encoding my own MiniDiscs. Sadly I was wrong; Sony tried hard to stop you pressing your own high-quality discs.

Looking at http://www.minidisc.org/mdlpfaq.html - the amount of padding in the on-disk format makes me think the players have very precise expectations of bitrate. They only understand data at 292kbps (original SP), 132kbps (LP2) and 66kbps (LP4) so I worry feeding my hardware anything else would be bad for it.

from atracdenc.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.