StudioProcess / rvp

Research Video is a tool for Artistic Research based on video annotation
https://rv.zhdk.ch
GNU General Public License v3.0
7 stars 4 forks source link

Upload MP4 videos #168

Closed leaklaue closed 4 years ago

leaklaue commented 6 years ago

I am currently trying to upload some lowres MP4 Videos and I can't upload them using the button "Change video file". I can select MOV files but no MP4. Thanks & greetings from Bolivia

dinony commented 6 years ago

Hi, hmm I can select mp4 files.

screen shot 2018-06-04 at 09 53 59

Are you using this version: https://rv.process.studio/ ?

leaklaue commented 6 years ago

Hi! Yes I am using this version. Here the screenshots: I can upload MOV but not MP4. Thanks! Léa

[cid:3738109C-8DE9-427F-ACC7-CE73F3917901@Home][cid:867CD630-C797-44A2-A5F4-3ADF1EA4A2C1@Home]

Am 04.06.2018 um 03:56 schrieb Onur Dogangönül notifications@github.com<mailto:notifications@github.com>:

Hi, hmm I can select mp4 files. [screen shot 2018-06-04 at 09 53 59]https://user-images.githubusercontent.com/2547965/40905137-57534afe-67dd-11e8-8a4b-3abbf0c950f5.png

Are you using this version: https://rv.process.studio/ ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/StudioProcess/rvp/issues/168#issuecomment-394266445, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AmCevQVPNEHKHzbpBVxd8BF0SV4f5MQ1ks5t5OgWgaJpZM4UYOEB.

— — Zürcher Hochschule der Künste Zurich University of the Arts — Léa Klaue Wissenschaftliche Mitarbeiterin Cast / Audiovisual Media Departement Design — Toni-Areal, Pfingstweidstrasse 96 Postfach, CH-8031 Zürich Telefon +41 79 387 50 26 — www.zhdk.chhttp://www.zhdk.ch www.zhdk.ch/cast

dinony commented 6 years ago

Hi Léa, I think the upload did not work :/

leaklaue commented 6 years ago

Hi Onur The upload of the screenshots? Here again. Thanks Léa

Le 5 juin 2018 3:43 AM, Onur Dogangönül notifications@github.com a écrit :

Hi Léa, I think the upload did not work :/

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/StudioProcess/rvp/issues/168#issuecomment-394613631, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AmCevfbZsKdEnQpsVxvY5GmKIxA1_jjEks5t5jaggaJpZM4UYOEB.

dinony commented 6 years ago

Yep, I think it does not work when you send the image as an attachment in the email - I assume that's what you are doing. Could you upload the screenshot directly in github? Thanks!!

leaklaue commented 6 years ago

Voilà!

bildschirmfoto 2018-06-04 um 10 38 31 bildschirmfoto 2018-06-04 um 10 38 44
dinony commented 6 years ago

Thanks, that's strange. Could you send me one of these mp4 files (contact@dinony.com) or make it available as download and send me the link?

And just to make sure, which browser are you using (I'd assume chrome)?
And maybe: what are the file sizes?

leaklaue commented 6 years ago

No, I was using Safari. So I tried with Chrome and there I could select my MP4 files. But then another problem appeared: I select the file and continue but the video doesn't show up at all. I don't see any still image nor I can play the video. I sent you an example of my MP4 Files via Wetransfer. The size of this one is 90MB.

dinony commented 6 years ago

Thanks, I will test with this file and get back to you!

dinony commented 6 years ago

Hi Léa, I tested your file and here's what I found:

It was possible for me to import and play the file. However, I just got a black blank screen with audio. I tried to figure out the difference between a working mp4 file and yours and I noticed that your mp4 container holds divx encoded video.

screen shot 2018-06-11 at 17 57 41

This is what I got when opened with avidemux.

screen shot 2018-06-11 at 17 46 18

Here I found a list of natively supported video/audio encodings in an mp4 container. It seems that divx would need a 3rd party plugin installed, but I have no experience with that. Would it be possible to convert/use e.g. H.264? I think it will work with H.264.


I don't see any still image nor I can play the video.

You could not play the video file as described above (blank screen+audio)? Then it could also be possible that the browser storage quota is too low. When importing a video file directly (that is: not loading via URL/YouTube/Vimeo) the browser saves the video file in an intern storage, which is of limited size. I also noticed inconsistent behavior among different browsers. So, you could try the following two options:

  1. Clear Application Storage
screen shot 2018-06-11 at 18 11 26
  1. Load video from HTTP URL
leaklaue commented 6 years ago

Hi Onur Thanks a lot for your reply. Yes, when I upload the video via Chrome, I can play it, but have only sound and no video. I am partly working with small Sony Cybershot cameras, which produce this specific format and I can’t adjust anything. And I will end up with a lot of this material (as much as material coming from different smartphone devices…) due to my anthropological research (count with +- 150 hours of footage). I think it will be too much of a hassle to convert everything to H.264… And I also cleared the Chrome storage and it still didn’t work. The idea of the research video tool is enabling connections and annotations and I wish to have the possibility to annotate videos with videos - which in my research would be a central and great tool. And for this, it is important to enable the use of various formats. I also think about working with archive material that also carry older formats, so that might be an important topic to work on.

Another thing that appeared was that it was impossible for me to reset the open project. Now when I go on rv.process.studio the example project is open with its example annotation timelines - and I can’t reset it, just change the video and delete every track manually. But then when I refresh the page the example project is there again…

Thank you for the great help! Léa

Am 11.06.2018 um 12:26 schrieb Onur Dogangönül notifications@github.com<mailto:notifications@github.com>:

Hi Léa, I tested your file and here's what I found:

It was possible for me to import and play the file. However, I just got a black blank screen with audio. I tried to figure out the difference between a working mp4 file and yours and I noticed that your mp4 container holds divx encoded video.

[screen shot 2018-06-11 at 17 57 41]https://user-images.githubusercontent.com/2547965/41242858-fab7a23a-6da0-11e8-9ca3-703afb11850c.png

This is what I got when opened with avidemux.

[screen shot 2018-06-11 at 17 46 18]https://user-images.githubusercontent.com/2547965/41242642-5dc2504c-6da0-11e8-8aba-0d6f7f310e32.png

Herehttps://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats I found a list of natively supported video/audio encodings in an mp4 container. It seems that divx would need a 3rd party plugin installed, but I have no experience with that. Would it be possible to convert/use e.g. H.264? I think it will work with H.264.


I don't see any still image nor I can play the video.

You could not play the video file as described above (blank screen+audio)? Then it could also be possible that the browser storage quota is too low. When importing a video file directly (that is: not loading via URL/YouTube/Vimeo) the browser saves the video file in an intern storage, which is of limited size. I also noticed inconsistent behavior among different browsers. So, you could try the following two options:

  1. Clear Application Storage

    • First make a backup of your current project via Project > Export Project > Export, so that you do not lose any data.
    • Then open the Developer Options in Chrome via More Tools > Developer Tools > Application Tab > Clear storage > Clear site data

[screen shot 2018-06-11 at 18 11 26]https://user-images.githubusercontent.com/2547965/41243813-801cb9e0-6da3-11e8-8906-d2229a5a4117.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/StudioProcess/rvp/issues/168#issuecomment-396303037, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AmCevZuag6vJq-FNKm2uI7t9JpwTffx0ks5t7po4gaJpZM4UYOEB.

— — Zürcher Hochschule der Künste Zurich University of the Arts — Léa Klaue Wissenschaftliche Mitarbeiterin Cast / Audiovisual Media Departement Design — Toni-Areal, Pfingstweidstrasse 96 Postfach, CH-8031 Zürich Telefon +41 79 387 50 26 — www.zhdk.chhttp://www.zhdk.ch www.zhdk.ch/cast

dinony commented 6 years ago

Hi,

Yes, when I upload the video via Chrome, I can play it, but have only sound and no video.

Ok, then forget about the storage quota details and resetting the project (described in the second part of my reply), since the problem is the divx video.

I think it will be too much of a hassle to convert everything to H.264… [...] And for this, it is important to enable the use of various formats. I also think about working with archive material that also carry older formats, so that might be an important topic to work on.

Yeah, I totally get your point. We will discuss the video format topic internally and I will get back to you!


Another thing that appeared was that it was impossible for me to reset the open project. Now when I go on rv.process.studio the example project is open with its example annotation timelines - and I can’t reset it, just change the video and delete every track manually. But then when I refresh the page the example project is there again…

Ok, this is strange. If you delete all tracks and refresh or revisit the web app in the same browser, it should definitely load the latest project state (=empty timeline).

Could you make sure that chrome is allowed to keep the local data (see image).

screen shot 2018-06-12 at 10 19 39

Thanks for reporting!!

leaklaue commented 6 years ago

Hi again Super, I adjusted the cookies in Chrome and now it seems to work the way it should. And many thanks for keeping me posted about the formats and the possibility to use my mp4 videos in near future! All the best Léa

Am 12.06.2018 um 04:28 schrieb Onur Dogangönül notifications@github.com<mailto:notifications@github.com>:

Hi,

Yes, when I upload the video via Chrome, I can play it, but have only sound and no video.

Ok, then forget about the storage quota details and resetting the project (described in the second part of my reply), since the problem is the divx video.

I think it will be too much of a hassle to convert everything to H.264… [...] And for this, it is important to enable the use of various formats. I also think about working with archive material that also carry older formats, so that might be an important topic to work on.

Yeah, I totally get your point. We will discuss the video format topic internally and I will come back to you!


Another thing that appeared was that it was impossible for me to reset the open project. Now when I go on rv.process.studio the example project is open with its example annotation timelines - and I can’t reset it, just change the video and delete every track manually. But then when I refresh the page the example project is there again…

Ok, this is strange. If you delete all tracks and refresh or revisit the web app in the same browser, it should definitely load the latest project state (=empty timeline).

Could you make sure that chrome is allowed to keep the local data (see image).

[screen shot 2018-06-12 at 10 19 39]https://user-images.githubusercontent.com/2547965/41278466-2d1eb180-6e2a-11e8-8ee4-77f174c9508b.png

Thanks for reporting!!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/StudioProcess/rvp/issues/168#issuecomment-396509309, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AmCevaLMSwpSn4BUEwYx39DnZlO6FEozks5t73vIgaJpZM4UYOEB.

— — Zürcher Hochschule der Künste Zurich University of the Arts — Léa Klaue Wissenschaftliche Mitarbeiterin Cast / Audiovisual Media Departement Design — Toni-Areal, Pfingstweidstrasse 96 Postfach, CH-8031 Zürich Telefon +41 79 387 50 26 — www.zhdk.chhttp://www.zhdk.ch www.zhdk.ch/cast