<div dir="ltr">Hi Eugen,<div><br></div><div>Thanks for the quick reply.</div><div>For case 1(wav), I tried now again removing the parameters as suggested. Removing them does not make any change (see below).</div><div>Note: I came to the long set of parameters, in order to have the two commands as close as possible, to leave no "doubts".</div>

<div><br></div><div><div><u>Case 1: (WAV2AWB)</u></div><div><b>Command</b>: ./ffmpeg.exe -loglevel debug -y -vn -i 684.wav -ac 1 -ab 23850 -ar 16000 -f amr -acodec libvo_amrwbenc 640bytes_fromwav_less_details.awb)</div><div>

<b>Outputs</b>:</div><div>Guessed Channel Layout for  Input Stream #0.0 : mono</div><div>Input #0, wav, from '684.wav':</div><div>  Duration: 00:00:00.02, bitrate: 256 kb/s</div><div>    Stream #0:0, 1, 1/16000: Audio: pcm_s16le <b>([1][0][0][0] / 0x0001)</b>, 16000 Hz, mono, s16, 256 kb/s</div>

<div>Output #0, amr, to '640bytes_fromwav_less_details.awb':</div><div>  Metadata:</div><div>    encoder         : Lavf55.34.101</div><div>    Stream #0:0, 0, 1/90000: Audio: amr_wb (libvo_amrwbenc), 16000 Hz, mono, s16, 23 kb/s</div>

<div>Stream mapping:</div><div>  Stream #0:0 -> #0:0 (pcm_s16le -> libvo_amrwbenc)</div><div><br></div><div><br></div><div><u>Case 2: (RAW2AWB:)</u></div><div><b>Command</b>: ./ffmpeg.exe -loglevel debug -y -vn -f s16le -ac 1 -ar 16000 -acodec pcm_s16le -sample_fmt s16 -i 684.wav -ac 1 -ab 23850 -ar 16000 -f amr -acodec libvo_amrwbenc -sample_fmt s16 640bytes_fromwav.awb</div>

<div><b>Outputs:</b></div><div>Input #0, s16le, from '640.raw':</div><div>  Duration: 00:00:00.02, bitrate: 256 kb/s</div><div>    Stream #0:0, 1, 1/16000: Audio: pcm_s16le, 16000 Hz, mono, s16, 256 kb/s</div><div>

Output #0, amr, to '640bytes_fromrRaw_outs16.awb':</div><div>  Metadata:</div><div>    encoder         : Lavf55.34.101</div><div>    Stream #0:0, 0, 1/90000: Audio: amr_wb (libvo_amrwbenc), 16000 Hz, mono, s16, 23 kb/s</div>

<div>Stream mapping:</div><div>  Stream #0:0 -> #0:0 (pcm_s16le -> libvo_amrwbenc)</div></div><div><br></div><div>Still, but when I compare the binary output is different.</div><div><br></div><div>The only difference I noticed in the details on the screen is:</div>

<div>Audio: pcm_s16le <b>([1][0][0][0] / 0x0001) </b><br></div><div>vs </div><div>Audio: pcm_s16le<br></div><div><br></div><div>Is this difference something important or it simply states that it uses one stream/channel? </div>

<div><br></div><div>Thanks,</div><div>Sebastian</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 8, 2014 at 3:47 PM, Carl Eugen Hoyos <span dir="ltr"><<a href="mailto:cehoyos@ag.or.at" target="_blank">cehoyos@ag.or.at</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">ReSearchIT Eng <researchiteng@...> writes:<br>
<br>
> ./ffmpeg.exe -loglevel debug -y -vn -f s16le -ac 1<br>
> -ar 16000 -acodec pcm_s16le -sample_fmt s16 -i 684.wav<br>
<br>
</div>Your questions are difficult to understand...<br>
<br>
Lets start with the simple things:<br>
Please remove everything starting with "-f" until "s16":<br>
If "ffmpeg -i 684.wav" does not work as expected, please<br>
report back / try to set some values that you seem to believe<br>
are necessary (but shouldn't be).<br>
Once that works, try to understand what "-f" does and why you<br>
should only use it for raw pcm files (in this case).<br>
<br>
(I wonder what -sample_fmt means: I test often and I believe<br>
I never used it...)<br>
<br>
Carl Eugen<br>
<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</blockquote></div><br></div>