Jacob Trimble
f7221d8e67
avformat/mov: Increase support for common encryption.
...
- Parse schm atom to get different encryption schemes.
- Allow senc atom to appear in track fragments.
- Allow 16-byte IVs.
- Allow constant IVs (specified in tenc).
- Allow only tenc to specify encryption (i.e. no senc/saiz/saio).
- Use sample descriptor to detect clear fragments.
This doesn't support:
- Different sample descriptor holding different encryption info.
- Only first sample descriptor can be encrypted.
- Encrypted sample groups (i.e. seig).
- Non-'cenc' encryption scheme when using -decryption_key.
Signed-off-by: Jacob Trimble <modmaker@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-04-19 03:15:32 +02:00
Sasi Inguva
829aebf95d
lavf/utils.c: Don't compute start_time from DISCARD packets for video.
...
Signed-off-by: Sasi Inguva <isasi@isasi.mtv.corp.google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-03-24 03:11:08 +01:00
Carl Eugen Hoyos
e867b7b11a
fate: Fix ffprobe dependency for fate-mov-guess-delay-*.
2017-12-29 01:54:59 +01:00
Sasi Inguva
58a25aeb8e
lavf/mov.c: Guess video codec delay based on PTS while parsing MOV header.
...
Signed-off-by: Sasi Inguva <isasi@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-12-20 22:27:06 +01:00
Michael Niedermayer
b404d41b19
fate: Fix fate-mov-bbi-elst-starts-b on ARM
2017-12-08 20:02:16 +01:00
Michael Niedermayer
c8bd2c7d09
tests/fate/mov: Fix fate-mov-invalid-elst-entry-count failure on ARM
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-12-06 01:04:35 +01:00
Sasi Inguva
54f8ac199f
lavf/mov.c: Don't correct edit list start to zero, when we can't find a frame before edit list start.
...
After c2a8f0fcbe57ea9ccaa864130f078af10516c3c1 this can happen on normal edit lists starting on a B-frame.
Signed-off-by: Sasi Inguva <isasi@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-14 21:02:31 +01:00
John Stebbins
57a422ea4c
fate/mov: add test for overlapping fragments
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-14 20:49:07 +01:00
Sasi Inguva
bc50961731
lavf/mov.c: Parse upto 2 keyframes after the edit list end in mov_fix_index.
...
Partially fixes t/6699.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-11 14:15:15 +01:00
Sasi Inguva
c2a8f0fcbe
lavf/mov.c: Refine edit list start seek, based on PTS computed from CTTS.
...
Partially fixes t/6699.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-04 05:05:03 +01:00
Carl Eugen Hoyos
4ccc1ef2a3
fate: Add bitexact flag to the invalid-elst test.
...
Fixes fate-mov-invalid-elst-entry-count on a ppc system.
2017-10-29 23:10:02 +01:00
Sasi Inguva
8013753113
lavf/mov.c: Fix parsing of edit list atoms with invalid elst entry count.
...
Signed-off-by: Sasi Inguva <isasi@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-10-28 20:24:04 +02:00
Dale Curtis
a5fd8aa45b
avformat/mov: Set start_pad correctly in mov_fix_index()
...
Sets the correct start padding value when an edit list is present.
A new fate test is added, fate-mov-440hz-10ms, to ensure this is
handled correctly.
Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Sasi Inguva <isasi-at-google.com@ffmpeg.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-10-21 03:12:43 +02:00
Clément Bœsch
850a45aef1
lavf/movenc: support GPMF track (gpmd) remuxing
...
See https://github.com/gopro/gpmf-parser for more information on the
data stream itself.
2017-07-24 14:43:40 +02:00
James Almer
ba4d0a37b9
Merge commit 'b90c8a3d08e3f9ad4de1253376d2d1d93abb8b8c'
...
* commit 'b90c8a3d08e3f9ad4de1253376d2d1d93abb8b8c':
fate: Add tests for mov display matrix
Adapted to use ffprobe -show_entries
Merged-by: James Almer <jamrial@gmail.com>
2017-03-27 18:19:02 -03:00
erankor
37557b28b9
mov: add fate test for decryption with edit list
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-02-01 15:09:38 +01:00
James Almer
77aa8005ec
fate: improve fate-mov dependencies
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
2016-12-09 11:19:29 -03:00
Vittorio Giovara
0c0da45f0f
fate: Add a monoscopic spherical mov test
2016-12-07 14:41:02 -05:00
Vittorio Giovara
059a786c20
fate/mov: Rename a couple of entries to respect the file naming scheme
2016-12-02 15:03:06 -05:00
Vittorio Giovara
115b834dcf
fate: Add test for mov displaymatrix
2016-11-30 12:19:30 -05:00
Sasi Inguva
c8dc11bb9e
lavf/mov.c: Fallback to finding non-keyframe in fix_index, if keyframe search fails.
...
Signed-off-by: Sasi Inguva <isasi@google.com>
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-11-10 17:44:47 +01:00
Michael Niedermayer
26e9efab1e
fate: Remove show_formats for fate-mov-zombie test
...
This includes the absolute path
Found-by: jamrial
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-11-05 15:26:31 +01:00
Michael Niedermayer
5dc237aaaa
fate: add zombie test
...
This test tests some odd sample with odd aspect ratio
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-11-05 10:24:48 +01:00
Vittorio Giovara
b90c8a3d08
fate: Add tests for mov display matrix
...
Rotation, sample/display aspect ratio and pure matrix export.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-11-01 11:55:54 -04:00
Sasi Inguva
5e965582d5
lavf/mov.c: Use the correct timescale when seeking for audio.
...
Signed-off-by: Sasi Inguva <isasi@google.com>
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-10-31 13:43:43 +00:00
Sasi Inguva
ca6cae73db
lavf/mov: Add support for edit list parsing.
...
Signed-off-by: Sasi Inguva <isasi@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-19 19:52:05 +02:00