Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This quit working yesterday #21760

Closed
willy717 opened this issue Jul 12, 2019 · 0 comments
Closed

This quit working yesterday #21760

willy717 opened this issue Jul 12, 2019 · 0 comments

Comments

@willy717
Copy link

@willy717 willy717 commented Jul 12, 2019

Checklist

  • I'm asking a question
  • I've looked through the README and FAQ for similar questions
  • I've searched the bugtracker for similar questions including closed ones

Question

This batch file quit working yesterday with different format selected:
cd /d d:\Viddl
SET url="https://youtu.be/gKnhcmcvHV0"
SET dur="00:59:05"
ECHO.
FOR /F "delims==" %%A IN ('youtube-dl.exe --get-filename "%url%"') DO SET filename=%%A
FOR /F %%B IN ('youtube-dl.exe -g -f 93 "%url%"') DO (ffmpeg.exe -hide_banner -i "%%B" -c copy -t "%dur%" "%filename%")

REN "shep*.mp4" "%Date:/= % %Time::=.%.mp4"

Shows format not... available error
Trying ... -g -f best also does not work.   Strange that a -F shows unknown format.

Current Run of batch:
Microsoft Windows [Version 10.0.17763.615]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\Op960>d:

D:\>cd viddl

D:\VidDL>scn59

D:\VidDL>cd /d d:\Viddl

D:\VidDL>SET url="https://youtu.be/gKnhcmcvHV0"

D:\VidDL>SET  dur="00:59:05"

D:\VidDL>ECHO.


D:\VidDL>FOR /F "delims==" %A IN ('youtube-dl.exe --get-filename ""https://youtu.be/gKnhcmcvHV0""') DO SET filename=%A

D:\VidDL>SET filename=Shepherd's Chapel-gKnhcmcvHV0.mp4

D:\VidDL>FOR /F %B IN ('youtube-dl.exe -g -f best ""https://youtu.be/gKnhcmcvHV0""') DO (ffmpeg.exe -hide_banner -i "%B" -c copy -t ""00:59:05"" "Shepherd's Chapel-gKnhcmcvHV0.mp4" )

D:\VidDL>(ffmpeg.exe -hide_banner -i "https://r4---sn-qxo7rn7e.googlevideo.com/videoplayback?expire=1562984174&ei=juooXavuENPIiwTY4rroAQ&ip=139.60.62.234&id=gKnhcmcvHV0.1&itag=406&source=yt_live_broadcast&requiressl=yes&mm=44%2C29&mn=sn-qxo7rn7e%2Csn-qxoedn7e&ms=lva%2Crdu&mv=m&mvi=3&pl=20&initcwndbps=1812500&live=1&hang=1&noclen=1&mime=text%2Fmp4&gir=yes&mt=1562962461&fvip=4&keepalive=yes&c=WEB&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Clive%2Chang%2Cnoclen%2Cmime%2Cgir&sig=ALgxI2wwRQIgKHPuWnrnrPlL1PP5XK2K1XZKeWndHlZBazZVDAqiQ48CIQCS2wM3IyoYvwQ_CiUP5xYU0VI_GUmJz28FPsex8lQCQA%3D%3D&lsparams=mm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHylml4wRQIhAJqeic34aT8OG68_e6_yppprTt00t7GGrPW9j2FASYR5AiAD-ZJiD4SPjLBZa10VSciRg2nNQTUsZfpLIbZdNl6qfw%3D%3D&ratebypass=yes" -c copy -t ""00:59:05"" "Shepherd's Chapel-gKnhcmcvHV0.mp4" )
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000021c739c95c0] stream 0, missing mandatory atoms, broken header
[https @ 0000021c739ca9c0] HTTP error 416 Requested range not satisfiable
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'https://r4---sn-qxo7rn7e.googlevideo.com/videoplayback?expire=1562984174&ei=juooXavuENPIiwTY4rroAQ&ip=139.60.62.234&id=gKnhcmcvHV0.1&itag=406&source=yt_live_broadcast&requiressl=yes&mm=44%2C29&mn=sn-qxo7rn7e%2Csn-qxoedn7e&ms=lva%2Crdu&mv=m&mvi=3&pl=20&initcwndbps=1812500&live=1&hang=1&noclen=1&mime=text%2Fmp4&gir=yes&mt=1562962461&fvip=4&keepalive=yes&c=WEB&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Clive%2Chang%2Cnoclen%2Cmime%2Cgir&sig=ALgxI2wwRQIgKHPuWnrnrPlL1PP5XK2K1XZKeWndHlZBazZVDAqiQ48CIQCS2wM3IyoYvwQ_CiUP5xYU0VI_GUmJz28FPsex8lQCQA%3D%3D&lsparams=mm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHylml4wRQIhAJqeic34aT8OG68_e6_yppprTt00t7GGrPW9j2FASYR5AiAD-ZJiD4SPjLBZa10VSciRg2nNQTUsZfpLIbZdNl6qfw%3D%3D&ratebypass=yes':
  Metadata:
    major_brand     :
    minor_version   : 0
    compatible_brands:
  Duration: 149:13:53.68, bitrate: N/A
    Stream #0:0(und): Subtitle: mov_text (tx3g / 0x67337874)
Output #0, mp4, to 'Shepherd's Chapel-gKnhcmcvHV0.mp4':
Output file #0 does not contain any stream

D:\VidDL>REN "shep*.mp4" "Fri 07 12 2019 14.16.14.86.mp4"
The system cannot find the file specified.

D:\VidDL>youtube-dl -F https://youtu.be/gKnhcmcvHV0
[youtube] gKnhcmcvHV0: Downloading webpage
[youtube] gKnhcmcvHV0: Downloading video info webpage
[youtube] gKnhcmcvHV0: Downloading MPD manifest
[info] Available formats for gKnhcmcvHV0:
format code  extension  resolution note
140          m4a        audio only DASH audio  144k , m4a_dash container, mp4a.40.2@128k
160          mp4        256x144    144p  124k , avc1.42c00b, 30fps, video only
133          mp4        426x240    240p  258k , avc1.4d4015, 30fps, video only
134          mp4        640x360    360p  646k , avc1.4d401e, 30fps, video only
135          mp4        854x480    480p 1171k , avc1.4d401f, 30fps, video only
136          mp4        1280x720   720p 2326k , avc1.4d401f, 30fps, video only
386          mp4        unknown
387          mp4        unknown
406          mp4        unknown    (best)

D:\VidDL>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.