Hi,
I have a WMV file with 6 channel WMAPro which I would like to transcode [or
decode?] to stereo WAV, however avconf fails with the message '  Can not
resample 6 channels @ 48000 Hz to 2 channels @ 48000 Hz '

I thought that avconv already had channel resampling functionality? perhaps
my commandline is wrong?

the commandline is:
avconv.exe  -i my_input.wmv -ac 2 -ar 48000 -map 0:0 -y my_output.wav

and the output is:
avconv version v0.8-1-gad7beb2, Copyright (c) 2000-2011 the Libav developers
 built on Jan 21 2012 21:52:11 with gcc 4.5.2
 [wmv3 @ 00c939e0] Extra data: 8 bits left, value: 0
 [asf @ 00c5c360] max_analyze_duration reached
 Input #0, asf, from 'my_input.wmv':
 Metadata:
 WMFSDKVersion   : 12.0.7601.17514
 WMFSDKNeeded    : 0.0.0.0000
 VBR Peak        : 450
 IsVBR           : 1
 Duration: 01:27:00.35, start: 0.000000, bitrate: 2869 kb/s
 Stream #0.0(ger): Audio: wmapro, 48000 Hz, 5.1, flt, 128 kb/s
 Stream #0.1(ger): Video: wmv3 (Main), yuv420p, 1280x720, 2731 kb/s, 24
tbr, 1k tbn, 1k tbc
 Incompatible sample format 'flt' for codec 'pcm_s16le', auto-selecting
format 's16'
 Output #0, wav, to 'my_output.wav':
 Metadata:
 WMFSDKVersion   : 12.0.7601.17514
 WMFSDKNeeded    : 0.0.0.0000
 VBR Peak        : 450
 IsVBR           : 1
 encoder         : Lavf53.20.0
 Stream #0.0(ger): Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
 Stream mapping:
 Stream #0:0 -> #0:0 (wmapro -> pcm_s16le)
 Press ctrl-c to stop encoding
 Multiple frames in a packet from stream 0
 Using s16 intermediate sample format for resampling
 Resampling output channel count must be 1 or 2 for mono input; 1, 2 or 6
for stereo input; or N for N channel input.
 Can not resample 6 channels @ 48000 Hz to 2 channels @ 48000 Hz


--
Aviad Rozenhek
_______________________________________________
libav-tools mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-tools

Reply via email to