Giter Club home page Giter Club logo

Comments (11)

dcherednik avatar dcherednik commented on June 9, 2024 1

The New Year present ))
I added support of reading from stdin for windows and POSIX. So now it should be possible make a pipe from ffmpeg to atracdenc. Example:
ffmpeg -i input_audio_file_supported_by_ffmpeg -f au - | atracdenc -e atrac1 -i - -o out.aea

https://github.com/dcherednik/atracdenc/releases/tag/0.0.2

from atracdenc.

enimatek-nl avatar enimatek-nl commented on June 9, 2024 1

Maybe use -f wav instead, all formats seem to work for me instead of using -f au.

And to get 'DSP Type-?' kind of that extra 'airy'-sound you could pre-process the wav with eg. stereotool.com (free version is what i use) and search for a very neutral profile on the forum (or create one your self) especially more silent/background instruments need to be pushed more forward i guess, and widen the stereo a bit, that is probably what the DSP/Type stuff does during recording, but i can only guess.

For example; you can also pipe stereotool so you command will be like:
ffmpeg -i input.flac -f wav - | stereo_tool_mac - - -s neutral.sts | atracdenc -e atrac1 -i - -o output.aea

from atracdenc.

dcherednik avatar dcherednik commented on June 9, 2024

You can decode atrac3plus by ffmpeg to pcm and than encode pcm to atrac1. The result will be same.

from atracdenc.

Invictaz avatar Invictaz commented on June 9, 2024

That requires additional extra steps and extra harddrive space which consume a lot of time.

from atracdenc.

dcherednik avatar dcherednik commented on June 9, 2024

I can support read from stdin, on linux/mac it makes possible to pipeline ffmpeg and atracdenc without saving temporal files. It can be done for quite short period.

from atracdenc.

Invictaz avatar Invictaz commented on June 9, 2024

Great, I hope it is possible on the Windows build as well (or with temp files which can be deleted after processing).

from atracdenc.

Invictaz avatar Invictaz commented on June 9, 2024

It seems as if the pipe is failing:

image

from atracdenc.

dcherednik avatar dcherednik commented on June 9, 2024

The ffmpeg input file has 48000 samplerate. Try to add ffmpeg option to resample stream to 44100

from atracdenc.

Invictaz avatar Invictaz commented on June 9, 2024

Thanks, it seems to work for ATRAC3, but not for ATRAC3 plus (see below)

ffmpeg -i <inputfile.extension> -ar 44100 -f au - | atracdenc -e atrac1 -i - -o out.aea

image

For ATRAC3Plus it seems to fail

image

Can upload sample file if you want.

from atracdenc.

Invictaz avatar Invictaz commented on June 9, 2024

It's quite weird as an output file is generated but still the errors in the console.

from atracdenc.

dcherednik avatar dcherednik commented on June 9, 2024

Can you just decode this sample by ffmpeg? If so please send me this sample.

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.