linkedtv / platform

platform
0 stars 0 forks source link

Video Status given the filename #22

Open jluisred opened 10 years ago

jluisred commented 10 years ago

Is there any way to check the video statuses by providing the corresponding filename in the FTP server?

For example, I would like to see if the video at: ftp://ftp.condat.de/archive/Data/SV/final/video/TUSSENKUNST-AVR00008Q6E_115000_2845960.mp4 has been already stored in Noterik's platform.

Thanks in advance!

alisarioglu commented 10 years ago

Dear Jose Luis,

You can see the current state of the video in the 'Platform Administration' list: http://api.linkedtv.eu/mediaresource?view=table&status=4

Here is the detail page: http://api.linkedtv.eu/mediaresource/a165b0aa-a36f-4f44-b8ce-982dec9bcdf2

with the link to the new locator: http://stream17.noterik.com/progressive/stream17/domain/linkedtv/user/avro/video/112/

Here is the data in the repository: http://data.linkedtv.eu/mediaresource/a165b0aa-a36f-4f44-b8ce-982dec9bcdf2

And you can still watch the video with following link, because we do not delete files after transferred to noteric: http://api.linkedtv.eu/data/SV/final/video/TUSSEN_KUNST_-AVR00008Q6E_115000_2845960.mp4

Probably a search function with title name can be added to the 'Platform Administration' to find the searched video.

Regards, Ali


Ali Sarioglu

Condat AG Alt-Moabit 91d D-10559 Berlin

fon +49(30)3949 1459 fax +49(30)3949 1300

email mailto:ali.sarioglu@condat.de ali.sarioglu@condat.demailto:ali.sarioglu@condat.de

Vorstand: Dr. Christof Peltason(CEO) Aufsichtsratvorsitzender: Dr. Hans-Peter Hehn

HRB Berlin Charlottenburg 83319


From: Jose Luis Redondo Garcia [mailto:notifications@github.com] Sent: Thursday, May 15, 2014 12:32 PM To: linkedtv/platform Cc: Ali Sarioglu Subject: [platform] Video Status given the filename (#22)

Is there any way to check the video statuses by providing the corresponding filename in the FTP server?

For example, I would like to see if the video at: ftp://ftp.condat.de/archive/Data/SV/final/video/TUSSENKUNST-AVR00008Q6E_115000_2845960.mp4 has been already stored in Noterik's platform.

Thanks in advance!

Reply to this email directly or view it on GitHubhttps://github.com/linkedtv/platform/issues/22.

rtroncy commented 10 years ago

Yes, I think the feature request was exactly to have a search function in the platform, so that if one has a video filename, one can immediately search for the status rather than browsing the soon long list of videos ingested in the platform.

By the way, what are the credentials to use at http://api.linkedtv.eu/login ?

jluisred commented 10 years ago

Hello Ali:

Thank you for your answer! This clarifies things. Yes, some search functionality under http://api.linkedtv.eu/search would be useful, specially when the number of ingested videos gets bigger.

Additionally, after browsing some MediaResources another question comes to my mind. What would we exactly expect to find under the property "Relation"?

For example: http://api.linkedtv.eu/mediaresource/9c2b41ac-4abe-487d-bbef-f7d6210b61e7

I see there the corresponding exmaralda file (which makes sense). But then, what happens with the other available metadata files that are also already in the platform? (Ej. subtitles at http://api.linkedtv.eu/data/SV/final/subs/TUSSEN_KUNST_-AVR00008KC3_115000_2834240.srt) It would be great to have this unified under the same MediaResource description page.

KR: JL

alisarioglu commented 10 years ago

Hello Jose Luis,

Additionally, after browsing some MediaResources another question comes to my mind. What would we exactly expect to find under the property "Relation"? Any related material, you can imagine. SRT files, pictures, thumbnails, audios and so on. Please check the following media resource as an example: http://api.linkedtv.eu/mediaresource/b82fb032-d95e-11e2-951c-f8bdfd0abfbd

You can also get an XML by a GET http://api.linkedtv.eu/mediaresource/b82fb032-d95e-11e2-951c-f8bdfd0abfbd/mediaresourcerelation request with accept:application/rdf

Or in a browser

http://api.linkedtv.eu/mediaresource/b82fb032-d95e-11e2-951c-f8bdfd0abfbd/mediaresourcerelation.xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

524 http://api.linkedtv.eu/data/Platform/40c56ac3-537c-4a20-a12c-09d3faea68c6-video.mp4 relatedContent

Every media resource relation has two entries: relationTarget and relationType. Until today there is no fixed list for the relationType, but the link above give you an idea.

I thought that all partners know this. I will create a list of possible relationType's and put it into the wikipage, to keep it sync with all partners.

Regards, Ali


Ali Sarioglu

Condat AG Alt-Moabit 91d D-10559 Berlin

fon +49(30)3949 1459 fax +49(30)3949 1300

email mailto:ali.sarioglu@condat.de ali.sarioglu@condat.demailto:ali.sarioglu@condat.de

Vorstand: Dr. Christof Peltason(CEO) Aufsichtsratvorsitzender: Dr. Hans-Peter Hehn

HRB Berlin Charlottenburg 83319


From: Jose Luis Redondo Garcia [mailto:notifications@github.com] Sent: Thursday, May 15, 2014 3:11 PM To: linkedtv/platform Cc: Ali Sarioglu Subject: Re: [platform] Video Status given the filename (#22)

Hello Ali:

Thank you for your answer! This clarifies things. Yes, some search functionality under http://api.linkedtv.eu/search would be useful, specially when the number of ingested videos gets bigger.

Additionally, after browsing some MediaResources another question comes to my mind. What would we exactly expect to find under the property "Relation"?

For example: http://api.linkedtv.eu/mediaresource/9c2b41ac-4abe-487d-bbef-f7d6210b61e7

I see there the corresponding exmaralda file (which makes sense). But then, what happens with the other available metadata files that are also already in the platform? (Ej. subtitles at http://api.linkedtv.eu/data/SV/final/subs/TUSSEN_KUNST_-AVR00008KC3_115000_2834240.srt) It would be great to have this unified under the same MediaResource description page.

KR: JL

Reply to this email directly or view it on GitHubhttps://github.com/linkedtv/platform/issues/22#issuecomment-43206866.

jluisred commented 10 years ago

Hello Ali:

Thanks! That confirmed what I intuitively figured out after taking a look at some MediaResources. Related material in general, this is useful.

In any case, continuing with the second question I did before I still would have expected to find the subtitles in there, because they are available in the platform: http://api.linkedtv.eu/data/SV/final/subs/TUSSEN_KUNST_-AVR00008KC3_115000_2834240.srt

Ofc there are many kinds of related material we can think about, but It would be probably nice to have the main three (exmaralda, subtitles, legacy) linked from there when possible.

Thanks: JL

alisarioglu commented 10 years ago

Hello Jose Luis,

In any case, continuing with the second question I did before I still would have expected to find the subtitles in there, because they are available in the platform: http://api.linkedtv.eu/data/SV/final/subs/TUSSEN_KUNST_-AVR00008KC3_115000_2834240.srt

In the cases of automated data import from rbb it happens. Anyone who create a media resource and upload related material should afterwards import this information in the database of the 'Platform Administration'. This can make by following POST request:

POST http://api.linkedtv.eu/mediaresource/[UUID-of-media-resource]/mediaresourcerelation

HEADER: Authorisation: Basic ... Content-Type: application/xml

BODY: <?xml version="1.0" encoding="UTF-8"?>

http://api.localhost:8080/subtitle-example.srt srt

For relationType, probably not the file extension would better. For example 'subtitle' as you mentioned makes more sense.

Regards, Ali


Ali Sarioglu

Condat AG Alt-Moabit 91d D-10559 Berlin

fon +49(30)3949 1459 fax +49(30)3949 1300

email mailto:ali.sarioglu@condat.de ali.sarioglu@condat.demailto:ali.sarioglu@condat.de

Vorstand: Dr. Christof Peltason(CEO) Aufsichtsratvorsitzender: Dr. Hans-Peter Hehn

HRB Berlin Charlottenburg 83319


From: Jose Luis Redondo Garcia [mailto:notifications@github.com] Sent: Thursday, May 15, 2014 4:13 PM To: linkedtv/platform Cc: Ali Sarioglu Subject: Re: [platform] Video Status given the filename (#22)

Hello Ali:

Thanks! That confirmed what I intuitively figured out after taking a look at some MediaResources. Related material in general, this is useful.

In any case, continuing with the second question I did before I still would have expected to find the subtitles in there, because they are available in the platform: http://api.linkedtv.eu/data/SV/final/subs/TUSSEN_KUNST_-AVR00008KC3_115000_2834240.srt

Ofc there are many kinds of related material we can think about, but It would be probably nice to have the main three (exmaralda, subtitles, legacy) linked from there when possible.

Thanks: JL

Reply to this email directly or view it on GitHubhttps://github.com/linkedtv/platform/issues/22#issuecomment-43214289.