Comments (7)
I was able to at least generate a playable vod mpd and its resource. :)
# vod - not segmented
packager input=/dkctf.mp4,stream=audio,output=dkctfa.mp4 input=/dkctf.mp4,stream=video,output=dkctfv.mp4 --profile on-demand --mpd_output dkctf.mpd
from shaka-packager.
Cool. Yes, there is actually an example for vod 1 input to 1 mpd.
packager \
input=sintel.mp4,stream=audio,output=sintel_audio.mp4 \
input=sintel.mp4,stream=video,output=sintel_video.mp4 \
--profile on-demand \
--mpd_output sintel_vod.mpd
As for (1), you'll need to use ffmpeg to transcode the input first.
edash-packager does not support rtmp yet. A rtmp protocol parser implementation similar to https://github.com/google/edash-packager/blob/master/packager/media/file/udp_file_posix.cc needs to be implemented. You are welcomed to contribute to this project if you know how to do it :)
For input (file in loop), are you saying playing the same file in loop? That is not really live. But You can generate a simulated "live" stream from the file using vlc: (I don't know if you can do the same thing with ffmpeg)
vlc input.mp4 --sout '#transcode{vcodec=h264,scale=Auto}:udp{mux=ts,dst=239.255.0.1:1234}'
Then you can package it, e.g.
packager 'input=udp://239.255.0.1:1234,stream=audio,init_segment=live-audio.mp4,segment_template=live-audio-$Number$.mp4' \
'input=udp://239.255.0.1:1234,stream=video,init_segment=live-video.mp4,segment_template=live-video-$Number$.mp4' \
--profile live --mpd_output live.mpd
from shaka-packager.
Thanks @kqyang , to implement rtmp I have to overcome two challenges:
- learn rtmp better, maybe get some understanding from nginx-rtmp.
- learn and apply c++
Anyway, thanks a lot and I'll try to find time to, at least, try it. ;)
from shaka-packager.
Thanks.
from shaka-packager.
Ooops, I forgot to reply to the other comments you have on distro package. No, that is not on purpose. I didn't create it just because I am not familiar with package distribution under Linux. It will be awesome if you can contribute your script and advise how to use it.
from shaka-packager.
@kqyang I'm gonna create a PR with the Dockerfile and some advices on how to use (README)
from shaka-packager.
Cool. Thanks.
from shaka-packager.
Related Issues (20)
- NALU length exceeds stream size HOT 2
- error: generic:18 Failed to write playlist HOT 3
- Shaka packager design in document HOT 3
- `ninja -C build pssh-box.py` not working HOT 5
- Packager Adaptation Set Switching values point to representation IDs instead of Adaptation Set IDs. HOT 1
- Error when using long path in input/output (Windows) HOT 4
- Shaka-packager's subtitle output and timing is broken for real-time flows when the input has "gaps/periods" without subtitle streams. HOT 3
- Packager Adaptation Set Switching doesn't work with forced command-line ordering HOT 1
- [DASH] Add content steering support.
- audioSamplingRate in representation is "0" for high sample rates HOT 2
- helpxml removed? HOT 1
- Macro DISALLOW_COPY_AND_ASSIGN include/file.h HOT 5
- For Packaging webm to mpd i am getting (MUXER_FAILURE): Error adding sample to segment: Cluster::AddFrame failed
- Packager doesn't work with macOS Big Sur 11.6 HOT 3
- Local/ Downloaded encrypted videos using Shaka Packager doesn't work on iOS. HOT 1
- playing cathup HOT 1
- How To Aquire Widevine Encryption Keys? HOT 1
- scte-35 HOT 4
- Immersive Audio Model and Formats (IAMF) support
- #EXT-PROGRAMME-DATE-TIME to the manifest
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 shaka-packager.