#8349: Dolby AC-4 Support
-------------------------------------+------------------------------------
             Reporter:  Nomis101     |                    Owner:  (none)
                 Type:  enhancement  |                   Status:  reopened
             Priority:  wish         |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  ac4          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------
Changes (by Brad Isbell):

 * cc: Brad Isbell (added)

Comment:

 Hello all.  I saw that AC-4 had been partially added to FFmpeg, but
 doesn't support any decoding or encoding at this time.  Along the lines of
 Reuben's question, is there any blocker (legal, technical, or otherwise)
 that prevents merging in a patch for AC-4 decoder support?

 I also wonder if there's a way we can use platform codecs, such as Media
 Foundation Transform (MFT), for which AC-4 is available to OEMs.  If so,
 then we wouldn't have to worry about licensing issues, as far as I
 understand it.

 {{{
 ffplay -loglevel debug http://192.0.2.3:5004/auto/v104.1
 ffplay version 2024-12-11-git-a518b5540d-full_build-www.gyan.dev Copyright
 (c) 2003-2024 the FFmpeg developers
   built with gcc 14.2.0 (Rev1, Built by MSYS2 project)
   configuration: --enable-gpl --enable-version3 --enable-static --disable-
 w32threads --disable-autodetect --enable-fontconfig --enable-iconv
 --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma
 --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt
 --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray
 --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption
 --enable-libdav1d --enable-libdavs2 --enable-libopenjpeg --enable-libquirc
 --enable-libuavs3d --enable-libxevd --enable-libzvbi --enable-libqrencode
 --enable-librav1e --enable-libsvtav1 --enable-libvvenc --enable-libwebp
 --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxeve
 --enable-libxvid --enable-libaom --enable-libjxl --enable-libvpx --enable-
 mediafoundation --enable-libass --enable-frei0r --enable-libfreetype
 --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-
 libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-
 llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va
 --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-
 vaapi --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-
 opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-
 libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-
 libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc
 --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-liblc3
 --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-
 libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-
 libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
   libavutil      59. 49.100 / 59. 49.100
   libavcodec     61. 26.100 / 61. 26.100
   libavformat    61.  9.100 / 61.  9.100
   libavdevice    61.  4.100 / 61.  4.100
   libavfilter    10.  6.101 / 10.  6.101
   libswscale      8. 12.100 /  8. 12.100
   libswresample   5.  4.100 /  5.  4.100
   libpostproc    58.  4.100 / 58.  4.100
 Initialized direct3d renderer.
 [AVFormatContext @ 000001cd6a82d440] Opening
 'http://192.0.2.3:5004/auto/v104.1' for reading
 [http @ 000001cd6a82da40] Setting default whitelist
 'http,https,tls,rtp,tcp,udp,crypto,httpproxy,data'
 [tcp @ 000001cd6a82db40] Original list of addresses:
 [tcp @ 000001cd6a82db40] Address 192.0.2.3 port 5004
 [tcp @ 000001cd6a82db40] Interleaved list of addresses:
 [tcp @ 000001cd6a82db40] Address 192.0.2.3 port 5004
 [tcp @ 000001cd6a82db40] Starting connection attempt to 192.0.2.3 port
 5004
 [tcp @ 000001cd6a82db40] Successfully connected to 192.0.2.3 port 5004
 [http @ 000001cd6a82da40] request: GET /auto/v104.1 HTTP/1.1
 User-Agent: Lavf/61.9.100
 Accept: */*
 Range: bytes=0-
 Connection: close
 Host: 192.0.2.3:5004
 Icy-MetaData: 1


 [mpegts @ 000001cd6a82d440] Format mpegts probed with size=2048 and
 score=50
 [mpegts @ 000001cd6a82d440] stream=0 stream_type=24 pid=31 prog_reg_desc=
 [mpegts @ 000001cd6a82d440] stream=1 stream_type=6 pid=32 prog_reg_desc=
 [mpegts @ 000001cd6a82d440] stream=2 stream_type=6 pid=39 prog_reg_desc=
 [mpegts @ 000001cd6a82d440] stream=3 stream_type=6 pid=33 prog_reg_desc=
 [mpegts @ 000001cd6a82d440] Before avformat_find_stream_info() pos: 0
 bytes read:6204 seeks:0 nb_streams:4
 [mpegts @ 000001cd6a82d440] parser not found for codec ac4, packets or
 times may be invalid.
     Last message repeated 1 times
 [mpegts @ 000001cd6a82d440] probing stream 2 pp:2500
 [mpegts @ 000001cd6a82d440] probing stream 2 pp:2499=    0B
 [mpegts @ 000001cd6a82d440] probing stream 2 pp:2498=    0B
 [mpegts @ 000001cd6a82d440] probing stream 2 pp:2497=    0B
 [mpegts @ 000001cd6a82d440] probing stream 2 pp:2496=    0B
 [mpegts @ 000001cd6a82d440] probing stream 2 pp:2495=    0B
 [mpegts @ 000001cd6a82d440] probed stream 2
 [mpegts @ 000001cd6a82d440] parser not found for codec bin_data, packets
 or times may be invalid.
 [mpegts @ 000001cd6a82d440] parser not found for codec ac4, packets or
 times may be invalid.
     Last message repeated 1 times

 … (various HEVC debugging messages) …

 [mpegts @ 000001cd6a82d440] max_analyze_duration 7000000 reached at
 7007000 microseconds st:1
 [mpegts @ 000001cd6a82d440] rfps: 60.000000 0.014560
 [mpegts @ 000001cd6a82d440] rfps: 59.940060 0.000000
     Last message repeated 1 times
 [mpegts @ 000001cd6a82d440] Could not find codec parameters for stream 1
 (Audio: ac4 (AC-4 / 0x342D4341), 0 channels): unspecified sample rate
 Consider increasing the value for the 'analyzeduration' (0) and
 'probesize' (5000000) options
 [mpegts @ 000001cd6a82d440] Could not find codec parameters for stream 3
 (Audio: ac4 (AC-4 / 0x342D4341), 0 channels): unspecified sample rate
 Consider increasing the value for the 'analyzeduration' (0) and
 'probesize' (5000000) options
 [mpegts @ 000001cd6a82d440] After avformat_find_stream_info() pos: 5270956
 bytes read:5272104 seeks:0 frames:846
 Input #0, mpegts, from 'http://192.0.2.3:5004/auto/v104.1':
   Duration: N/A, start: 66559.780100, bitrate: N/A
   Program 3
   Stream #0:0[0x31], 419, 1/90000: Video: hevc (Main 10), 1 reference
 frame ([36][0][0][0] / 0x0024), yuv420p10le(tv, bt709, left), 1920x1080
 [SAR 1:1 DAR 16:9], 0/1, 59.94 fps, 59.94 tbr, 90k tbn
   Stream #0:1[0x32](eng), 212, 1/90000: Audio: ac4 (AC-4 / 0x342D4341), 0
 channels
   Stream #0:2[0x39](eng), 4, 1/90000: Data: bin_data (STPP / 0x50505453),
 0/1
   Stream #0:3[0x33](spa), 211, 1/90000: Audio: ac4 (AC-4 / 0x342D4341), 0
 channels
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/8349#comment:91>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to