[FFmpeg-trac] #7696(undetermined:new): XVID AVI with pcm_s24le audio gets weird format tag

FFmpeg trac at avcodec.org
Wed Jan 23 14:17:24 EET 2019


#7696: XVID AVI with pcm_s24le audio gets weird format tag
-------------------------------------+-------------------------------------
             Reporter:  Ruuttu       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 TL;DR: When encoding AVIs using libxvid and using pcm_s24le for audio
 rather than pcm_s16le, I get a file where the audio can't be imported by
 Sony Vegas.

 Here are examples to reproduce the issue:
 {{{
 ffmpeg -i BigBuckBunny_30s.mp4 -acodec pcm_s16le -vcodec libxvid works.avi
 ffmpeg -i BigBuckBunny_30s.mp4 -acodec pcm_s24le -vcodec libxvid
 doesnt_work.avi
 }}}

 When using pcm_s16le, there's a wFormatTag in the AVI that's set to 1.
 With pcm_s24le, it's set to 65534. I suspect this has something to do with
 it. The value of 65534 seems suspicious and weird.

 I don't have enough expertise to know if the videos I'm getting are
 actually ''correct'' or not, but they do not work in Sony Vegas 12 or 16.
 Sony Vegas does in fact support 24bit audio, but when encoding a similar
 file using Sony Vegas, the value of wFormatTag is 1, the same as when
 encoding 16bit audio with ffmpeg.

 There's a free trial of the software available at
 https://www.vegascreativesoftware.com/us/vegas-pro/ for what it's worth.

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


More information about the FFmpeg-trac mailing list