It should be great if the requested video format should be dynamic.
That works fine with the photoprism-web-ui. But when using the mobile app, photoprism triggers a transcode on the fly even for example the hevc
format already exists as a transcoded video, because at the moment avc
is getting requested.
[
{
"ID": "21866-40001",
....
"Files": [
{
"UID": "fs194zdqar778v1f",
"PhotoUID": "ps194zb1ttfvybb0",
...
"FileType": "jpg",
"MediaType": "image",
"Mime": "image/jpeg"
},
{
"UID": "fs194zb2mn8quou0",
"PhotoUID": "ps194zb1ttfvybb0",
....
"Codec": "hvc1", # here is the codec. hvc1 is hevc in the rest api, avc1 is avc (the current default)
"FileType": "mp4",
"MediaType": "video",
"Mime": "video/mp4",
....
}
]
},