jronallo / abrizer Goto Github PK
View Code? Open in Web Editor NEWCreates MPEG-DASH and HLS streams from a video file.
License: MIT License
Creates MPEG-DASH and HLS streams from a video file.
License: MIT License
I've included a height and width for adaptive bitrate formats, but
what I really mean is the maximum height and width that's provided for
those formats. It might be useful to have those max (and maybe min) values available?
See an example canvas here: https://gist.github.com/jronallo/b455a5ddab2ce4b28d55c7708603f85a
Manifests for DASH and HLS can include captions and subtitles. For instance HLS can have CEA-708 captions within the MPEG-2 video stream. A WebVTT file can also be pointed to from a DASH or HLS manifest. If there are sidecar captions (say WebVTT) in a seeAlso you won't need to use those sidecar captions if they're already included in the DASH or HLS manifest and you are using a video player than can use these captions. Including both the DASH/HLS manifest captions and the seeAlso captions to a player can cause problems or doubling up in controls.
Solution could be to have a way to show that the DASH or HLS stream includes captions. Or the shim to a player could first check whether the stream has captions and if not use the seeAlso captions.
I haven't included duration for each format, though there would be slight variations. I don't know how the duration of the canvas would be reconciled with the duration of each individual item. Might just be close enough to not matter.
See an example canvas here: https://gist.github.com/jronallo/b455a5ddab2ce4b28d55c7708603f85a
I'm uncertain how with the seeAlso WebVTT captions I could say that they are captions rather than subtitles, descriptions, or chapters. Would it be possible to add a "kind" field that maps directly to an HTML5 track element attribute? Otherwise it could be ambiguous what the proper use for a WebVTT (or other captions format) file is. Players will sometimes have different controls for closed captions and subtitles.
See an example canvas here: https://gist.github.com/jronallo/b455a5ddab2ce4b28d55c7708603f85a
For the IIIF canvas output how would you add an image service?
I'd eventually like to have an image service that can return frames
from the video, but for now I've just included a single static poster
image as a thumbnail. I'm not sure how I'd provide a service like that
yet, though I had prototyped something in my image server. One way to
start with creating an image service that just provides full images
for the various sizes that are provided with the various adaptations.
Or could a list of poster image choices with width & height just be
provided somehow? I'm not sure what an info.json would look like for
non-tiled images. Are there any Image API examples out in the wild
that only provide a few static images?
See an example canvas here: https://gist.github.com/jronallo/b455a5ddab2ce4b28d55c7708603f85a
I'm receiving this error during when I start the vagrant box
TASK [bento4 : unzip bento4] ***************************************************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to find handler for \"/root/bento4.zip\". Make sure the required command to extract the file is installed. Command \"unzip\" not found. Command \"/bin/gtar\" could not handle archive."}
to retry, use: --limit @/vagrant/ansible/development-playbook.retry
PLAY RECAP *********************************************************************
localhost : ok=60 changed=40 unreachable=0 failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
Start with a config file that lists out the adaptations for each aspect ratio.
How would I also include an audio file alongside a video? Are all the
items expected to be a video and the same content? Would it be alright
to also add an audio file or two to the items? My use case is that I
have a lot of video oral histories. Since they're mostly talking heads
some may prefer to just listen to the audio than to play the video.
How would I say that this is the audio content for the video?
See an example canvas here: https://gist.github.com/jronallo/b455a5ddab2ce4b28d55c7708603f85a
Avoid this warning:
No pixel format specified, yuv422p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
Example: https://amiaopensource.github.io/ffmprovisr/index.html#csv-ydif
ffprobe -f lavfi -i movie=input_file,signalstats -show_entries frame=pkt_pts_time:frame_tags=lavfi.signalstats.YDIF -of csv
Several video players allow for preview thumbnails over the time rail
via a metadata WebVTT file that references thumbnail sprites with
media fragments. Is there any way to expose this kind of metadata
file on a canvas to where it is clear what the intended use of the
file is? Is this a service?
List of some players that support this already: https://github.com/jronallo/video_sprites#players
See an example canvas here: https://gist.github.com/jronallo/b455a5ddab2ce4b28d55c7708603f85a
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.