2018-01-29 14:16 GMT+01:00 m.kamalasubha m.kamalasubha <
m.kamalasu...@gmail.com>:

> Hello all,
> I need to generate audio raw buffer for some 30 seconds from a clip whose
> sample rate is 44100 Hz. I used the following FFmpeg command to dump the
> raw data.
>   ffmpeg -i <input> -ss 00:00:00  -t 00:00:30 -f s16le -acodec pcm_s16le
> -ac 1 -ar 44100 audi.raw
>
> Expected audio raw file size : 44100 * 2 * 30 = 2646000
> Actual audio raw file size : 2646176
>
> I am wondering from where that extra 176 bytes arrive for 30 secs samples
> with sample rate 44100 Hz and sample size 2 bytes respectively.
>
>
>
​You really should post the complete output from ffmpeg here, it's the
*only* way to know what might be happening when the unexpected happens :)

(for the record, I tried your command and the output was as expected).​
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to