Opened 7 years ago
Closed 7 years ago
#6708 closed enhancement (fixed)
support >16 audio bitdepth in decklink input
Reported by: | dave rice | Owned by: | |
---|---|---|---|
Priority: | wish | Component: | avdevice |
Version: | git-master | Keywords: | decklink |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
The decklink SDK makes higher bit depth audio available, however only audio bit depth of 16 is accessible with the decklink input in ffmpeg. I propose a -raw_format_audio option or -audio_bit_depth, so that 24 or 32 could be selected. There is a comparable option in bmdcapture as -s, see https://github.com/lu-zero/bmdtools/blob/2c7c5bba81d4305bd4b8bcdc10f9a16026bfc7c7/bmdcapture.cpp#L640-L656.
How to reproduce:
ffmpeg-dl -h demuxer=decklink ffmpeg version git-2017-09-29-3df437c Copyright (c) 2000-2017 the FFmpeg developers built with Apple LLVM version 9.0.0 (clang-900.0.37) configuration: --prefix=/usr/local/Cellar/ffmpegdecklink/HEAD-3df437c --disable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma --enable-nonfree --enable-decklink --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/include --disable-vda libavutil 55. 77.101 / 55. 77.101 libavcodec 57.106.104 / 57.106.104 libavformat 57. 82.102 / 57. 82.102 libavdevice 57. 9.101 / 57. 9.101 libavfilter 6.106.100 / 6.106.100 libavresample 3. 6. 0 / 3. 6. 0 libswscale 4. 7.103 / 4. 7.103 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100 Demuxer decklink [Blackmagic DeckLink input]: Blackmagic DeckLink demuxer AVOptions: -list_devices <int> .D...... list available devices (from 0 to 1) (default 0) -list_formats <int> .D...... list supported formats (from 0 to 1) (default 0) -format_code <string> .D...... set format by fourcc -bm_v210 <int> .D...... v210 10 bit per channel (from 0 to 1) (default 0) -raw_format <int> .D...... pixel format to be returned by the card when capturing (from 0 to UINT32_MAX) (default uyvy422) uyvy422 .D...... yuv422p10 .D...... argb .D...... bgra .D...... rgb10 .D...... -teletext_lines <int64> .D...... teletext lines bitmask (from 0 to 3.43597e+10) (default 0) standard .D...... all .D...... -channels <int> .D...... number of audio channels (from 2 to 16) (default 2) -duplex_mode <int> .D...... duplex mode (from 0 to 2) (default unset) unset .D...... half .D...... full .D...... -video_input <int> .D...... video input (from 0 to 6) (default unset) unset .D...... sdi .D...... hdmi .D...... optical_sdi .D...... component .D...... composite .D...... s_video .D...... -audio_input <int> .D...... audio input (from 0 to 6) (default unset) unset .D...... embedded .D...... aes_ebu .D...... analog .D...... analog_xlr .D...... analog_rca .D...... microphone .D...... -audio_pts <int> .D...... audio pts source (from 1 to 4) (default audio) audio .D...... video .D...... reference .D...... wallclock .D...... -video_pts <int> .D...... video pts source (from 1 to 4) (default video) audio .D...... video .D...... reference .D...... wallclock .D...... -draw_bars <boolean> .D...... draw bars on signal loss (default true) -queue_size <int64> .D...... input queue buffer size (from 0 to I64_MAX) (default 1.07374e+09)
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.
Change History (3)
comment:1 by , 7 years ago
Priority: | normal → wish |
---|---|
Type: | defect → enhancement |
comment:2 by , 7 years ago
comment:3 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Resolved in 89cc48551bbe9f147ba9f4ca3821a35797cf7b47