[FFmpeg-user] Problems with Audio Codec: almost solved it

James Board jpboard2 at yahoo.com
Fri Aug 9 17:33:05 CEST 2013


I think I found the problem to both my ffmpeg encoding issues (encodes don't
work) and my playback problems (player pauses when I try to skip forward).

The original AVI files have this audio codec:
    [pcm] afm: pcm (Uncompressed PCM)

I then run ffmpeg with the select video filters and aselect audio filters
to do cut edits.  During this step, for whatever reason I set the option
"-c:a wmav2", the audio codec becomes
    [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))


Files encode successfully and the play successfully with the PCM audio codec,
but not the wmav2 codec.  So I guess my system has problems with the
wmav2 codec, and I want to not use it.

I really don't know anything about audio codecs, and I just want to get my
[damm] app working.  If my original audio codec is uncompressed PCM, what
should I set the "-c:a " option to when doing the cut edits in order to keep
the same audio format, or as close as possible to the same format?  I can't
use 'copy' with the aselect filter.

Thank you


More information about the ffmpeg-user mailing list