[FFmpeg-trac] #1818(avformat:new): avformat_alloc_output_context2 function call

FFmpeg trac at avcodec.org
Mon Oct 15 14:24:17 CEST 2012


#1818: avformat_alloc_output_context2 function call
-------------------------------------+-------------------------------------
             Reporter:  gopallcse    |                     Type:  defect
               Status:  new          |                 Priority:  critical
            Component:  avformat     |                  Version:  0.11.2
             Keywords:               |               Blocked By:
  avformat_alloc_output_context2     |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 I have compiled ffmpeg on iphone
 ffmpeg version 0.11.2

 I am using libavformat to create avi file
 avformat_alloc_output_context2(&oc,NULL,NULL,filename)
 [NULL @ 0x3167800] Unable to find a suitable output format for hello.mp4
 avformat_alloc_output_context2(&oc,NULL,"mpeg",filename)
 [NULL @ 0x3163800] Requested output format 'mpeg' is not a suitable output
 format.


 How to fix this error? pls provide any sample code for iphone.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1818>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list