[FFmpeg-trac] #372(avformat:open): spdifenc does an output not correct

FFmpeg trac at avcodec.org
Wed Sep 7 23:32:06 CEST 2011


#372: spdifenc does an output not correct
-----------------------------------+------------------------------------
             Reporter:  naoya      |                    Owner:
                 Type:  defect     |                   Status:  open
             Priority:  important  |                Component:  avformat
              Version:  git        |               Resolution:
             Keywords:  spdifenc   |               Blocked By:
             Blocking:             |  Reproduced by developer:  0
Analyzed by developer:  1          |
-----------------------------------+------------------------------------

Comment (by jbr):

 Replying to [comment:7 naoya]:
 > > > {{{+ av_log(s, AV_LOG_ERROR, "AC3 invalid num_blocks[%d]\n",
 hdr.num_blocks);}}}
 > > I don't think non-6 values here are "invalid", just unsupported by the
 muxer. So I'd go for "AC3 num_blocks[%d] not supported for IEC-61937" or
 something.
 > I agree.

 num_blocks will never be anything other than 6 for AC-3. Only E-AC-3 can
 have that, but a different function is used for E-AC-3.  and if you
 actually want to check that it's AC-3 and not E-AC-3, you should check
 hdr.bitstream_id.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/372#comment:8>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list