https://bugzilla.wikimedia.org/show_bug.cgi?id=55942
Web browser: ---
Bug ID: 55942
Summary: Expose file sizes of transcoded assets in API
Product: MediaWiki extensions
Version: unspecified
Hardware: All
URL: https://commons.wikimedia.org/w/api.php?action=query&t
itles=File:Folgers.ogv&prop=transcodestatus&format=jso
n
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: TimedMediaHandler
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
API results for transcodestatus and videoinfo don't include the file size of
the transcoded assets -- though this can be estimated from the content duration
(see bug 55941 for difficulties getting this) combined with the per-transcode
bandwidth:
https://commons.wikimedia.org/w/api.php?action=query&titles=File:Folgers.ogv&prop=transcodestatus&format=json
https://commons.wikimedia.org/w/api.php?action=query&titles=File:Folgers.ogv&prop=videoinfo&viprop=derivatives&format=json
For managing downloads or progress bars, it would be nice to have the byte
count.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l