Comments (5)
Actually I found a way to accomplish this by using audio_only()
and video_only()
, but this requires two requests to the manifest file. I do not know if reqwest
caches requests to the same file.
from dash-mpd-rs.
You can use DashDownloader::new(url).keep_audio().keep_video()
. This doesn't in fact disable the muxing step but will keep the audio and video as separate files (assuming they are separate content streams).
from dash-mpd-rs.
You can use
DashDownloader::new(url).keep_audio().keep_video()
. This doesn't in fact disable the muxing step but will keep the audio and video as separate files (assuming they are separate content streams).
If I were to use keep_audio()
and keep_video()
, is there a way to fetch paths to the files?
EDIT:
Seems the paths are only printed to stdout.
Lines 2048 to 2057 in 2135788
from dash-mpd-rs.
Indeed, there's no API to retrieve that information. Perhaps it would be better to change the interface to something like keep_audio_as(audio-pathname)
.
from dash-mpd-rs.
Indeed, there's no API to retrieve that information. Perhaps it would be better to change the interface to something like
keep_audio_as(audio-pathname)
.
Created a draft PR for this: #26.
from dash-mpd-rs.
Related Issues (20)
- Deserialization of ContentProtection? HOT 1
- AdaptationSet.Role node isn't parsed HOT 1
- 0.8 regression: namespace error : Namespace prefix xsi for schemaLocation on MPD is not defined HOT 4
- reduce default dependencies HOT 1
- maybe consider updating deserializer (parser) and adding serializer for datetime fields to get micro/nanos precision HOT 2
- Add derived PartialEq to data structures HOT 1
- MPD Serialization HOT 2
- Missing attributes for BaseURL HOT 1
- Problems with the trust-dns feature HOT 1
- Add serde attribute rename="Location" to MPD.locations field HOT 1
- Interface to MPD XML-rewriting filters/plugins
- Scripting interface to implement muxers
- Support for dynamic MPD files (for live streaming) HOT 2
- f64 infinity should be serialized as INF instead of inf HOT 2
- Allow async HTTP HOT 9
- with 0.14.8 I can no longer build on mac m1 HOT 2
- Have bitstreamSwitching and BitstreamSwitching properties in SegmentTemplate HOT 2
- `fetch` feature pulls in tokio
- Make reqwest features optional HOT 4
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 dash-mpd-rs.