VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Member
    Join Date
    Oct 2016
    Location
    argentina
    Search PM
    Hello! I'm having trouble downloading this freely available video, which is embedded here:
    https://lumiton.ar/en/lumitontv/benito-cerati-en-lumiton/
    It is hosted on vimeo. This is my command line:
    Code:
    ytdlp.exe --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0" --referer "https://player.vimeo.com/video/917904471" --cookies-from-browser firefox "https://vod-adaptive-ak.vimeocdn.com/exp=1715993828~acl=%2Ff2282632-3979-4aa9-8568-c6ebb1d1201a%2F%2A~hmac=8e821404ac7a675528e3103abcc4a785ee84d44d705caa9eb40662f77041d944/f2282632-3979-4aa9-8568-c6ebb1d1201a/sep/video/659ebaed,abb334cd,afaa4c83,c58d3107,caf3c3fe/audio/5a02d335,ba03271e,f3b86da2/master.mpd"
    And I've also tried this:
    Code:
    >ytdlp.exe --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0" --referer "https://player.vimeo.com/" --cookies-from-browser firefox "https://vod-adaptive-ak.vimeocdn.com/exp=1715993828~acl=%2Ff2282632-3979-4aa9-8568-c6ebb1d1201a%2F%2A~hmac=8e821404ac7a675528e3103abcc4a785ee84d44d705caa9eb40662f77041d944/f2282632-3979-4aa9-8568-c6ebb1d1201a/sep/video/659ebaed,abb334cd,afaa4c83,c58d3107,caf3c3fe/audio/5a02d335,ba03271e,f3b86da2/master.mpd"
    In both cases I get the same response:
    Code:
    [Cookies] Extracting cookies from firefox
    [Cookies] Extracted 2468 cookies from firefox
    [generic] master: Requesting header
    WARNING: [generic] Falling back on generic information extractor.
    [generic] master: Downloading webpage
    [generic] master: Extracting information
    [info] master: Downloading 1 format(s): video-c58d3107+audio-f3b86da2
    ERROR: unable to download video data: HTTP Error 403: Forbidden
    What am I doing wrong?
    Quote Quote  
  2. Originally Posted by antik85 View Post
    Hello! I'm having trouble downloading this freely available video, which is embedded here:
    https://lumiton.ar/en/lumitontv/benito-cerati-en-lumiton/
    It is hosted on vimeo. This is my command line:
    Code:
    ytdlp.exe --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0" --referer "https://player.vimeo.com/video/917904471" --cookies-from-browser firefox "https://vod-adaptive-ak.vimeocdn.com/exp=1715993828~acl=%2Ff2282632-3979-4aa9-8568-c6ebb1d1201a%2F%2A~hmac=8e821404ac7a675528e3103abcc4a785ee84d44d705caa9eb40662f77041d944/f2282632-3979-4aa9-8568-c6ebb1d1201a/sep/video/659ebaed,abb334cd,afaa4c83,c58d3107,caf3c3fe/audio/5a02d335,ba03271e,f3b86da2/master.mpd"
    And I've also tried this:
    Code:
    >ytdlp.exe --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0" --referer "https://player.vimeo.com/" --cookies-from-browser firefox "https://vod-adaptive-ak.vimeocdn.com/exp=1715993828~acl=%2Ff2282632-3979-4aa9-8568-c6ebb1d1201a%2F%2A~hmac=8e821404ac7a675528e3103abcc4a785ee84d44d705caa9eb40662f77041d944/f2282632-3979-4aa9-8568-c6ebb1d1201a/sep/video/659ebaed,abb334cd,afaa4c83,c58d3107,caf3c3fe/audio/5a02d335,ba03271e,f3b86da2/master.mpd"
    In both cases I get the same response:
    Code:
    [Cookies] Extracting cookies from firefox
    [Cookies] Extracted 2468 cookies from firefox
    [generic] master: Requesting header
    WARNING: [generic] Falling back on generic information extractor.
    [generic] master: Downloading webpage
    [generic] master: Extracting information
    [info] master: Downloading 1 format(s): video-c58d3107+audio-f3b86da2
    ERROR: unable to download video data: HTTP Error 403: Forbidden
    What am I doing wrong?
    Don't Remove this portion from .mpd -> ?base64_init=1&query_string_ranges=1 and try again


    Code:
    Tools>yt-dlp.exe "https://vod-adaptive-ak.vimeocdn.com/exp=1716028582~acl=%2Ff2282632-3979-4aa9-8568-c6ebb1d1201a%2F%2A~hmac=417b6afd51f0aabe21aa5c2801840cce8118a42b94019de16933f12709246138/f2282632-3979-4aa9-8568-c6ebb1d1201a/sep/video/659ebaed,abb334cd,afaa4c83,c58d3107,caf3c3fe/audio/5a02d335,ba03271e,f3b86da2/master.mpd?base64_init=1&query_string_ranges=1"
    [generic] Extracting URL: https://vod-adaptive-ak.vimeocdn.com/exp=1716028582~acl=%2Ff2282632-3979-4aa9-8568-c6ebb1d1201a%2...uery_string_ranges=1
    [generic] master: Downloading webpage
    WARNING: [generic] Falling back on generic information extractor
    [generic] master: Extracting information
    [info] master: Downloading 1 format(s): video-c58d3107+audio-f3b86da2
    [dashsegments] Total fragments: 546
    [download] Destination: master [master].fvideo-c58d3107.mp4
    [download]   2.5% of ~   1.65GiB at    4.59MiB/s ETA 06:07 (frag 14/546)
    ERROR: Interrupted by user
    Quote Quote  
  3. Member
    Join Date
    Oct 2016
    Location
    argentina
    Search PM
    Fantastic, it worked great! Thanks so much!
    Quote Quote  
  4. Member
    Join Date
    Oct 2016
    Location
    argentina
    Search PM
    Originally Posted by LittleSoldier View Post
    Don't Remove this portion from .mpd -> ?base64_init=1&query_string_ranges=1 and try again


    Code:
    Tools>yt-dlp.exe "https://vod-adaptive-ak.vimeocdn.com/exp=1716028582~acl=%2Ff2282632-3979-4aa9-8568-c6ebb1d1201a%2F%2A~hmac=417b6afd51f0aabe21aa5c2801840cce8118a42b94019de16933f12709246138/f2282632-3979-4aa9-8568-c6ebb1d1201a/sep/video/659ebaed,abb334cd,afaa4c83,c58d3107,caf3c3fe/audio/5a02d335,ba03271e,f3b86da2/master.mpd?base64_init=1&query_string_ranges=1"
    [generic] Extracting URL: https://vod-adaptive-ak.vimeocdn.com/exp=1716028582~acl=%2Ff2282632-3979-4aa9-8568-c6ebb1d1201a%2...uery_string_ranges=1
    [generic] master: Downloading webpage
    WARNING: [generic] Falling back on generic information extractor
    [generic] master: Extracting information
    [info] master: Downloading 1 format(s): video-c58d3107+audio-f3b86da2
    [dashsegments] Total fragments: 546
    [download] Destination: master [master].fvideo-c58d3107.mp4
    [download]   2.5% of ~   1.65GiB at    4.59MiB/s ETA 06:07 (frag 14/546)
    ERROR: Interrupted by user
    May I ask, I have added
    Code:
    --embed-chapters --embed-metadata
    , but for some reason the chapters are not being added to the downloaded video. Do you know why? That vimeo video has chapters. I tried the same command with a youtube video and I could get the chapters, but for some reason it is not working for this vimeo video .

    Edit: I could resolve it, here it goes. My theory (I'm quite newbie in this) is that when you grab a mpd, you can't get the chapters. Instead, it is needed the vimeo link, so this is what I did:
    Code:
    yt-dlp --merge-output-format mkv --embed-chapters --embed-metadata --referer "https://lumiton.ar/en/lumitontv/benito-cerati-en-lumiton/" "https://player.vimeo.com/video/917904471?dnt=1&app_id=122963&controls=2&hd=1&autohide=1&color=white&modestbranding=1&showinfo=0"
    With this, the .meta file with the chapters got downloaded. But yet, I got this error:
    Code:
    ERROR: Postprocessing: file:Benito Cerati | Vilo Vinilo [917904471].meta: Cannot allocate memory
    So I opened the .meta file, and here's the problem:
    Code:
    ;FFMETADATA1
    [CHAPTER]
    TIMEBASE=1/1000
    START=0
    END=362000
    title=Intro
    [CHAPTER]
    TIMEBASE=1/1000
    START=362000
    END=13000
    title=Agujero *****
    [CHAPTER]
    TIMEBASE=1/1000
    START=13000
    END=694000
    title=Futuro incógnito
    [CHAPTER]
    TIMEBASE=1/1000
    START=694000
    END=1017000
    title=Buenos dias amor
    [CHAPTER]
    TIMEBASE=1/1000
    START=1017000
    END=1321000
    title=Julio
    [CHAPTER]
    TIMEBASE=1/1000
    START=1321000
    END=1595000
    title=No sé por qué
    [CHAPTER]
    TIMEBASE=1/1000
    START=1595000
    END=1872000
    title=La luz mala
    [CHAPTER]
    TIMEBASE=1/1000
    START=1872000
    END=2192000
    title=Cemento
    [CHAPTER]
    TIMEBASE=1/1000
    START=2192000
    END=2644000
    title=La tercera es la vencida
    [CHAPTER]
    TIMEBASE=1/1000
    START=2644000
    END=2916000
    title=No soy un extraño
    [CHAPTER]
    TIMEBASE=1/1000
    START=2916000
    END=3267000
    title=Santa fe
    The first three chapters have inconsistent start and end points. It is very likely to be a problem of yt-dlp, or some plugin of it (https://github.com/yt-dlp/yt-dlp/issues/5308).
    Anyway, I corrected the .meta file:
    Code:
    ;FFMETADATA1
    [CHAPTER]
    TIMEBASE=1/1000
    START=0
    END=13000
    title=Intro
    [CHAPTER]
    TIMEBASE=1/1000
    START=13000
    END=362000
    title=Agujero *****
    [CHAPTER]
    TIMEBASE=1/1000
    START=362000
    END=694000
    title=Futuro incógnito
    [CHAPTER]
    TIMEBASE=1/1000
    START=694000
    END=1017000
    title=Buenos dias amor
    [CHAPTER]
    TIMEBASE=1/1000
    START=1017000
    END=1321000
    title=Julio
    [CHAPTER]
    TIMEBASE=1/1000
    START=1321000
    END=1595000
    title=No sé por qué
    [CHAPTER]
    TIMEBASE=1/1000
    START=1595000
    END=1872000
    title=La luz mala
    [CHAPTER]
    TIMEBASE=1/1000
    START=1872000
    END=2192000
    title=Cemento
    [CHAPTER]
    TIMEBASE=1/1000
    START=2192000
    END=2644000
    title=La tercera es la vencida
    [CHAPTER]
    TIMEBASE=1/1000
    START=2644000
    END=2916000
    title=No soy un extraño
    [CHAPTER]
    TIMEBASE=1/1000
    START=2916000
    END=3267000
    title=Santa fe
    And muxed it with ffmpeg:
    Code:
    ffmpeg -i "D:\Benito Cerati | Vilo Vinilo [917904471].mkv" -i "D:\Benito Cerati | Vilo Vinilo [917904471].meta" -map_metadata 1 -codec copy OUTPUT.mkv
    Finally, everything went ok
    Last edited by antik85; 19th May 2024 at 19:43. Reason: I could resolve it myself.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!