[FFmpeg-trac] #3107(undetermined:new): Problem using muxing example

FFmpeg trac at avcodec.org
Wed Nov 6 23:43:03 CET 2013

#3107: Problem using muxing example
             Reporter:  ahsan        |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0

Comment (by easonic):

 I guess you need to modify the '''/* create resampler context */''' one to
 get the resampler context; I made the '''if (c->sample_fmt ==
 AV_SAMPLE_FMT_S16)''' change for the audio~

 Replying to [comment:3 ahsan]:
 > Thx Easonic!
 > In my case audio_codec->sample_fmt is already set to AV_SAMPLE_FMT_S16
 and i get this error

Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/3107#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list