[FFmpeg-trac] #8349(undetermined:open): Dolby AC-4 Support

FFmpeg trac at avcodec.org
Thu Sep 29 21:36:06 EEST 2022


#8349: Dolby AC-4 Support
-------------------------------------+-------------------------------------
             Reporter:  Nomis101     |                    Owner:  (none)
                 Type:  enhancement  |                   Status:  open
             Priority:  wish         |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by skyler):

 Replying to [comment:58 Mark Bumiller]:
 > Thank you for your work! I was able to build and run ffplay via your
 branch. I took the commits, made some minor changes to pass fate, and
 rebased to be merged without conflict. Code has been published on my
 personal fork https://github.com/makrsmark/FFmpeg/tree/ac4

 Thank you for posting that. After a lot of trial and error we were able to
 get it to compile but for some reason it still is not putting audio in the
 output file.  When I run it using "ffmpeg -i raw.ts -c copy -c:a ac3 -map
 0:0 -map 0:2 atsc3test.ts" I see this:

 {{{
 Input #0, mpegts, from 'raw.ts':
   Duration: 00:00:59.44, start: 43533.303533, bitrate: 1369 kb/s
   Program 3
   Stream #0:0[0x31]: Video: hevc (Main 10) ([36][0][0][0] / 0x0024),
 yuv420p10le(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions,
 59.94 fps, 59.94 tbr, 90k tbn
   Stream #0:1[0x32](spa): Data: bin_data (AC-4 / 0x342D4341)
   Stream #0:2[0x33](eng): Data: bin_data (AC-4 / 0x342D4341)
   Stream #0:3[0x39](eng): Data: bin_data (STPP / 0x50505453)
 Output #0, mpegts, to 'atsc3test.ts':
   Metadata:
     encoder         : Lavf59.30.101
   Stream #0:0: Video: hevc (Main 10) ([36][0][0][0] / 0x0024),
 yuv420p10le(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 59.94 fps,
 59.94 tbr, 90k tbn
   Stream #0:1(eng): Data: bin_data (AC-4 / 0x342D4341)
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:2 -> #0:1 (copy)
 Press [q] to stop, [?] for help
 [mpegts @ 0x55eed5f66600] Stream 1, codec bin_data, is muxed as a private
 data stream and may not be recognized upon reading.
 frame= 3557 fps=0.0 q=-1.0 Lsize=    8910kB time=00:00:59.44
 bitrate=1227.9kbits/s speed= 403x
 video:7145kB audio:0kB subtitle:0kB other streams:701kB global headers:0kB
 muxing overhead: 13.561085%
 }}}

 As you can see it identifies stream 0:2 as the English language stream,
 which is why I am using the map options, but if I don't use them I still
 get no sound. I have tried converting the audio to ac3, eac3, and aac with
 no luck.  I always see the error message "Stream 1, codec bin_data, is
 muxed as a private data stream and may not be recognized upon reading."
 But, I have no idea what that means or if it is relevant.

 Are there different options I should be using?
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/8349#comment:63>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list