https://bugzilla.wikimedia.org/show_bug.cgi?id=55622
Web browser: ---
Bug ID: 55622
Summary: API doesn't expose transcoded media URLs
Product: MediaWiki extensions
Version: unspecified
Hardware: All
URL: https://commons.wikimedia.org/w/api.php?action=query&p
rop=transcodestatus&titles=File:Malta%20-%20Mellieha%2
0-%20Misrah%20iz-Zjara%20tal-Papa%20Gwanni%20Pawlu%20I
I%2001%20%280%29%20ies.ogv&format=jsonfm
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: ---
I notice that there doesn't seem to be a way in the API data for transcode
status or imageinfo to get the actual URLs of transcoded media output.
prop=transcodestatus lists the formats/sizes but doesn't expose URLs to the
actual resources:
https://commons.wikimedia.org/w/api.php?action=query&prop=transcodestatus&titles=File:Malta%20-%20Mellieha%20-%20Misrah%20iz-Zjara%20tal-Papa%20Gwanni%20Pawlu%20II%2001%20%280%29%20ies.ogv&format=jsonfm
prop=imageinfo&iiprop=url|size lists the URL to the original media file, but
none of the transcodes:
https://commons.wikimedia.org/w/api.php?action=query&prop=imageinfo&titles=File:Malta%20-%20Mellieha%20-%20Misrah%20iz-Zjara%20tal-Papa%20Gwanni%20Pawlu%20II%2001%20%280%29%20ies.ogv&format=jsonfm&iiprop=url|size
For lower-level tools doing a preview, or native app playback, it would be very
nice to have direct access to the transcodes. (I can probably fake the URLs by
knowing what they happen to be relative to the base media file, but I don't
know if that's stable.)
--
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