VideoHelp Forum
+ Reply to Thread
Results 1 to 11 of 11
Thread
  1. Hi. I am able to connect to a mpd server with ffmpeg using the correct header.
    Now I am connected I am getting this error, over and over...
    Code:
    [http @ 00000285f73f2780] HTTP error 400 Bad Request
    [dash @ 00000285f73db400] Failed to open fragment of playlist
    Failed to parse format-tag beginning with %08x$.m4s. Expected either a closing '$' character or a format-string like '%0[width]d', where width must be a single digit
    Does anyone know what this means?

    Here is the command I am using

    Code:
    ffmpeg -headers "Host: *hidden*" -i "*hidden*.mpd" -c copy -f mpegts pipe:
    I have tried adding the -re option, but that didn't do anything.

    Any help is apreciated,
    Chris
    Last edited by Chris91; 17th May 2021 at 15:02.
    Quote Quote  
  2. Originally Posted by Chris91 View Post

    Any help is apreciated,
    Chris
    Quote the original page URL then.........or no one can help.

    Plus your ffmpeg 'command' looks like garbage to me.

    And to DL an mpd, ffmpeg would be in the list of possibilities, but not the favourite to get the job done.
    Last edited by codehound; 17th May 2021 at 18:58.
    Quote Quote  
  3. Originally Posted by codehound View Post
    Originally Posted by Chris91 View Post

    Any help is apreciated,
    Chris
    Quote the original page URL then.........or no one can help.

    Plus your ffmpeg 'command' looks like garbage to me.
    Here is the site https://freefeds.com/video/67196/Discovery-Channel:US-TV-Channels.html

    Maybe it is "garbage" but I am having success with other sites that use m3u links with a similar command.
    I am not actually trying to download streams in the regular sense... I have created a little python app that finds the source stream on a web page and then streams back the video.

    Thanks.

    EDIT: It doesn't have to be with ffmpeg, but it would need to be with a command line utility that is available on linux and capeable of piping the output.
    Last edited by Chris91; 17th May 2021 at 19:15.
    Quote Quote  
  4. You will not download Live MPEG-DASH Stream.
    Quote Quote  
  5. If I run with debugging enabled I can see this...

    Code:
    [http @ 000001fb898f2500] HTTP error 400 Bad Request
    [dash @ 000001fb898db4c0] Failed to open fragment of playlist
    [dash @ 000001fb898db4c0] old fragment: cur[3326] min[6490] max[6490]
    Failed to parse format-tag beginning with %08x$.m4s. Expected either a closing '$' character or a format-string like '%0[width]d', where width must be a single digit
    [dash @ 000001fb898db4c0] DASH request for url 'http://p-cdn3-807-cg14-linear-cbd46b77.movetv.com/15807/live/DISC/1f818bdeb7b911eb92c60025b5471217/video/vid06/$Number%08x$.m4s', offset 0
    [http @ 000001fb898f2500] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy,data'
    [tcp @ 000001fb89b08340] Original list of addresses:
    [tcp @ 000001fb89b08340] Address 8.238.4.252 port 80
    [tcp @ 000001fb89b08340] Address 8.238.4.124 port 80
    [tcp @ 000001fb89b08340] Address 8.238.57.124 port 80
    [tcp @ 000001fb89b08340] Interleaved list of addresses:
    [tcp @ 000001fb89b08340] Address 8.238.4.252 port 80
    [tcp @ 000001fb89b08340] Address 8.238.4.124 port 80
    [tcp @ 000001fb89b08340] Address 8.238.57.124 port 80
    [tcp @ 000001fb89b08340] Starting connection attempt to 8.238.4.252 port 80
    [tcp @ 000001fb89b08340] Successfully connected to 8.238.4.252 port 80
    [http @ 000001fb898f2500] request: GET /15807/live/DISC/1f818bdeb7b911eb92c60025b5471217/video/vid06/$Number%08x$.m4s HTTP/1.1
    User-Agent: Lavf/59.0.101
    Accept: */*
    Connection: close
    Icy-MetaData: 1
    Host: p-cdn3-1-606-cg15-linear-cbd46b77.movetv.com
    Surely the "$Number%08x$" part is incorrect? Shouldn't that be, for example...
    Code:
    https://p-cdn3-1-606-cg15-linear-cbd46b77.movetv.com/15807/live/DISC/1f818bdeb7b911eb92c60025b5471217/video/vid06/000019f3.m4s
    ?
    Quote Quote  
  6. Member
    Join Date
    Jan 2021
    Location
    Argentina
    Search PM
    Originally Posted by Chris91 View Post
    Hi. I am able to connect to a mpd server with ffmpeg using the correct header.
    Now I am connected I am getting this error, over and over...
    Code:
    [http @ 00000285f73f2780] HTTP error 400 Bad Request
    [dash @ 00000285f73db400] Failed to open fragment of playlist
    Failed to parse format-tag beginning with %08x$.m4s. Expected either a closing '$' character or a format-string like '%0[width]d', where width must be a single digit
    Does anyone know what this means?
    The stream is protected by DRM
    Quote Quote  
  7. Originally Posted by lfer94 View Post
    Originally Posted by Chris91 View Post
    Hi. I am able to connect to a mpd server with ffmpeg using the correct header.
    Now I am connected I am getting this error, over and over...
    Code:
    [http @ 00000285f73f2780] HTTP error 400 Bad Request
    [dash @ 00000285f73db400] Failed to open fragment of playlist
    Failed to parse format-tag beginning with %08x$.m4s. Expected either a closing '$' character or a format-string like '%0[width]d', where width must be a single digit
    Does anyone know what this means?
    The stream is protected by DRM
    Are the key looking strings in the manifest not the ones needed to decrypt the stream?
    Quote Quote  
  8. Member
    Join Date
    Jan 2021
    Location
    Argentina
    Search PM
    Originally Posted by Chris91 View Post
    Originally Posted by lfer94 View Post
    Originally Posted by Chris91 View Post
    Hi. I am able to connect to a mpd server with ffmpeg using the correct header.
    Now I am connected I am getting this error, over and over...
    Code:
    [http @ 00000285f73f2780] HTTP error 400 Bad Request
    [dash @ 00000285f73db400] Failed to open fragment of playlist
    Failed to parse format-tag beginning with %08x$.m4s. Expected either a closing '$' character or a format-string like '%0[width]d', where width must be a single digit
    Does anyone know what this means?
    The stream is protected by DRM
    Are the key looking strings in the manifest not the ones needed to decrypt the stream?
    Unfortunately, no. You need a license server url to decrypt in real time, but ffmpeg doesn't support that.
    Quote Quote  
  9. Are there any utilities that do support that?
    Quote Quote  
  10. Member
    Join Date
    Jan 2021
    Location
    Argentina
    Search PM
    I'm not sure. Or at least I don't know any.
    Quote Quote  
  11. Average video editor Sviests's Avatar
    Join Date
    Sep 2018
    Location
    USA,Sweden
    Search Comp PM
    Originally Posted by Chris91 View Post
    Are there any utilities that do support that?
    No. License url is only for realtime playback in a browser using dash.js , to play a file locally on e.g. desktop,you will need to obtain decryption key.

    Manifest:
    Code:
    https://p-cdn3-1-606-cg15-linear-cbd46b77.movetv.com/clipslist/1102/20210524T060000Z/20210524T090000Z.mpd
    Key:
    Code:
    1810778124fe80e41f50a47fe161881b
    This is for local play/download tho
    Last edited by Sviests; 24th May 2021 at 06:49.
    Quote Quote  



Similar Threads

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