Changeset aa25198f in ffmpeg
- Timestamp:
-
Feb 11, 2019, 9:01:06 PM
(6 years ago)
- Author:
- Marton Balint <cus@passwd.hu>
- Branches:
- master
- Children:
- 0c3333fa
- Parents:
- 00fd38f1
- git-author:
- Charles Liu <liuchh83@gmail.com> (02/03/19 15:09:06)
- git-committer:
- Marton Balint <cus@passwd.hu> (02/11/19 21:01:06)
- Message:
-
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>
-
(No files)
-