Browse Source

FATE: Add test for probing MOV/MP4 files with extended box sizes

The test sample has to have no file extension, otherwise probing
happens to work, based off file extension alone, and we want to
test the actual probing function.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
(cherry picked from commit e668c55649)
tags/n4.4
Derek Buitenhuis James Almer 4 years ago
parent
commit
8f099e3a67
2 changed files with 4 additions and 0 deletions
  1. +3
    -0
      tests/fate/mov.mak
  2. +1
    -0
      tests/ref/fate/mov-mp4-extended-atom

+ 3
- 0
tests/fate/mov.mak View File

@@ -29,6 +29,7 @@ FATE_MOV_FFPROBE = fate-mov-neg-firstpts-discard \
fate-mov-guess-delay-2 \ fate-mov-guess-delay-2 \
fate-mov-guess-delay-3 \ fate-mov-guess-delay-3 \
fate-mov-mp4-with-mov-in24-ver \ fate-mov-mp4-with-mov-in24-ver \
fate-mov-mp4-extended-atom \


FATE_MOV_FASTSTART = fate-mov-faststart-4gb-overflow \ FATE_MOV_FASTSTART = fate-mov-faststart-4gb-overflow \


@@ -124,3 +125,5 @@ fate-mov-faststart-4gb-overflow: CMP = oneline
fate-mov-faststart-4gb-overflow: REF = bc875921f151871e787c4b4023269b29 fate-mov-faststart-4gb-overflow: REF = bc875921f151871e787c4b4023269b29


fate-mov-mp4-with-mov-in24-ver: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_entries stream=codec_name -select_streams 1 $(TARGET_SAMPLES)/mov/mp4-with-mov-in24-ver.mp4 fate-mov-mp4-with-mov-in24-ver: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_entries stream=codec_name -select_streams 1 $(TARGET_SAMPLES)/mov/mp4-with-mov-in24-ver.mp4

fate-mov-mp4-extended-atom: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_packets -print_format compact -select_streams v $(TARGET_SAMPLES)/mov/extended_atom_size_probe

+ 1
- 0
tests/ref/fate/mov-mp4-extended-atom View File

@@ -0,0 +1 @@
packet|codec_type=video|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=1001|duration_time=0.033367|size=14798|pos=16|flags=K_

Loading…
Cancel
Save