emarsden / dash-mpd-cli

Download media content from a DASH-MPEG or DASH-WebM MPD manifest
https://emarsden.github.io/dash-mpd-cli/
MIT License
331 stars 34 forks source link

Can't access video file via Podman #90

Closed shoval6 closed 1 month ago

shoval6 commented 1 month ago

Hi,

This is the first time I'm using Podman and containers (windows 10). In PowerShell I run : podman machine start (optional step, only required on Windows and MacOS) podman run --rm -v .:/content ghcr.io/emarsden/dash-mpd-cli -v -o foo.mp4

Screenshot_1

After the process, I cant access to the content folder where the file is supposed to be there. There is no container that running, just the image is exist. In addition, when i tried to run a container from the image the status always is 'exited'. I tried some solutions with chatgpt , but nothing works.

Thanks.

emarsden commented 1 month ago

Several issues here:

shoval6 commented 1 month ago

Thank you for the fast reply. Just to make sure, I have one user on pc as Administrator , I need to create a normal one and run PowerShell without Administrator permissions ? Can you explain practically how to access the content folder and copy the file to my computer ? I saw the warning line about the DRM, there is an option to get the decryption keys ?

Thanks again.

emarsden commented 1 month ago

Creating a normal (non-Administrator) account is recommended on Windows to help protect you from malicious applications you might download. That's not directly relevant to your problem however.

Obtaining DRM keys is possibly illegal in certain countries, and isn't something we can discuss here. You may like to read the information on the forums at videohelp.com.

The other problem is that you should start PowerShell in one of your user directories, that you can write to. After starting PowerShell, type something like

cd c:/users/Administrator/Video

If you aren't able to do that, I recommend you find a tutorial on running commandline applications in Windows.

shoval6 commented 1 month ago

I tried but the same problem happens. After downloading the video , the container is deleted. I tried to create another container from the same image but the status is "exited" and from that point you can't do nothing. Screenshot_2 Screenshot_3

emarsden commented 1 month ago

The container is supposed to stop after having downloaded the content; all this is expected. You are supposed to have an output MP4 file in the current directory. However, you are testing with a manifest that has DRM, and this may interfere with proper operation.

I suggest you test with a DASH manifest without DRM, here for example.

https://vod-dash-ww.live.cf.md.bbci.co.uk/usp/auth/vod/piff_abr_full_hd/87c69e-p0hxfjn6/vf_p0hxfjn6_aa08cd7d-34cf-4985-a4f6-ccb27aedf662.ism/pc_hd_abr_v2_dash_master.mpd?Expires=1727874012&Signature=MlyHeom06PqaqtwVPXkFfJcvHn8i0E1Sh0vuEqhu4w3isQTvpJ7gAj2TaZy1i91Lmyl80TE6l9I7Xh4NqsaOdBg6eBNwJWAxOxgkyby62IVf0Ceo00vDi2yoqUeMiFHYzRAqroIMMkqkf-azUZ55-fUklWtwX8NeB7C7k7XKo0BqiKy1ISmeBut5duiw7E~u94WtEP41~kmXcXLWmv5IQUpN91HyLp-x8MWtBXU8HzgjkRS6uNlufcTB5lRksjN4dS7fj0tQoPYbKy6KSwq7QxgPCtGUdOMerJFBUJPBhqcGpTTOw9SiIR7JtQPYjB3Bml4QUOG5fO9DlCFw0rsEvg__&Key-Pair-Id=K2VWLYKQ4HU1FJ