shaka-packager/packager/app/test/testdata
KongQun Yang 0342adb132 Fix possible packager hangs when reading mp4 from FIFO
For MP4 files, mp4 parser tries to open and read the same file again
to handle trailing MOOV box.

Open FIFO again may result in packager hang.

Update the code to only attempt to load MOOV for local regular files,
as FIFO and remote files are unseekable anyway.

Fixes #664.

Change-Id: Ib286d2876d202cd5a248ffe70b13589b3cc74bc9
2019-10-21 18:49:52 -07:00
..
acc-he Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
audio-video Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
audio-video-with-accessibilities-and-roles [DASH] Support custom Accessibility and Role elements 2019-06-13 15:43:32 -07:00
audio-video-with-language-override [HLS] Always set FRAME-RATE attribute 2019-10-09 21:20:32 +00:00
audio-video-with-language-override-with-subtag [HLS] Always set FRAME-RATE attribute 2019-10-09 21:20:32 +00:00
audio-video-with-trick-play Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
audio-video-with-two-trick-play Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
av1-mp4 [HLS] Always set FRAME-RATE attribute 2019-10-09 21:20:32 +00:00
av1-mp4-to-webm [HLS] Always set FRAME-RATE attribute 2019-10-09 21:20:32 +00:00
av1-mp4-with-encryption [HLS] Always set FRAME-RATE attribute 2019-10-09 21:20:32 +00:00
av1-webm [HLS] Always set FRAME-RATE attribute 2019-10-09 21:20:32 +00:00
av1-webm-with-encryption [HLS] Always set FRAME-RATE attribute 2019-10-09 21:20:32 +00:00
avc-aac-ts Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
avc-aac-ts-language Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
avc-ac3-ts Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
avc-ac3-ts-to-mp4 [HLS] Always set FRAME-RATE attribute 2019-10-09 21:20:32 +00:00
avc-ac3-ts-with-encryption Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
avc-ts-aac-packed-audio-with-encryption Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
avc-ts-ac3-packed-audio-with-encryption Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
avc-ts-dash-dynamic-with-segment-deletion Enable segment auto removal for live packaging 2018-05-02 00:18:42 +00:00
avc-ts-event-playlist Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
avc-ts-live-playlist Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
avc-ts-live-playlist-dash-dynamic-with-segment-deletion [HLS] Support audio only master playlist 2018-12-13 23:52:35 +00:00
avc-ts-live-playlist-with-key-rotation Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
avc-ts-live-playlist-with-segment-deletion Enable segment auto removal for live packaging 2018-05-02 00:18:42 +00:00
avc-ts-with-encryption Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
avc-ts-with-encryption-and-fairplay Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
avc-ts-with-encryption-exercise-emulation-prevention Fix problems that target duration is not set in mpd/hls params 2019-04-30 22:41:14 +00:00
bandwidth-override [HLS] Always set FRAME-RATE attribute 2019-10-09 21:20:32 +00:00
dash-with-bandwidth-override Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
dolby-vision-profile-5-with-encryption Replace Dolby Vision test content 2019-10-09 21:34:53 +00:00
ec3-and-hls-single-segment-mp4-encrypted [HLS] Always set FRAME-RATE attribute 2019-10-09 21:20:32 +00:00
ec3-packed-audio-encrypted Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
encryption Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
encryption-and-ad-cues [HLS] Always set FRAME-RATE attribute 2019-10-09 21:20:32 +00:00
encryption-and-ad-cues-and-dash-trick-play Support trick play with Ad cues 2018-12-13 00:27:11 +00:00
encryption-and-ad-cues-split-content [HLS] Always set FRAME-RATE attribute 2019-10-09 21:20:32 +00:00
encryption-and-no-clear-lead Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
encryption-and-no-pssh-in-stream Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
encryption-and-non-dash-if-iop Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
encryption-and-output-media-info Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
encryption-and-output-media-info-and-mpd-from-media-info Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
encryption-and-trick-play Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
encryption-and-two-trick-plays Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
encryption-cbc-1 Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
encryption-cbcs Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
encryption-cens Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
encryption-multi-keys Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
encryption-multi-keys-with-stream-label Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
encryption-of-only-video-stream Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
encryption-using-fixed-key Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
encryption-with-multi-drms [HLS] Always set FRAME-RATE attribute 2019-10-09 21:20:32 +00:00
first-stream Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
flac-with-encryption [HLS] Support audio only master playlist 2018-12-13 23:52:35 +00:00
hdr10-with-encryption [HLS] Always set FRAME-RATE attribute 2019-10-09 21:20:32 +00:00
hevc-with-encryption Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
hls-audio-video-text-with-ad-cues [HLS] Always set FRAME-RATE attribute 2019-10-09 21:20:32 +00:00
hls-multi-segment-mp4-with-custom-path [HLS] Always set FRAME-RATE attribute 2019-10-09 21:20:32 +00:00
hls-segmented-webvtt Support HLS characteristics 2018-11-26 20:02:43 +00:00
hls-single-segment-mp4-encrypted [HLS] Always set FRAME-RATE attribute 2019-10-09 21:20:32 +00:00
hls-single-segment-mp4-encrypted-and-ad-cues Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
hls-with-bandwidth-override Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
live-profile Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
live-profile-and-encryption Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
live-profile-and-encryption-and-mult-files Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
live-profile-and-encryption-and-non-dash-if-iop Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
live-profile-and-key-rotation Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
live-profile-and-key-rotation-and-no-pssh-in-stream Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
live-profile-and-key-rotation-and-non-dash-if-iop Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
live-profile-and-key-rotation-cbcs Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
live-profile-with-webm [HLS] Always set FRAME-RATE attribute 2019-10-09 21:20:32 +00:00
live-static-profile Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
live-static-profile-and-ad-cues Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
live-static-profile-with-time-in-segment-name Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
mp4-trailing-moov Fix possible packager hangs when reading mp4 from FIFO 2019-10-21 18:49:52 -07:00
opus-vp9-mp4-with-encryption Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
text Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
video-audio-text Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
video-audio-ttml Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
video-audio-webvtt Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
video-no-edit-list Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
vorbis-webm Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
vp8-mp4-with-encryption Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
vp8-webm Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
vp9-webm Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
vp9-webm-with-blockgroup Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
vtt-text-to-mp4-with-ad-cues [HLS] Always set FRAME-RATE attribute 2019-10-09 21:20:32 +00:00
webm-subsample-encryption Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
webm-vp9-full-sample-encryption Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
webm-with-encryption Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
wvm-input Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
wvm-input-without-stripping-parameters-set-nalus Put namespace URIs in DASH mpd only if needed 2018-09-25 15:45:48 -07:00
bear-640x360-av-cenc-golden.mpd Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00
bear-640x360-v-trick-2-golden.mp4 Add support for EditLists in ISO-BMFF 2018-07-26 23:20:21 +00:00