Comments (10)
Added support for webm files. There was a silent error when trying to parse the metadata that causes the file to not be loaded. Metadata for webm files is not shown but they can be played.
from vivict.
Video playback is limited by what the browser supports, and I don't think mkv playback is supported by any browser. Does the mp4 playback ok in vivict without the mkv? There could potentially also be issues with codec not being supported by browser.
Which browser are you using and what codec are the videos using?
from vivict.
That's awesome! Many thanks for the quick fix! +1
No prob!
Could you issue an error in the future whenever a non-compatible file is selected ? Would be better than doing nothing and leaving the user wonder what happens ...
I agree that would make sense, there is actually an issue for that: #21 . I don't see me having the time to fix that in the near future though.
Have you seen my comment above and do you have an idea if adding the VLC plugin or other Firefox addons would make all files open in vivict too if they are playable in the browser? It seems you said that files that Firefox cannot play can therefore not be opened in vivict. But is the reverse true, i.e. can all vivict open all files that play in the browser? If yes, if an addon/plugin makes a previously unplayable file now playable, does this mean that it also becomes automatically available in vivict? I mean is there a 1:1 relationship, meaning all (100%) files playable in the browser (regardless of playability out of the box or with addon-help) can be opened in vivict ?
Vivivct should be able to play any files that can play natively in the browser. I'm not sure if a plugin could make vivict able to play a file without any change to the vivict source code.
from vivict.
Hi @grusell Many thanks for your help! I am using an up2date Firefox (on Win10).
It seems you have identified the problem correctly. In my tests, there is a 100% correlation:
- If the video file is playable in Firefox, I can indeed play it in vivict (sorry I missed this!).
- If the video file is not playable in Firefox, I can't play it in vivict either.
MKV files don't seem to play in Firefox (that's a pity, because I remux all my videos to MKV).
MP4 files: some play in Firefox (and thus in vivict), some don't. Probably depends on the codec.
So what can I do ?
Is there any way to "teach" Firefox how to play the files ? Maybe with an addon or something ?
Or wouldn't this solve the problem either ?
Any workaround ?
from vivict.
Is there any way to "teach" Firefox how to play the files ? Maybe with an addon or something ?
I found two Firefox addons:
https://addons.mozilla.org/en-US/firefox/addon/the-media-player/
https://addons.mozilla.org/en-US/firefox/addon/local-media-player-for-you/
Is this absolutely useless or do you think it might be worth trying ?
There also was a VLC plugin for Firefox back in 2009 and 2014, but I assume it is deprecated now.
from vivict.
@grusell I think I may have found a workaround: I can remux my mkv files to webm files which are playable in Firefox out of the box (without any addons). I just tried, my webm files open in my Firefox and are playable. But when I go to https://vivictorg.github.io/vivict/ and click on the document icon to load the files, a popup window opens (as expected) to select the file. I then select the webm file, but nothing happens. The URL still points to https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8 and when I click on the play button, the video from this URL begins to play.
from vivict.
Hmm I see. I will ihave to investigate this.
from vivict.
Anything I can do to help investigate this ?
I managed to add mp4 files via the document icon. But I am unsuccessful so far in adding webm files (despite being playable in the browser). Example webm file. What happens when you try to add it ?
It would be helpful to at least get any sort or error message, because right now nothing happens (hence the issue title).
from vivict.
That's awesome! Many thanks for the quick fix! 👍
Could you issue an error in the future whenever a non-compatible file is selected ?
Would be better than doing nothing and leaving the user wonder what happens ...
Have you seen my comment above and do you have an idea if adding the VLC plugin or other Firefox addons would make all files open in vivict too if they are playable in the browser? It seems you said that files that Firefox cannot play can therefore not be opened in vivict. But is the reverse true, i.e. can all vivict open all files that play in the browser? If yes, if an addon/plugin makes a previously unplayable file now playable, does this mean that it also becomes automatically available in vivict? I mean is there a 1:1 relationship, meaning all (100%) files playable in the browser (regardless of playability out of the box or with addon-help) can be opened in vivict ?
from vivict.
I agree that would make sense, there is actually an issue for that: #21
👍
Vivivct should be able to play any files that can play natively in the browser.
I'm not sure if a plugin could make vivict able to play a file without any change to the vivict source code.
Ok, I'll try to experiment and will let you know if I can come to any solid conclusion about that. Thank you.
from vivict.
Related Issues (15)
- Add support for MPEG dash
- After selecting a new URL, need to select variant before new video shown
- Mp4box declaration in Mp4info.js needs to be changed HOT 3
- Add support for different framerates HOT 1
- Viewing of remote mp4 fails HOT 1
- Will the PSNR or SSIM measurements involved in the future? HOT 2
- Unable to load video in tool HOT 1
- Is it still in active development? HOT 4
- WHen opening an mp4 with an unsupported codec (ie hevc in firefox) no particular error message is given.
- Feature: Drag and drop HOT 5
- Readme: Details on how to view a video on local system HOT 2
- Why is there no support for H.265 videos?? HOT 7
- Option to specify input file upon launch? HOT 1
- Typo in README.md (startPosition) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vivict.