Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: What should neroaacdec.exe output to stdout? (Read 6136 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

What should neroaacdec.exe output to stdout?

faad works, but can't get neroaacdec to do the same job - decode mp4 to stdout

[font= "Courier New"]example: neroaacdec -if in.m4a -of - > out.nero
result : out.nero with size 0

example: neroaacdec -if in.m4a -of - | flac -s - -o out.nero.flac
result : flac.exe - ERROR: for encoding a raw file you must specify a value for --endian, --sign, --channels, --bps, and --sample-rate

example: neroaacdec -if in.m4a -of - | flac -s --ignore-chunk-sizes - -o out.nero.flac
result : flac.exe - ERROR: for encoding a raw file you must specify a value for --endian, --sign, --channels, --bps, and --sample-rate


example: neroaacdec -if in.m4a -of out.wav
result : valid WAV as expected[/font]


BTW, do check nero help: 'neroaacdec -help' for options

PS flac is just illustrative example


[edit] Well, I found out that file named '-' is created instead directing to stdout, which should be wrong according wiki (and common sense I guess):

neroAacDec.exe -if <input file> -of <output file> [-chapter <number>]

Where:

<input-file>
    Path of source input file to decode, in MP4 format.
<output-file>
    Path to decode the file to, in WAV format.
    Specify - to decode to stdout.

What should neroaacdec.exe output to stdout?

Reply #1
Code: [Select]
>neroAacDec.exe -if Path.m4a -of - > aaaa.wav


Works as expected.
Version of neroaacenc.exe: "Package build date: Dec 17 2009  Package version:    1.5.1.0"

What should neroaacdec.exe output to stdout?

Reply #2
Thanks lvqcl

I had previous version 1.3.3.0. Updating solved this issue.

So probably writing to stdout was not implemented in 1.3.3 version, although it would be strange as any solid program has stdin/stdout consideration. And change-log does not mention anything:

neroAacDec:
- Improved error handling
- Speed up