[FFmpeg-trac] #7311(avformat:new): wrong MOOV stsd

FFmpeg trac at avcodec.org
Mon Jul 9 23:51:10 EEST 2018


#7311: wrong MOOV stsd
----------------------------------+---------------------------------------
             Reporter:  Mista_D   |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avformat  |                  Version:  unspecified
             Keywords:  moov      |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+---------------------------------------
 When extracting AC3 track and saving it to mp4, the wrong type of ac-3
 packet is included in MOOV.

 packet header in stsd in MOOV set to 'AC-3' instead of 'ac-3'


 Section 5.6.1.1.2 of
 http://uvcentral.com/sites/default/files/files/PublicSpecs/CFFMediaFormat-
 2_1.pdf

 ffmpeg -i test.mpg -map a -c copy ac3.mp4
 ac4.mp4 HEX offset 1227D-12280: "AC-3"


 ffmpeg -i test.mpg -map a -c copy ac3.ac3
 ffmpeg -i ac3.ac3 -c copy 2step.mp4
 2step.mp4 HEX offset 1227D-12280: "ac-3"


 How can ac-3 be set properly in MP4's MOOV packets when extracting AC3
 track from MPG to MP4 please?

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


More information about the FFmpeg-trac mailing list