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. |
7th October 2008, 09:28 | #1 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
decode 5.1 audio with ffmpeg and pipe to neroaacenc ?
Is there a way to decode 5.1 audio with ffmpeg and pipe to neroaacenc such that the output will still be 5.1?
(aiming to use this on linux and windows systems) for stereo the following works fine: Code:
ffmpeg -i "path to audio input" -acodec pcm_s16le -ac 2 -ar 48000 -f wav - | neroAacEnc -if - -br 128000 -ignorelength -of "path to audio output" Cu Selur |
7th October 2008, 10:01 | #3 | Link |
HDConvertToX author
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
|
ffmpeg -i audio.ac3 -acodec pcm_s32le -ac 6 -ar 48000 -f wav - | neroAacEnc -if - -br 128000 -ignorelength -of audio.mp4
the same for this 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 is working with ffmpeg 14277 and neroaacenc 1.3.3.0 BHH
__________________
HDConvertToX: your tool for BD backup MultiX264: The quick gui for x264 AutoMen: The Mencoder GUI AutoWebM: supporting WebM/VP8 |
7th October 2008, 16:21 | #4 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Is working?
With: Code:
FFmpeg version Sherpya-r14277, Copyright (c) 2000-2008 Fabrice Bellard, et al. libavutil version: 49.7.0 libavcodec version: 51.60.0 libavformat version: 52.17.0 libavdevice version: 52.0.0 built on Jul 18 2008 11:12:48, gcc: 4.2.4 [Sherpya] |
7th October 2008, 16:38 | #5 | Link |
HDConvertToX author
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
|
... well ..is encoding
my setup is unable to detect wrong channel maps BHH
__________________
HDConvertToX: your tool for BD backup MultiX264: The quick gui for x264 AutoMen: The Mencoder GUI AutoWebM: supporting WebM/VP8 |
7th October 2008, 18:28 | #6 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
Okay, found my problem: Installed PowerDVD some days ago and it didn't like the streams and I thought ffdshow was decoding the stream.
So general encoding works with ffmpeg and neroaacEnc -> Now looking for a way to fix the channel mapping. |
|
|