[FFmpeg-trac] #6915(avformat:open): DASH audio segments duration doesn't match exactly with video segments duration.
FFmpeg
trac at avcodec.org
Fri Dec 22 04:11:03 EET 2017
#6915: DASH audio segments duration doesn't match exactly with video segments
duration.
------------------------------------+-------------------------------------
Reporter: beloko | Owner: stevenliu
Type: defect | Status: open
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+-------------------------------------
Comment (by beloko):
Perhaps rounding #EXTINF values like this in the audio playlist is more
accurate.
{{{
#include <stdio.h>
#include <math.h>
int main(int argc, char *argv[])
{
double extinf = 4.010667;
extinf = round(extinf * 10.0) / 10.0;
fprintf(stdout, "value #EXTINF: %f\n", extinf);
return 0;
}
}}}
4.010667 becomes 4.00000
3.989333 becomes 4.00000
1.520000 becomes 1.50000
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6915#comment:49>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list