dash-mpd-cli
dash-mpd-cli copied to clipboard
Error 406 (Not Acceptable) on fetching the mpd file.
I got stuck on the first step getting the Dash manifest
% podman run --rm -v .:/content ghcr.io/emarsden/dash-mpd-cli -v --enable-live-streams \
"path/to/mpd.mpd?<additional_token_and_param>" -o foo.mp4
08:08:22 INFO Fetching the DASH manifest
08:08:22 ERROR Download failed: network error "requesting DASH manifest: reqwest::Error
{ kind: Status(406), url: \"<url>\" }"
Any suggestion how this can be resolved? I tried to override the header with -H 'Accept: */*', but it didn't resolve the issue.
You could try modifying the user-agent header with the --user-agent commandline option. Also make sure the manifest is still accessible in your browser; sometimes the token is very short-lived.