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 18th August 2009, 18:56   #1  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 5,263
mono audio + ffmpeg + neroaacenc + hev2 problem,...

Got a small sample file from which I wanted to decode the audio through ffmpeg and encode the audio through neroaacenc.

So far so good:
Quote:
D:\sx264>ffmpeg -i "D:\sx264\testclips\mp4v_640x480_uLaw-mono.MOV" -acodec pcm_s16le -ac 1 -ar 48000 -f wav - | neroAacEnc -if - -br 20000 -ignorelength -of "d:\audio.mp4"
works fine.

Quote:
D:\sx264>ffmpeg -i "D:\sx264\testclips\mp4v_640x480_uLaw-mono.MOV" -acodec pcm_s16le -ac 1 -ar 48000 -f wav - | neroAacEnc -if - -br 20000 -lc -ignorelength -of "d:\audio.mp4"
works fine.

Quote:
D:\sx264>ffmpeg -i "D:\sx264\testclips\mp4v_640x480_uLaw-mono.MOV" -acodec pcm_s16le -ac 1 -ar 48000 -f wav - | neroAacEnc -if - -br 20000 -he -ignorelength -of "d:\audio.mp4"
works fine.

Quote:
D:\sx264>ffmpeg -i "D:\sx264\testclips\mp4v_640x480_uLaw-mono.MOV" -acodec pcm_s16le -ac 1 -ar 48000 -f wav - | neroAacEnc -if - -br 20000 -hev2 -ignorelength -of "d:\audio.mp4"
gives:
Quote:
*************************************************************
* *
* Nero AAC Encoder *
* Copyright 2008 Nero AG *
* All Rights Reserved Worldwide *
* *
* Package build date: Sep 17 2008 *
* Package version: 1.3.3.0 *
* *
* See -help for a complete list of available parameters. *
* *
*************************************************************

FFmpeg version SVN-r19369, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-memalign-hack --prefix=/mingw --cross-prefix=i686-mingw32- --cc=ccache-i68
6-mingw32-gcc --target-os=mingw32 --arch=i686 --cpu=i686 --enable-avisynth --enable-gpl --enable-zli
b --enable-bzlib --enable-libgsm --enable-libfaad --enable-pthreads --enable-libvorbis --enable-libt
heora --enable-libspeex --enable-libmp3lame --enable-libopenjpeg --enable-libxvid --enable-libschroe
dinger --enable-libx264
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.32. 0 / 52.32. 0
libavformat 52.36. 0 / 52.36. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0. 7. 1 / 0. 7. 1
built on Jul 8 2009 04:02:13, gcc: 4.2.4
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\sx264\testclips\mp4v_640x480_uLaw-mono.MOV':
Duration: 00:00:05.77, start: 0.000000, bitrate: 1478 kb/s
Stream #0.0(eng): Video: mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 100 tbr, 1056k tbn, 100 tbc
Stream #0.1(eng): Audio: pcm_mulaw, 16000 Hz, 1 channels, s16, 128 kb/s
Output #0, wav, to 'pipe:':
ERROR: Unsupported encoding configuration
Stream #0.0(eng): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Press [q] to stop encoding
av_interleaved_write_frame(): Error while opening file
Anyone got a hint where the problem is?
(and how to fix it ?)



Cu Selur

Ps.: No, I don't want to use other tools.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 18th August 2009, 19:40   #2  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,388
It seems "HE-v2" requires _stereo input_ :

http://en.wikipedia.org/wiki/Parametric_Stereo
Midzuki is offline   Reply With Quote
Old 18th August 2009, 19:43   #3  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 5,263
sounds resonable thanks (sometimes it really helps to remember what the v2 stands for )

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Reply

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 20:57.


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