The output gets resampled at 44K rather than my specified rate.
I get "Unsupported sample rate" with the following command:
avconv -i iTunes_test1_AAC-LC_v4_Stereo_VBR_128kbps_44100Hz.m4a -ar 22050
-ab 40k -ac 2 test3.mp3
gives
avconv version 0.8.5-6:0.8.5-0ubuntu0.12.10.1, Copyright (c) 2000-2012 the
Libav developers
built on Jan 24 2013 14:49:20 with gcc 4.7.2
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'iTunes_test1_AAC-LC_v4_Stereo_VBR_128kbps_44100Hz.m4a':
Metadata:
major_brand : M4A
minor_version : 0
compatible_brands: M4A mp42isom
creation_time : 2008-11-13 11:53:16
title : Long0
gapless_playback: 0
encoder : iTunes 8.0.0.35, QuickTime 7.5.5
Duration: 00:05:07.52, start: 0.000000, bitrate: 130 kb/s
Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16, 128 kb/s
Metadata:
creation_time : 2008-11-13 11:53:16
File 'test3.mp3' already exists. Overwrite ? [y/N] y
[mp3 @ 0x1656be0] Unsupported sample rate.
Output #0, mp3, to 'test3.mp3':
Metadata:
major_brand : M4A
minor_version : 0
compatible_brands: M4A mp42isom
TDEN : 2008-11-13 11:53:16
TIT2 : Long0
gapless_playback: 0
TSSE : Lavf53.21.1
Stream #0.0(und): Audio: libmp3lame, 22050 Hz, stereo, s16, 40 kb/s
Metadata:
creation_time : 2008-11-13 11:53:16
Stream mapping:
Stream #0:0 -> #0:0 (aac -> libmp3lame)
Press ctrl-c to stop encoding
size= 1502kB time=307.59 bitrate= 40.0kbits/s
video:0kB audio:1502kB global headers:0kB muxing overhead 0.013524%
_______________________________________________
libav-tools mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-tools