Comments (13)
I'm guessing from the error messages that you are using Microsoft Windows and Powershell. It's not clear exactly what commands you have tried, though. Just entering --key 1234:5678 into the shell as you indicate in your first two examples won't do anything useful. The method you show starting with dash-mpd-cli looks correct, but that's not the right command for using the container image.
Try a command of the form described in the documentation for running with podman, but add your --key arguments where the other arguments (like --xslt-stylesheet) are. If that doesn't work, I can't help you unless you specify the exact commandline that you used.
https://emarsden.github.io/dash-mpd-cli/container.html
from dash-mpd-cli.
I'm guessing from the error messages that you are using Microsoft Windows and Powershell. It's not clear exactly what commands you have tried, though. Just entering --key 1234:5678 into the shell as you indicate in your first two examples won't do anything useful. The method you show starting with dash-mpd-cli looks correct, but that's not the right command for using the container image.
Try a command of the form described in the documentation for running with podman, but add your --key arguments where the other arguments (like --xslt-stylesheet) are. If that doesn't work, I can't help you unless you specify the exact commandline that you used.
I have basicaly 7 keys but iknow only thos that i already provided are the one from audio and video.
this was the command:
podman run --rm --tty -v .:/content ghcr.io/emarsden/dash-mpd-cli --key 9fbfc75592a13fff99ece451a81379fe:b47a1508fe53550399e0a059eb531094 \ --key 0ef95d2d827734ab8d855aff73c6f7bb:7fd8c3c218261f9fa456f4cfbf2d152c \ --quality best https://my mpd link/.mpd
iknow something is missing idk what (i dont do the O part)
yes i use windows
from dash-mpd-cli.
The "" is for when you type a partial line; you put it at the end of a line to make things easier to read in a script, for example. If you're typing things directly into the terminal you can remove the two "" characters. Otherwise, that command looks correct.
from dash-mpd-cli.
Ah, my "\" was eaten. I meant remove the two "\" characters.
from dash-mpd-cli.
How do i know what key is for the subttitles? or is it just within the mpd and a quick question i'm not that good with all this but how would that look,with my example? To get the subs?
podman run --rm --tty -v .:/content ghcr.io/emarsden/dash-mpd-cli --key 9fbfc75592a13fff99ece451a81379fe:b47a1508fe53550399e0a059eb531094 --key 0ef95d2d827734ab8d855aff73c6f7bb:7fd8c3c218261f9fa456f4cfbf2d152c --quality best https://my mpd link/.mpd
I rather ask here before i open another issue
BTW the \ where indeed the problem
from dash-mpd-cli.
It depends on your MPD, but most subtitles are not encrypted and do not need a key.
To download subtitles, you'll need to include --write-subs
in the commandline (after --quality best
for example).
Otherwise, that commandline looks like it should work. Please paste the exact error (add -v
to the commandline to get more information) if it doesn't.
from dash-mpd-cli.
With the keys within the comandline and the write subs also tried with only the mpd alone
PS C:\Users\Mr.Fox> podman run --rm --tty -v .:/content ghcr.io/emarsden/dash-mpd-cli --muxer-preference mkv:mkvmerge --quality best --write-subs https://mylink.mpd -o file.srt
or
C:\Users\Mr.Fox> podman run --rm --tty -v .:/content ghcr.io/emarsden/dash-mpd-cli --muxer-preference mkv:mkvmerge --key 31e69f7874f7334d84ee2fb921fd305b:a76b9b3bde5a773f4ab2ce5215006148 --key f97792222bc83cbea98d7aa38f208acc:a511545c0e5b816c776aa2006301fa12 --key ba52c00c1b4f4294a4e0e87b7b7985b1:453c1d6f6192a95cfde8715bf1fae5ae --key 5dfc821baba4350db455f3a7b996e460:c80599a2c75de87e5fe2ff6869efb096 --key b4aa2ce59fa43f758249db318d78ccfe:21be03aec51f4e66c38477f2c79c0508 --key 6be26c8778c03afb9520e53f1d226c45:574551edaf755f9483fd82a01a61e2b7 --key 4508ffdfb8fc3d6287699fb16d2ff9bd:2f4d2a6b65e3f9ca37f8036390bf1c76 --quality best --write-subs https://mylink.mpd -o file.mkv
[2m] [#################################################>] Muxing audio and video06:59:43 INFO Muxer preference for mkv is ["mkvmerge"]
06:59:43 INFO Trying muxer mkvmerge
07:00:24 INFO Muxing with mkvmerge subprocess succeeded
07:00:24 INFO MP4Box stderr: IsoMedia import dashmpd-subs8PX4FUR.sub - track ID 1 - media type "subt:stpp"
Importing ISO File: |=============== | (76/100)
07:00:24 INFO Merged subtitles with MP4 container
It depends on your MPD, but most subtitles are not encrypted and do not need a key.
To download subtitles, you'll need to include
--write-subs
in the commandline (after--quality best
for example).Otherwise, that commandline looks like it should work. Please paste the exact error (add
-v
to the commandline to get more information) if it doesn't.
Jup what do i do wrong?
from dash-mpd-cli.
The first command is not going to work; it's asking to save audio/video content in a file with an extension corresponding to subtitles.
The second command looks OK, and from the parts you quoted it looks like it worked OK. It included the subtitles as a track in file.mkv, and they should hopefully be playable with a good player (try VLC for example). Why do you say something went wrong?
from dash-mpd-cli.
The first command is not going to work; it's asking to save audio/video content in a file with an extension corresponding to subtitles.
The second command looks OK, and from the parts you quoted it looks like it worked OK. It included the subtitles as a track in file.mkv, and they should hopefully be playable with a good player (try VLC for example). Why do you say something went wrong?
I will not be on my main computer this weekend i will test it later again. I got it to work yes and also playable on vlc but could only view 1min of the video then when i skipped along a bit further it din't play everything. It seems like the file din't want to play until the end i will further test the second command with something else and report back?
from dash-mpd-cli.
second command does not work bcs my file is only (final mkv) same error
[2m] [#################################################>] Muxing audio and video06:59:43 INFO Muxer preference for mkv is ["mkvmerge"] 06:59:43 INFO Trying muxer mkvmerge 07:00:24 INFO Muxing with mkvmerge subprocess succeeded 07:00:24 INFO MP4Box stderr: IsoMedia import dashmpd-subs8PX4FUR.sub - track ID 1 - media type "subt:stpp" Importing ISO File: |=============== | (76/100) 07:00:24 INFO Merged subtitles with MP4 container
164kb big
from dash-mpd-cli.
OK, mkvmerge is reporting success in muxing (merging audio + video streams) but it seems the muxing is not really working.
You might try using ffmpeg to mux, by adding to your commandline --muxer-preference mkv:ffmpeg
.
If that doesn't work you can send me the mpd URL (by email if it's private) and I can take a look at what's going wrong.
from dash-mpd-cli.
OK, mkvmerge is reporting success in muxing (merging audio + video streams) but it seems the muxing is not really working.
You might try using ffmpeg to mux, by adding to your commandline
--muxer-preference mkv:ffmpeg
.If that doesn't work you can send me the mpd URL (by email if it's private) and I can take a look at what's going wrong.
where can i send the email to? you din't mention the email address
from dash-mpd-cli.
Email: [email protected]
from dash-mpd-cli.
Related Issues (20)
- download speed HOT 3
- native decryption HOT 3
- Append token to request URL HOT 3
- How can I tell the program that I want to download several or all the audios? HOT 1
- How can I download MPD with the license URL? HOT 1
- HTTP Header referer cannot set when download segments HOT 5
- Invalid segments HOT 1
- Selecting the video quality HOT 2
- Ability to handle http errors: retrying, logging response HOT 8
- Powershell not able to access cookies HOT 1
- Should prefer 'main' track over alternate if same quality HOT 1
- Issue with Clearkey encoded audio HOT 2
- Stuck on [0s] [>-------------------------------------------------] Fetching DASH manifest HOT 1
- Audio not succesfully intergraded whit video HOT 10
- metadata HOT 5
- Incomplete protected videos HOT 5
- SmoothStreamingMedia HOT 1
- Incorrect video encoding HOT 1
- How to run this on UNRAID HOT 5
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-cli.