summaryrefslogtreecommitdiff
path: root/libavcodec/libtwolame.c
diff options
context:
space:
mode:
authorMika Raento <mikie@iki.fi>2014-10-11 18:43:48 +0300
committerMichael Niedermayer <michaelni@gmx.at>2014-10-13 12:20:55 +0200
commita59808dd57f81d1cfaa76e2624a66825e63324ea (patch)
treeb77abe8d5a992b4fcd40f9c05756e98153d37f9a /libavcodec/libtwolame.c
parentb8c50becc8cf9c73e236d3857e0f0faff539a95f (diff)
mov.c: allow reading fragment start dts/pts from fragmented mp4
This introduces a new option to the mov demuxer: -use_mfra_for (pts|dts). When it's given and moofs and a MFRA are present, the MFRA's TFRAs are read for fragment start times. Unfortunately some programs that produce fragmented mp4s use the TFRA time field for dts and some for pts. There is no realistic way to detect which is the case, hence the responsibility is punted onto the user. This also means that no behavioural change is enabled by default - you must pass either dts or pts for anything to happen. Without this change, timestamps for some discontinuous fragmented mp4 are wrong, and cause audio/video desync and are not usable for generating HLS. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/libtwolame.c')
0 files changed, 0 insertions, 0 deletions