[FFmpeg-trac] #3803(undetermined:new): Incorrect bitrate in RIFF header when wrapping dts in WAV
FFmpeg
trac at avcodec.org
Fri Jul 25 08:25:14 CEST 2014
#3803: Incorrect bitrate in RIFF header when wrapping dts in WAV
-------------------------------------+-------------------------------------
Reporter: ptalarbvorm | 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:
When adding a WAV header to a dts stream, FFmpeg writes the value read
from the dts "target bitrate" field, which almost-always is not the actual
bitrate of the stream. DTS in a WAV container is accepted by VirtualDub's
AVI muxer, and so far I have to hex-edit the WAVved DTS files created
through FFmpeg.
How to reproduce:
1) Create a dts file from an Audio CD track;
dcaenc -i CD_Track_01.wav -o track_01.dts -b 441
2) Mux with FFmpeg;
ffmpeg -i track_01.dts -acodec copy track_01.WAV
The RIFF header will report "448kbps", instead of *441kbps*, which is the
correct value.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3803>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list