[FFmpeg-trac] #5811(avformat:reopened): live_start_index option doesn't work.
FFmpeg
trac at avcodec.org
Wed Dec 30 09:35:13 EET 2020
#5811: live_start_index option doesn't work.
------------------------------------+------------------------------------
Reporter: smalukav | Owner:
Type: defect | Status: reopened
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: hls | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by stevenliu):
Replying to [comment:9 nixklai]:
> Coming from the youtube-dl project, I still cannot figure out how to fix
this issue.
>
> youtube-dl already placed `-live_start_index` before `-i` options but it
stills starts at the point of execution for live streams. Values of option
`-live_start_index` such as `0`, `-36000` and `-180000` are tried but to
no avail.
>
> The following is the youtube-dl debug log (including ffmpeg output).
>
> {{{
> D:\>youtube-dl --external-downloader-args "-live_start_index -180000" -v
https://www.youtube.com/watch?v=orNc3NwAmHY --hls-use-mpegts --output
"%(title)s-%(id)s.ts"
> [debug] System config: []
> [debug] User config: []
> [debug] Custom config: []
> [debug] Command-line args: ['--external-downloader-args',
'-live_start_index -180000', '-v',
'https://www.youtube.com/watch?v=orNc3NwAmHY', '--hls-use-mpegts', '--
output', '%(title)s-%(id)s.ts']
How can i get the m3u8 link? i cannot get m3u8 list link as your way.
{{{
(base) bogon:ufbuild liuqi$ youtube-dl --external-downloader-args
"-live_start_index -180000" -v https://www.youtube.com/watch?v=orNc3NwAmHY
--hls-use-mpegts --output "%(title)s-%(id)s.ts"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--external-downloader-args',
'-live_start_index -180000', '-v',
'https://www.youtube.com/watch?v=orNc3NwAmHY', '--hls-use-mpegts', '--
output', '%(title)s-%(id)s.ts']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.12.09
[debug] Python version 3.7.4 (CPython) - Darwin-19.6.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg N-100475-gf1357274e9, ffprobe
N-100475-gf1357274e9, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] orNc3NwAmHY: Downloading webpage
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://r4---sn-
i3b7kns6.googlevideo.com/videoplayback?expire=1609335041&ei=oSzsX8eAFLj-
gAP2xrXQBQ&ip=156.236.120.141&id=o-ADkMEtrZuGdAyF1wHDGafJ37TyDH5KOVKZMT5A6QxvFa&itag=136&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278&source=youtube&requiressl=yes&mh=1B&mm=31%2C26&mn
=sn-i3b7kns6%2Csn-
npoe7nes&ms=au%2Conr&mv=m&mvi=4&pl=24&initcwndbps=511250&vprv=1&mime=video%2Fmp4&ns
=F4MXogtd9LysRC-
IsoxGFO8F&gir=yes&clen=903201271&dur=8916.099&lmt=1609295101449811&mt=1609313085&fvip=4&keepalive=yes&c=WEB&txp=5432434&n=dUyNbuEOd40-MZl8&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig
=AOq0QJ8wRQIhAMY1H9bJN-
b7MSFW76rqXjuXQb5kLz4Y5P8Es5XJEV4BAiBfgR34isOo7wVwhjB_CNZ7D3s3l8D-
LjzbxFrh3Hs2HQ%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig
=AG3C_xAwRQIhAInUG2MHzn5_tqcS2ngSyC8P4Op1W9Xp4Dav-JDMsT1CAiB0vE4amBCets-
B7KknuQvxIPKkr4Wiva37_uEXZ30pXQ%3D%3D&ratebypass=yes'
[download] Resuming download at byte 233512091
[download] Destination: 孕婦的生產心聲!_ 瑪瑪信箱《第89集》
-orNc3NwAmHY.ts.f136
[download] 26.6% of 861.36MiB at 641.81KiB/s ETA 16:49^C
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5811#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list