Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not open local flv file #28

Open
zhengwenming opened this issue Jun 25, 2018 · 0 comments
Open

Could not open local flv file #28

zhengwenming opened this issue Jun 25, 2018 · 0 comments

Comments

@zhengwenming
Copy link

zhengwenming commented Jun 25, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant