Skip to content

Could not open local flv file #28

@zhengwenming

Description

@zhengwenming

I'm try to paly a local .flv file,failed.But loacl .mp4 file is OK. And kxMovie can play the .flv file,the same file。
Here is the code.
_vcDLGPlayer.url = [[NSBundle mainBundle] pathForResource:@"339" ofType:@"flv"];
[_vcDLGPlayer open];

Is there something wrong whit my code?
log below:
platform initialization successful
2018-06-25 15:30:08.729441+0800 DLGPlayer[407:86589] [MC] Lazy loading NSBundle MobileCoreServices.framework
2018-06-25 15:30:08.729903+0800 DLGPlayer[407:86589] [MC] Loaded MobileCoreServices.framework
2018-06-25 15:30:08.748490+0800 DLGPlayer[407:86589] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2018-06-25 15:30:08.803927+0800 DLGPlayer[407:86589] refreshPreferences: HangTracerEnabled: 0
2018-06-25 15:30:08.803956+0800 DLGPlayer[407:86589] refreshPreferences: HangTracerDuration: 500
2018-06-25 15:30:08.803967+0800 DLGPlayer[407:86589] refreshPreferences: ActivationLoggingEnabled: 0 ActivationLoggingTaskedOffByDA:0
2018-06-25 15:30:31.465856+0800 DLGPlayer[407:86589] Metal GPU Frame Capture Enabled
2018-06-25 15:30:31.466897+0800 DLGPlayer[407:86589] Metal API Validation Enabled
Input #0, flv, from '/var/containers/Bundle/Application/A5145BF5-6A8F-4B4F-AC3F-B43642E986C2/DLGPlayer.app/339.flv':
Duration: N/A, start: 0.000000, bitrate: N/A
[flv @ 0x10489b000] Packet mismatch 352 15 340
[flv @ 0x10489b000] Packet mismatch 2111492634 8975 7932380
2018-06-25 15:30:36.040882+0800 DLGPlayer[407:86967] read frame error: End of file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions