1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-09 14:14:39 +02:00
FFmpeg/libavformat
Charles Liu aa25198f1b avformat/mov: fix hang while seek on a kind of fragmented mp4
Binary searching would hang if the fragment items do NOT have timestamp for the
specified stream.

For example, a fmp4 consists of separated 'moof' boxes for each track, and
separated 'sidx' for each segment, but no 'mfra' box.  Then every fragment item
only have the timestamp for one of its tracks.

Example:
ffmpeg -f lavfi -i testsrc -f lavfi -i sine -movflags dash+frag_keyframe+skip_trailer+separate_moof -t 1 out.mp4
ffmpeg -ss 0.5 -i out.mp4 -f null none

Also fixes the hang in ticket #7572, but not the reason for having
AV_NOPTS_VALUE timestamps there.

Signed-off-by: Charles Liu <liuchh83@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
2019-02-11 22:01:06 +01:00
..
2018-07-14 19:04:48 +02:00
2019-01-02 16:21:46 +01:00
2019-01-15 10:57:29 +01:00
2019-01-02 16:28:46 +01:00
2019-01-02 16:14:19 +01:00
2018-12-13 18:58:48 +01:00
2019-01-16 10:26:53 +01:00
2019-01-15 10:57:29 +01:00
2018-08-14 22:06:30 +05:30
2018-12-14 21:53:41 +01:00
2018-09-11 21:48:49 +01:00
2019-01-27 13:53:29 +01:00
2018-10-13 15:40:08 +02:00
2018-11-26 23:47:29 +01:00
2019-01-02 16:25:26 +01:00