#6319: Raw audio is x2 times slower than it should be
-------------------------------------+-------------------------------------
Reporter: | Owner:
yujxmaxzcjcllko | Status: new
Type: defect | Component:
Priority: critical | undetermined
Version: 3.2.4 | Resolution:
Keywords: raw-audio | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Gyan):
Raw files contain no metadata to populate stream contexts, so those have
to be specified. If not specified, ffmpeg falls back on default values. In
this case, during conversion from raw to mp3, it's treating the input as
mono, hence treating it as double the actual length.
Your third command should be `ffmpeg -f s16le -ar 48000 -ac 2 -i 1.hex -y
1.mp3`
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6319#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac