#3107: Problem using muxing example -------------------------------------+------------------------------------- Reporter: ahsan | Type: defect Status: new | Priority: normal Component: | Version: undetermined | unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Summary of the bug: I am having issues using muxing example provided with the ffpmeg version ffmpeg-20131026-git-c78a416-win32-dev
When i use it to generate 1. .mpg i get following error muxing.exe test.mpg [mp2 @ 004462a0] Specified sample format fltp is invalid or not supported Could not open audio codec: Error number -22 occurred 2. mp4 i get following error muxing.exe test.mp4 [libx264 @ 00613280] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64 [libx264 @ 00613280] profile High, level 1.3 [libx264 @ 00613280] 264 - core 138 r2358 9e941d1 - H.264/MPEG-4 AVC codec - Cop yleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deb lock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 m e_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chro ma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 i nterlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=12 keyint_min=1 scenecut =40 intra_refresh=0 rc_lookahead=12 rc=abr mbtree=1 bitrate=400 ratetol=1.0 qcom p=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 [libvo_aacenc @ 00614040] Specified sample format fltp is invalid or not support ed Could not open audio codec: Error number -22 occurred It seems like error is coming from avcodec_open2() in open_audio() Please let me know if i am missing something or i need to set something else to make it work How to reproduce: {{{ % muxing.exe test.mpg ffmpeg version ffmpeg-20131026-git-c78a416-win32-dev built on Windows using MSVC 2012 }}} Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker. -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/3107> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac