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

[Feature request] Video time #4

Closed
hubertnnn opened this issue Sep 17, 2019 · 1 comment
Closed

[Feature request] Video time #4

hubertnnn opened this issue Sep 17, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@hubertnnn
Copy link

Would be nice if you could add the time field to the API that will return length of video in seconds.

@chojnicki chojnicki added the enhancement New feature or request label Sep 17, 2019
@chojnicki
Copy link
Owner

Added in 1.1.0.

Unfortunately, LiveLeak and Facebook (without API) doesn't provide info about duration in any way. I spend long time trying to get this info directly from small chunk of .mp4 using getID3 or own code analyzing binary data but it worked in like half of videos because in many of them required atom is placed at the end of file instead of beginning (so whole file needs to be downloaded to analyze). Because of this I decided to not publish this and for now release support for other platforms alone instead.

In case of Facebook, duration will be provided soon with official API support (but for now I do not have verified app in FB so that's why it's not ready).

In case of LiveLeak I have contacted them asking for any support in duration info on their side, like in meta tag or somewhere else in source. I'm waiting for response (but really without any real hopes).

I'm leaving this issue opened by now if You have any question or You can tell me for what platform you need this duration feature. Or maybe someone else has ideas for missing platforms ;)

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

No branches or pull requests

2 participants