pwlin / cordova-plugin-file-opener2

A File Opener Plugin for Cordova
MIT License
314 stars 583 forks source link

Unable to open some MP4 files on iOS? #341

Closed Lyfei closed 1 year ago

Lyfei commented 1 year ago

When I open this mp4 file, only the filename and file type are displayed. But most MP4 videos can be played directly.

mp4info:

File:
  major brand:      mp42
  minor version:    0
  compatible brand: mp42
  compatible brand: mp41
  fast start:       yes

Movie:
  duration:   18842880 (media timescale units)
  duration:   209365 (ms)
  time scale: 90000
  fragments:  no

Found 2 Tracks
Track 1:
  flags:        1 ENABLED
  id:           1
  type:         Video
  duration: 209320 ms
  language: eng
  media:
    sample count: 5233
    timescale:    25000
    duration:     5233000 (media timescale units)
    duration:     209320 (ms)
    bitrate (computed): 9592.363 Kbps
  display width:  1920.000000
  display height: 1080.000000
  frame rate (computed): 25.000
  Sample Description 0
    Coding:       avc1 (H.264)
    Codec String: avc1.640029
    AVC Profile:          100 (High)
    AVC Profile Compat:   0
    AVC Level:            41
    AVC NALU Length Size: 4
    AVC SPS: [67640029ac2ca501e0111f7350101014000003000400000300ca10]
    AVC PPS: [68e881135250]
    Width:       1920
    Height:      1080
    Depth:       24
Track 2:
  flags:        1 ENABLED
  id:           2
  type:         Audio
  duration: 209320 ms
  language: eng
  media:
    sample count: 9814
    timescale:    48000
    duration:     10049536 (media timescale units)
    duration:     209365 (ms)
    bitrate (computed): 317.376 Kbps
  Sample Description 0
    Coding:       mp4a (MPEG-4 Audio)
    Codec String: mp4a.40.2
    Stream Type: Audio
    Object Type: MPEG-4 Audio
    Max Bitrate: 407250
    Avg Bitrate: 317375
    Buffer Size: 1536
    MPEG-4 Audio Object Type: 2 (AAC Low Complexity)
    MPEG-4 Audio Decoder Config:
      Sampling Frequency: 48000
      Channels: 2
    Sample Rate: 48000
    Sample Size: 16
    Channels:    2
pwlin commented 1 year ago

Please use the template for reporting bugs