[FFmpeg-trac] #3184(undetermined:new): sfd: de/muxing does not properly work for cri adx and ac3

FFmpeg trac at avcodec.org
Sat Nov 30 00:17:44 CET 2013


#3184: sfd: de/muxing does not properly work for cri adx and ac3
-------------------------------------+-------------------------------------
             Reporter:  Soukyuu      |                     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:
 SFD (SofDec) is essentially mpeg1 video + adx audio (in later versions,
 also ac3 audio).
 ffplay plays the file fine - adx is being played in file as well as out of
 file. The files come directly from the Ar tonelico 2 game, so they are
 official and not corrupted.

 Demuxing:
 - video works
 - adx works
 - ac3 is being detected as adx, 0 channels, cannot be demuxed.

 Muxing:
 - m1v + adx = mpeg with m1v+broken mp3
 - m1b + adx = mpeg with m1v+broken mp3+working ac3

 How to reproduce:

 - Demuxing AC3
 {{{
 "D:\\Program Files\\ffmpeg-20131129-git-7ea9c4a-
 win64-static\\bin\\ffmpeg.exe" -i ".\\AT2_OP1D.SFD" -acodec copy -vn -map
 0:1 -report -f ac3 "R:\\test.ac3"
 ffmpeg version N-58570-g7ea9c4a Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Nov 28 2013 22:06:58 with gcc 4.8.2 (GCC)
 }}}

 - Muxing m1v + adx
 {{{
 "D:\\Program Files\\ffmpeg-20131129-git-7ea9c4a-
 win64-static\\bin\\ffmpeg.exe" -i "R:\\AT2_OP01.m1v" -i "R:\\AT2_OP01.adx"
 -report -c copy -map 0:v:0 -map 1:a:0 -f mpeg "R:\\out.sfd"
 ffmpeg version N-58570-g7ea9c4a
 built on Nov 28 2013 22:06:58 with gcc 4.8.2 (GCC)
 }}}

 - Muxing m1v + adx + ac3
 {{{
 "D:\\Program Files\\ffmpeg-20131129-git-7ea9c4a-
 win64-static\\bin\\ffmpeg.exe" -i "R:\\AT2_OP1D.m1v" -i "R:\\AT2_OP1D.adx"
 -i "R:\\AT2_OP1D.ac3" -map 0:v:0 -map 1:a:0 -map 2:a:0 -acodec copy
 -vcodec copy -report -f mpeg out.sfd
 ffmpeg version N-58570-g7ea9c4a Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Nov 28 2013 22:06:58 with gcc 4.8.2 (GCC)
 }}}

 The demuxing error probably comes from the fact sfd isn't really following
 the format and doing something along the lines of using an adx header for
 ac3 stream. The muxing error is beyond me though. ffmpeg -formats lists
 ADX as being muxable, I am also telling it to copy the codec, yet it still
 botches it to mp2. I mentioned this on the irc channel some time ago and
 was told that the actual muxing code is not there.

 Can provide samples if needed. Attaching logs only in the meantime

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


More information about the FFmpeg-trac mailing list