Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Audio encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 19th March 2010, 21:20   #1  |  Link
fangorn
Registered User
 
Join Date: Jun 2008
Posts: 42
mplayer.exe | neroAacEnc.exe in Windows

Hi,

I am searching a solution to do a audio conversion using mplayer.exe to decode, remap audio channels, ... and neroAacEnc to encode to stereo or multichannel AAC stream. (without writing the audion streams to an intermediate file)

I searched the web and till now just found that the solution for UNIX/linux does not work under Windows (named pipes/FIFOs).

On the other side I found GUIs that claim to do exactly that. But as there is no source, I can't just look and see how it is done.

I am in the process of rewriting my script collection (see my Sig.) in Perl to make them available for Windows too. But my solution for automatic audio conversion using external encoders needs FIFOs.

Can someone point me in the right direction how to utilize these programs under Windows?

Thanks in advance,
fangorn

@Admin:
If this is better positioned in the Development section, please move.
fangorn is offline   Reply With Quote
Old 19th March 2010, 21:32   #2  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,688
Cygwin lets you use FIFOs in Windows.
Dark Shikari is offline   Reply With Quote
Old 20th March 2010, 08:00   #3  |  Link
fangorn
Registered User
 
Join Date: Jun 2008
Posts: 42
Thanks for the tip. Will try that.

But is there another solution? I would rather not depend on a cygwin installation (or package it with my scripts). Or are those GUIs silently using cygwin?

What I try to do is reduce dependencies
fangorn is offline   Reply With Quote
Old 20th March 2010, 08:04   #4  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,688
Quote:
Originally Posted by fangorn View Post
Thanks for the tip. Will try that.

But is there another solution? I would rather not depend on a cygwin installation (or package it with my scripts). Or are those GUIs silently using cygwin?

What I try to do is reduce dependencies
Windows has named pipes; they're just not available on the commandline, only via Windows APIs. Also see PowerShell.
Dark Shikari is offline   Reply With Quote
Old 20th March 2010, 09:40   #5  |  Link
fangorn
Registered User
 
Join Date: Jun 2008
Posts: 42
I know Windows has to has have named pipes as it is called "POSIX compatible". I just got the impression that this is not designed for the same tasks as named pipes under UNIX.

Nevertheless I will look into Powershell. Maybe I have to distinct between output of a bash and a powershell script for conversion. That would be better than rewriting a handfull of scripts and then discovering that you need a runtime environment for the original scripts anyway.

Thanks again.

Last edited by fangorn; 20th March 2010 at 09:43.
fangorn is offline   Reply With Quote
Old 20th March 2010, 09:52   #6  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,688
Quote:
Originally Posted by fangorn View Post
I know Windows has to has have named pipes as it is called "POSIX compatible".
<pengvado> that brings back the memory:
<pengvado> windows is posix compliant
<pengvado> every single posix function returns ENOTIMPLEMENTED, which is one complying implementation
Dark Shikari is offline   Reply With Quote
Old 20th March 2010, 10:48   #7  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
or using ffmpeg

ffmpeg -i audio.ac3 -acodec pcm_s32le -ac 6 -ar 48000 -f wav - | neroAacEnc -if - -br 128000 -ignorelength -of audio.mp4

ffmpeg -i test-ac3-5.1.avi -vn -acodec pcm_s32le -ac 6 -ar 48000 -f wav - | neroAacEnc -if - -br 128000 -ignorelength -of audio2.mp4

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Old 20th March 2010, 16:04   #8  |  Link
TinTime
Registered User
 
Join Date: Jan 2009
Location: UK
Posts: 403
How about eac3to?

eac3to.exe input.ac3 output.m4a
TinTime is offline   Reply With Quote
Old 21st March 2010, 09:40   #9  |  Link
fangorn
Registered User
 
Join Date: Jun 2008
Posts: 42
@DarkShikari
LOL

@buzzqw
I doubt that works with 6 channel audio with different channel mapping.

@TinTime
Would be an option for the windows part. If I don't get it running I will definately consider using this instead of an mplayer -> neroAacEnc chain.
fangorn is offline   Reply With Quote
Reply

Tags
batch, fifo, mplayer, neroaacenc, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.