mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2026-03-02 19:17:00 -05:00
support download of webm videos from Youtube #76
Closed
opened 2026-02-20 22:24:53 -05:00 by deekerman
·
7 comments
No Branch/Tag specified
master
pull/30733/head
gh-pages
df-fmt-ext-patch
dlp-fifa-backport
df-test-cleanup
pull/29816/head
download-server
totalwebcasting
rtmp_test
2024.07.11-nightly
2021.12.17
2021.06.06
2021.05.16
2021.04.26
2021.04.17
2021.04.07
2021.04.01
2021.03.31
2021.03.25
2021.03.14
2021.03.03
2021.03.02
2021.02.22
2021.02.10
2021.02.04.1
2021.02.04
2021.01.24.1
2021.01.24
2021.01.16
2021.01.08
2021.01.03
2020.12.31
2020.12.29
2020.12.26
2020.12.22
2020.12.14
2020.12.12
2020.12.09
2020.12.07
2020.12.05
2020.12.02
2020.11.29
2020.11.26
2020.11.24
2020.11.21.1
2020.11.21
2020.11.19
2020.11.18
2020.11.17
2020.11.12
2020.11.01.1
2020.11.01
2020.09.20
2020.09.14
2020.09.06
2020.07.28
2020.06.16.1
2020.06.16
2020.06.06
2020.05.29
2020.05.08
2020.05.03
2020.03.24
2020.03.08
2020.03.06
2020.03.01
2020.02.16
2020.01.24
2020.01.15
2020.01.01
2019.12.25
2019.11.28
2019.11.22
2019.11.05
2019.10.29
2019.10.22
2019.10.16
2019.09.28
2019.09.12.1
2019.09.12
2019.09.01
2019.08.13
2019.08.02
2019.07.30
2019.07.27
2019.07.16
2019.07.14
2019.07.12
2019.07.02
2019.06.27
2019.06.21
2019.06.08
2019.05.20
2019.05.11
2019.04.30
2019.04.24
2019.04.17
2019.04.07
2019.04.01
2019.03.18
2019.03.09
2019.03.01
2019.02.18
2019.02.08
2019.01.30.1
2019.01.30
2019.01.27
2019.01.24
2019.01.23
2019.01.17
2019.01.16
2019.01.10
2019.01.02
2018.12.31
2018.12.17
2018.12.09
2018.12.03
2018.11.23
2018.11.18
2018.11.07
2018.11.03
2018.10.29
2018.10.05
2018.09.26
2018.09.18
2018.09.10
2018.09.08
2018.09.01
2018.08.28
2018.08.22
2018.08.04
2018.07.29
2018.07.21
2018.07.10
2018.07.04
2018.06.25
2018.06.19
2018.06.18
2018.06.14
2018.06.11
2018.06.04
2018.06.02
2018.05.30
2018.05.26
2018.05.18
2018.05.09
2018.05.01
2018.04.25
2018.04.16
2018.04.09
2018.04.03
2018.03.26.1
2018.03.26
2018.03.20
2018.03.14
2018.03.10
2018.03.03
2018.02.26
2018.02.25
2018.02.22
2018.02.11
2018.02.08
2018.02.04
2018.02.03
2018.01.27
2018.01.21
2018.01.18
2018.01.14
2018.01.07
2017.12.31
2017.12.28
2017.12.23
2017.12.14
2017.12.10
2017.12.02
2017.11.26
2017.11.15
2017.11.06
2017.10.29
2017.10.20
2017.10.15.1
2017.10.15
2017.10.12
2017.10.07
2017.10.01
2017.09.24
2017.09.15
2017.09.11
2017.09.10
2017.09.02
2017.08.27.1
2017.08.27
2017.08.23
2017.08.18
2017.08.13
2017.08.09
2017.08.06
2017.07.30.1
2017.07.23
2017.07.15
2017.07.09
2017.07.02
2017.06.25
2017.06.23
2017.06.18
2017.06.12
2017.06.05
2017.05.29
2017.05.26
2017.05.23
2017.05.18.1
2017.05.18
2017.05.14
2017.05.09
2017.05.07
2017.05.01
2017.04.28
2017.04.26
2017.04.17
2017.04.16
2017.04.15
2017.04.14
2017.04.11
2017.04.09
2017.04.03
2017.04.02
2017.03.26
2017.03.24
2017.03.22
2017.03.20
2017.03.16
2017.03.15
2017.03.10
2017.03.07
2017.03.06
2017.03.05
2017.03.02
2017.02.28
2017.02.27
2017.02.24.1
2017.02.24
2017.02.22
2017.02.21
2017.02.17
2017.02.16
2017.02.14
2017.02.11
2017.02.10
2017.02.07
2017.02.04.1
2017.02.04
2017.02.01
2017.01.31
2017.01.29
2017.01.28
2017.01.25
2017.01.24
2017.01.22
2017.01.18
2017.01.16
2017.01.14
2017.01.10
2017.01.08
2017.01.05
2017.01.02
2016.12.31
2016.12.22
2016.12.20
2016.12.18
2016.12.15
2016.12.12
2016.12.09
2016.12.01
2016.11.27
2016.11.22
2016.11.18
2016.11.14.1
2016.11.14
2016.11.08.1
2016.11.08
2016.11.04
2016.11.02
2016.10.31
2016.10.30
2016.10.26
2016.10.25
2016.10.21.1
2016.10.21
2016.10.19
2016.10.16
2016.10.12
2016.10.07
2016.10.02
2016.09.27
2016.09.24
2016.09.19
2016.09.18
2016.09.15
2016.09.11.1
2016.09.11
2016.09.08
2016.09.04.1
2016.09.04
2016.09.03
2016.08.31
2016.08.28
2016.08.24.1
2016.08.24
2016.08.22
2016.08.19
2016.08.17
2016.08.13
2016.08.12
2016.08.10
2016.08.07
2016.08.06
2016.08.01
2016.07.30
2016.07.28
2016.07.26.2
2016.07.26.1
2016.07.26
2016.07.24
2016.07.22
2016.07.17
2016.07.16
2016.07.13
2016.07.11
2016.07.09.2
2016.07.09.1
2016.07.09
2016.07.07
2016.07.06
2016.07.05
2016.07.03.1
2016.07.03
2016.07.02
2016.07.01
2016.06.30
2016.06.27
2016.06.26
2016.06.25
2016.06.23.1
2016.06.23
2016.06.22
2016.06.20
2016.06.19.1
2016.06.19
2016.06.18.1
2016.06.18
2016.06.16
2016.06.14
2016.06.12
2016.06.11.3
2016.06.11.2
2016.06.11.1
2016.06.11
2016.06.05
2016.06.04
2016.06.03_tmp
2016.06.03
2016.06.02
2016.05.30.2
2016.05.30.1
2016.05.30
2016.05.21.2
2016.05.21.1
2016.05.21
2016.05.16
2016.05.10
2016.05.01
2016.04.24
2016.04.19
2016.04.13
2016.04.06
2016.04.05
2016.04.01
2016.03.27
2016.03.26
2016.03.25
2016.03.18
2016.03.14
2016.03.06
2016.03.01
2016.02.27
2016.02.22
2016.02.13
2016.02.10
2016.02.09.1
2016.02.09
2016.02.05.1
2016.02.05
2016.02.04
2016.02.01
2016.01.31
2016.01.29
2016.01.27
2016.01.23
2016.01.15
2016.01.14
2016.01.09
2016.01.01
2015.12.31
2015.12.29
2015.12.23
2015.12.21
2015.12.18
2015.12.13
2015.12.10
2015.12.09
2015.12.06
2015.12.05
2015.11.27.1
2015.11.27
2015.11.24
2015.11.23
2015.11.21
2015.11.19
2015.11.18
2015.11.15
2015.11.13
2015.11.10
2015.11.02
2015.11.01
2015.10.24
2015.10.23
2015.10.18
2015.10.16
2015.10.13
2015.10.12
2015.10.09
2015.10.06.2
2015.10.06.1
2015.10.06
2015.09.28
2015.09.22
2015.09.09
2015.09.03
2015.08.28
2015.08.23
2015.08.16.1
2015.08.16
2015.08.09
2015.08.06.1
2015.08.06
2015.07.28
2015.07.21
2015.07.18
2015.07.07
2015.07.04
2015.06.25
2015.06.15
2015.06.04.1
2015.06.04
2015.05.29
2015.05.20
2015.05.15
2015.05.10
2015.05.04
2015.05.03
2015.04.28
2015.04.26
2015.04.17
2015.04.09
2015.04.03
2015.03.28
2015.03.24
2015.03.18
2015.03.15
2015.03.09
2015.03.03.1
2015.03.03
2015.02.28
2015.02.26.2
2015.02.26.1
2015.02.26
2015.02.24.2
2015.02.24.1
2015.02.24
2015.02.23.1
2015.02.23
2015.02.21
2015.02.20
2015.02.19.3
2015.02.19.2
2015.02.19.1
2015.02.19
2015.02.18.1
2015.02.18
2015.02.17.2
2015.02.17.1
2015.02.17
2015.02.16.1
2015.02.16
2015.02.11
2015.02.10.5
2015.02.10.4
2015.02.10.3
2015.02.10.2
2015.02.10.1
2015.02.10
2015.02.09.3
2015.02.09.2
2015.02.09.1
2015.02.09
2015.02.08
2015.02.06
2015.02.04
2015.02.03.1
2015.02.03
2015.02.02.5
2015.02.02.4
2015.02.02.3
2015.02.02.2
2015.02.02.1
2015.02.02
2015.02.01
2015.01.30.2
2015.01.30.1
2015.01.30
2015.01.25
2015.01.23.4
2015.01.23.3
2015.01.23.2
2015.01.23.1
2015.01.23
2015.01.22
2015.01.16
2015.01.15.1
2015.01.15
2015.01.11
2015.01.10.2
2015.01.10.1
2015.01.10
2015.01.09.2
2015.01.09.1
2015.01.09
2015.01.08
2015.01.07.2
2015.01.07.1
2015.01.07
2015.01.05.1
2015.01.05
2015.01.04
2015.01.03
2015.01.02
2015.01.01
2014.12.17.2
2014.12.17.1
2014.12.17
2014.12.16.2
2014.12.16.1
2014.12.16
2014.12.15
2014.12.14
2014.12.13.1
2014.12.13
2014.12.12.7
2014.12.12.6
2014.12.12.5
2014.12.12.4
2014.12.12.3
2014.12.12.2
2014.12.12.1
2014.12.12
2014.12.11
2014.12.10.3
2014.12.10.2
2014.12.10.1
2014.12.10
2014.12.06.1
2014.12.06
2014.12.04.2
2014.12.04.1
2014.12.04
2014.12.03
2014.12.01
2014.11.27
2014.11.26.4
2014.11.26.3
2014.11.26.2
2014.11.26.1
2014.11.26
2014.11.25.1
2014.11.25
2014.11.24
2014.11.23.1
2014.11.23
2014.11.21.1
2014.11.21
2014.11.20.1
2014.11.20
2014.11.16
2014.11.15.1
2014.11.15
2014.11.14
2014.11.13.3
2014.11.13.2
2014.11.13.1
2014.11.13
2014.11.12.1
2014.11.12
2014.11.09
2014.11.04
2014.11.02.1
2014.11.02
2014.10.30
2014.10.29
2014.10.27
2014.10.26.2
2014.10.26.1
2014.10.26
2014.10.25
2014.10.24
2014.10.23
2014.10.18
2014.10.15
2014.10.13
2014.10.12
2014.10.05.2
2014.10.05.1
2014.10.05
2014.10.02
2014.09.29.2
2014.09.29.1
2014.09.29
2014.09.28.1
2014.09.28
2014.09.25
2014.09.24.1
2014.09.24
2014.09.22.1
2014.09.22
2014.09.19
2014.09.18
2014.09.16.1
2014.09.16
2014.09.15.1
2014.09.15
2014.09.14.3
2014.09.14.2
2014.09.14.1
2014.09.14
2014.09.12
2014.09.10.1
2014.09.10
2014.09.06
2014.09.04.3
2014.09.04.2
2014.09.04.1
2014.09.04
2014.09.01.2
2014.09.01.1
2014.09.01
2014.08.29
2014.08.28.2
2014.08.28.1
2014.08.28
2014.08.27.1
2014.08.27
2014.08.26
2014.08.25.3
2014.08.25.2
2014.08.25.1
2014.08.25
2014.08.24.6
2014.08.24.5
2014.08.24.4
2014.08.24.3
2014.08.24.2
2014.08.24.1
2014.08.24
2014.08.23
2014.08.22.3
2014.08.22.2
2014.08.22.1
2014.08.22
2014.08.21.3
2014.08.21.2
2014.08.21.1
2014.08.21
2014.08.10
2014.08.05
2014.08.02.1
2014.08.02
2014.07.30
2014.07.25.1
2014.07.25
2014.07.24
2014.07.23.2
2014.07.23.1
2014.07.23
2014.07.22
2014.07.21
2014.07.20.2
2014.07.20.1
2014.07.20
2014.07.15
2014.07.11.3
2014.07.11.2
2014.07.11.1
2014.07.11
2014.07.10
2014.06.26
2014.06.25
2014.06.24.1
2014.06.24
2014.06.19
2014.06.16
2014.06.09
2014.06.07
2014.06.04
2014.06.02
2014.05.31.4
2014.05.31.3
2014.05.31.2
2014.05.31.1
2014.05.31
2014.05.30.1
2014.05.30
2014.05.19
2014.05.17
2014.05.16.1
2014.05.16
2014.05.13
2014.05.12
2014.05.05
2014.04.30.1
2014.04.30
2014.04.21.6
2014.04.21.5
2014.04.21.4
2014.04.21.3
2014.04.21.2
2014.04.21.1
2014.04.21
2014.04.19
2014.04.13
2014.04.11.2
2014.04.11.1
2014.04.11
2014.04.07.4
2014.04.07.3
2014.04.07.2
2014.04.07.1
2014.04.07
2014.04.04.7
2014.04.04.6
2014.04.04.5
2014.04.04.4
2014.04.04.2
2014.04.04.3
2014.04.04.1
2014.04.04
2014.04.03.3
2014.04.03.2
2014.04.03.1
2014.04.03
2014.04.02
2014.04.01.3
2014.04.01.2
2014.04.01.1
2014.04.01
2014.03.30.1
2014.03.30
2014.03.29
2014.03.28
2014.03.27.1
2014.03.27
2014.03.25.1
2014.03.25
2014.03.24.5
2014.03.24.4
2014.03.24.3
2014.03.24.2
2014.03.24.1
2014.03.24
2013.03.24.2
2013.03.24.1
2013.03.24
2014.03.23
2014.03.21.5
2014.03.21.4
2014.03.21.3
2014.03.21.2
2014.03.21.1
2014.03.21
2014.03.20
2014.03.18.1
2014.03.18
2014.03.17
2014.03.12
2014.03.11
2014.03.10
2014.03.07.1
2014.03.07
2014.03.06
2014.03.04.2
2014.03.04.1
2014.03.04
2014.03.03
2014.02.28
2014.02.27.1
2014.02.27
2014.02.26
2014.02.25.1
2014.02.25
2014.02.24
2014.02.22.1
2014.02.22
2014.02.21.1
2014.02.21
2014.02.20
2014.02.19.1
2014.02.19
2014.02.17
2014.02.13
2014.02.10
2014.02.08.2
2014.02.08.1
2014.02.08
2014.02.06.3
2014.02.06.2
2014.02.06.1
2014.02.06
2014.02.05
2014.02.04.1
2014.02.04
2014.02.03.1
2014.02.03
2014.01.30.2
2014.01.30.1
2014.01.30
2014.01.29
2014.01.28.1
2014.01.28
2014.01.27.2
2014.01.27.1
2014.01.27
2014.01.23.4
2014.01.23.3
2014.01.23.2
2014.01.23.1
2014.01.23
2014.01.22.5
2014.01.22.4
2014.01.22.3
2014.01.22.2
2014.01.22.1
2014.01.22
2014.01.21.1
2014.01.21
2014.01.20
2014.01.17.2
2013.01.17.1
2013.01.17
2014.01.08
2014.01.07.5
2014.01.07.4
2014.01.07.3
2014.01.07.2
2014.01.07.1
2014.01.07
2014.01.06.1
2014.01.06
2014.01.05.6
2014.01.05.5
2014.01.05.4
2014.01.05.3
2014.01.05.1
2014.01.05
2014.01.03
2013.12.26
2013.12.23.4
2013.12.23.3
2013.12.23.2
2013.12.23.1
2013.12.23
2013.12.20
2013.12.17.2
2013.12.17.1
2013.12.17
2013.12.16.7
2013.12.16.6
2013.12.16.5
2013.12.16.4
2013.12.16.3
2013.12.16.2
2013.12.16.1
2013.12.16
2013.12.11.2
2013.12.11.1
2013.12.11
2013.12.10
2013.12.09.4
2013.12.09.3
2013.12.09.2
2013.12.09.1
2013.12.09
2013.12.08.1
2013.12.08
2013.12.04
2013.12.03
2013.12.02
2013.11.29
2013.11.28.1
2013.11.28
2013.11.26
2013.11.25.3
2013.11.25.2
2013.11.25.1
2013.11.25
2013.11.24.1
2013.11.24
2013.11.22.2
2013.11.22.1
2013.11.22
2013.11.21
2013.11.20
2013.11.19
2013.11.18.1
2013.11.18
2013.11.17
2013.11.15.1
2013.11.15
2013.11.13
2013.11.11
2013.11.07
2013.11.06.1
2013.11.06
2013.11.03
2013.11.02
2013.10.30
2013.10.29
2013.10.28
2013.10.23.2
2013.10.23.1
2013.10.23
2013.10.22
2013.10.18.2
2013.10.18.1
2013.10.18
2013.10.17
2013.10.15
2013.10.09
2013.10.07
2013.10.06
2013.10.04
2013.10.01.1
2013.10.01
2013.09.29
2013.09.24.2
2013.09.24.1
2013.09.24
2013.09.20.1
2013.09.20
2013.09.17
2013.09.16
2013.09.12
2013.11.09
2013.09.10
2013.09.07
2013.09.06.1
2013.09.06
2013.09.05
2013.09.04
2013.08.30
2013.08.29
2013.08.28.1
2013.08.28
2013.08.27
2013.08.23
2013.08.22
2013.08.21
2013.08.17
2013.08.15
2013.08.14
2013.08.09
2013.08.08.1
2013.08.08
2013.08.02
2013.07.31
2013.07.25.2
2013.07.25.1
2013.07.25
2013.07.24.2
2013.07.24.1
2013.07.24
2013.07.23.1
2013.07.23
2013.07.19
2013.07.18
2013.07.17.1
2013.07.17
2013.07.12
2013.07.11
2013.07.10
2013.07.08.1
2013.07.08
2013.07.07.01
2013.07.07
2013.07.05
2013.07.04
2013.07.02
2013.06.34.4
2013.06.34.3
2013.06.34.2
2013.06.34.1
2013.06.34
2013.06.33
2013.06.32
2013.06.31
2013.06.30
2013.06.29
2013.06.28
2013.06.27
2013.06.26
2013.06.25
2013.06.23
2013.06.21
2013.05.23
2013.05.14
2013.05.13
2013.05.10
2013.05.07
2013.05.06
2013.05.05
2013.05.04
2013.05.01
2013.04.31
2013.04.30
2013.04.28
2013.04.27
2013.04.22
2013.04.21
2013.04.18
2013.04.11
2013.04.03
2013.03.29
2013.02.25
2013.02.22
2012.02.22
2013.02.19
2013.02.18
2013.02.02
2013.02.01
2013.01.28
2013.01.27
2013.01.13
2013.01.12
2012.12.99
2013.01.11
2013.01.08
2013.01.06
2013.01.02
2012.12.11
2012.11.29
2012.11.28
2012.11.27
2012.11.17
2012.10.09
2012.09.27
2012.02.27
2012.02.26
2012.01.08b
2012.01.08
2012.01.05
2011.12.18
2011.12.15
2011.12.08
2011.11.23
2011.11.22
2011.11.21
2011.10.19
2011.09.30
2011.09.27
2011.09.18c
2011.09.18b
2011.09.18
2011.09.17
2011.09.16
2011.09.15
2011.09.14
2011.09.13
2011.08.04
2011.03.29
2011.02.25c
2011.02.25b
2011.02.25
2011.01.30
2010.12.09
2010.11.19
2010.10.24
2010.10.03
2010.08.04
2010.07.24
2010.07.22
2010.07.14
2010.06.06
2010.04.04
2010.04.03
2010.04.02
2010.03.13
2010.03.07
2010.02.13
2010.01.19
2010.01.06
2010.01.05
2009.12.26
2009.09.13
2009.09.08
2009.08.08
2009.06.29
2009.05.30
2009.05.25
2009.05.23
2009.05.13
2009.05.11
2009.04.25
2009.04.06
2009.03.28
2009.03.03
2009.02.07
2009.01.31
2008.11.01
2008.10.16
2008.09.20
2008.08.09
2008.07.22
Labels
Clear labels
DRM
Good first issue
account-needed
broken-IE
bug
build/update
cant-reproduce
clarification-needed
documentation
duplicate
external-bugs
fixed
geo-restricted
gh-pages
help-wanted
hls
incomplete
invalid
linux
mpd
not-a-bug
nsfw
offtopic
out-of-scope
outdated-version
patch-available
pending-fixes
php
postprocessors
question
regression
request
request
site-support-request
site-update-request
spam
subtitles
test-needed
tv-provider-account-needed
windows
won't fix
yt-dlp
No labels
DRM
Good first issue
account-needed
broken-IE
bug
build/update
cant-reproduce
clarification-needed
documentation
duplicate
external-bugs
fixed
geo-restricted
gh-pages
help-wanted
hls
incomplete
invalid
linux
mpd
not-a-bug
nsfw
offtopic
out-of-scope
outdated-version
patch-available
pending-fixes
php
postprocessors
question
regression
request
request
site-support-request
site-update-request
spam
subtitles
test-needed
tv-provider-account-needed
windows
won't fix
yt-dlp
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
starred/youtube-dl-ytdl-org#76
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (May 13, 2011).
Youtube's html5 player is still quite new and experimental, but an opt-in trial is available. Is there a way to detect whether or not I have opted in to the html5 trial so that I can use youtube-dl to download videos in the webm format?
@baryluk commented on GitHub (May 14, 2011):
It is impossible to detect it, because it is based on cookie in each browser. However some kind of flag to try first downloading webm (by setting cookie and extracting nacassary information from webpage) would be very useful. Somet time ago a Debian's youtube-dl version, was downloading webm and actually was trying it as first format.
@ghost commented on GitHub (May 15, 2011):
Perhaps a patch may be in order then. I can take a look at implementing
this functionality and submitting a patch, but this will depend largely
on how long it will be before HTML5 becomes the default on browsers that
support it. If the opt-in trial is to continue for several months or
more, it makes sense to patch the code to set the cookie. However, if
Google intends to make it the default soon, say within the next month or
two, it would likely make more sense to update the code once HTML5 is
fully implemented.
@samatjain commented on GitHub (May 19, 2011):
WebM used be format codes 43 and 45. I think WebM downloading w/ youtube-dl stopped working when YouTube cut off access to format selection via format code (Dec 2010)?
@ghost commented on GitHub (Jun 2, 2011):
I have found the links to the WebM downloads as they are currently
presented on Youtube, and it seems possible to select the HTML5 version
of the page without having to set a cookie.
Apparently, it is possible to add "&html5=true" to the end of the
Youtube link to be downloaded, and it should have the same effect as
setting the cookie. I can't seem to make youtube-dl see the WebM formats
by doing this, but there may be some kind of Javascript to attempt to
detect a supported browser, in which case, a workaround should be possible.
Youtube's code to play a WebM video currently looks something like this:
{Snip...}
"html5_fmt_map": [{"url":
"http://v17.lscache1.c.youtube.com/videoplayback?sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Cratebypass%2Coc%3AU0hPTFBTUl9FSkNOOV9ITVZF\u0026fexp=904418%2C904510%2C913502%2C907301\u0026itag=43\u0026ipbits=0\u0026signature=CC2E28AADD32CE68622F073CE62D520C7D86DC4E.8F88A126936DDF08C17EA02D40B7012EFCD58138\u0026sver=3\u0026ratebypass=yes\u0026expire=1307084400\u0026key=yt1\u0026ip=0.0.0.0\u0026id=80a3c2d8ac74eecf",
"type": "video/webm; codecs="vp8.0, vorbis"", "quality": "medium",
"itag": 43}, {"url":
"http://v18.lscache3.c.youtube.com/videoplayback?sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Cratebypass%2Coc%3AU0hPTFBTUl9FSkNOOV9ITVZF\u0026fexp=904418%2C904510%2C913502%2C907301\u0026itag=45\u0026ipbits=0\u0026signature=286777096546CECCBF3CAA6178C7C099FC3960E6.93B74D264FD0A55BEDEBF5176B753FDE015AECA9\u0026sver=3\u0026ratebypass=yes\u0026expire=1307084400\u0026key=yt1\u0026ip=0.0.0.0\u0026id=80a3c2d8ac74eecf",
"type": "video/webm; codecs="vp8.0, vorbis"", "quality": "hd720",
"itag": 45}
{Snip...}
Note that / marks are escaped with \ characters, and & is written as
\u0026, so in order to paste one of those links into my browser, I had
to search and replace those items. I'm also not sure how the 1080p
format is coded, since I just used my own 720p video for this code
snippit, but if 1080p is available, it should be in that code as well.
Hope this helps.
~Kyle
@ghost commented on GitHub (Jun 5, 2011):
I have a little more info about the link tail that makes Youtube output
HTML5 without a cookie. In my previous post, I said that I had read that
you can add "&html5=true" to the end of the link and get the WebM code.
Unfortunately, this is slightly incorrect. The correct parameter to add
is "&html5=1." This works using wget and gedit for now, but I still
can't get youtube-dl to see the WebM files using this method, even if I
use the --all-formats switch. It probably has to do with the fact that
Youtube-dl currently doesn't look for the html5_fmt_map links, which
appear to be in a separate part of the file from the Flash player links.
I'll give the code a look and see what I can do with it. I may be able
to submit a patch to make it work.
~Kyle
@ghost commented on GitHub (Jun 6, 2011):
Looking at the video info URL that is requested by youtube-dl, I have found that adding "&html5=1" to the end returns an additional section called "html5_fmt_map" that lists the available WebM formats and also repeats the available mp4 formats. However, "fmt_url_map" is still needed to get the available flv formats. Changing the line in youtube-dl that says
to
will fetch the video info with all available formats. The immediate problem is that "html5_fmt_map" has extra options such as "Quality", "type" and "codecs," and includes plus signs, so it needs to be parsed differently. All attempts so far to add "html5_fmt_map" to the code with the intention to fallback to "fmt_url_map" to get the available flv formats have failed. I'll paste in the video info returned by the URL originally requested by youtube-dl for a video I uploaded, and underneath it I'll paste in the info returned from the same URL with "&html5=1" added. Perhaps someone else can help me wade through all the punctuation and URL encoding and properly parse the data. Thanks for any help anyone can provide.
Video info URL: http://www.youtube.com/get_video_info?&video_id=gKPC2Kx07s8&ps=default&eurl=&gl=US&hl=en
status=ok&fexp=903931%2C907040%2C901602&watermark=http%3A%2F%2Fs.ytimg.com%2Fyt%2Fswf%2Flogo-vfl_bP6ud.swf%2Chttp%3A%2F%2Fs.ytimg.com%2Fyt%2Fswf%2Fhdlogo-vfloR6wva.swf×tamp=1307365282&has_cc=False&allow_embed=1&fmt_stream_map=22%7Chttp%3A%2F%2Fv11.lscache1.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Cratebypass%26fexp%3D903931%252C907040%252C901602%26itag%3D22%26ipbits%3D8%26signature%3DB0EB5F000C5FA6E9C3BAD0997ADE807EEBB3EC9E.6A58B0E7462472CDACABBA98B20BBC33AA04AB5E%26sver%3D3%26ratebypass%3Dyes%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26id%3D80a3c2d8ac74eecf%7C%7Ctc.v11.cache1.c.youtube.com%2C35%7Chttp%3A%2F%2Fv6.lscache1.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Calgorithm%252Cburst%252Cfactor%26fexp%3D903931%252C907040%252C901602%26algorithm%3Dthrottle-factor%26itag%3D35%26ipbits%3D8%26burst%3D40%26sver%3D3%26signature%3D4270F4C6FF5E30182B30CDFF6ABC498DF6108F40.8FAFD09E0CC139711058A444611816396A25A7D2%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26factor%3D1.25%26id%3D80a3c2d8ac74eecf%7C%7Ctc.v6.cache1.c.youtube.com%2C34%7Chttp%3A%2F%2Fv3.lscache3.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Calgorithm%252Cburst%252Cfactor%26fexp%3D903931%252C907040%252C901602%26algorithm%3Dthrottle-factor%26itag%3D34%26ipbits%3D8%26burst%3D40%26sver%3D3%26signature%3D8C213CD3AAB650AE95F07868C495D1A0F9D131D8.5145858B8973CEA63D4D6C3D8522C4317FF6E933%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26factor%3D1.25%26id%3D80a3c2d8ac74eecf%7C%7Ctc.v3.cache3.c.youtube.com%2C18%7Chttp%3A%2F%2Fv21.lscache1.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Calgorithm%252Cburst%252Cfactor%26fexp%3D903931%252C907040%252C901602%26algorithm%3Dthrottle-factor%26itag%3D18%26ipbits%3D8%26burst%3D40%26sver%3D3%26signature%3DAA436B6D35D3B0C63F6F1E0BC6D2DC2B80F3FFC4.38E668048E31CE48C6D8F8CE4C1A23840D18A093%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26factor%3D1.25%26id%3D80a3c2d8ac74eecf%7C%7Ctc.v21.cache1.c.youtube.com%2C5%7Chttp%3A%2F%2Fv6.lscache5.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Calgorithm%252Cburst%252Cfactor%26fexp%3D903931%252C907040%252C901602%26algorithm%3Dthrottle-factor%26itag%3D5%26ipbits%3D8%26burst%3D40%26sver%3D3%26signature%3D97AAD7442B42201401493AB3943259E2B5149A7E.94D6F4C7FCC52D5D3A94488049204F1932A68A72%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26factor%3D1.25%26id%3D80a3c2d8ac74eecf%7C%7Ctc.v6.cache5.c.youtube.com&fmt_url_map=22%7Chttp%3A%2F%2Fv11.lscache1.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Cratebypass%26fexp%3D903931%252C907040%252C901602%26itag%3D22%26ipbits%3D8%26signature%3DB0EB5F000C5FA6E9C3BAD0997ADE807EEBB3EC9E.6A58B0E7462472CDACABBA98B20BBC33AA04AB5E%26sver%3D3%26ratebypass%3Dyes%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26id%3D80a3c2d8ac74eecf%2C35%7Chttp%3A%2F%2Fv6.lscache1.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Calgorithm%252Cburst%252Cfactor%26fexp%3D903931%252C907040%252C901602%26algorithm%3Dthrottle-factor%26itag%3D35%26ipbits%3D8%26burst%3D40%26sver%3D3%26signature%3D4270F4C6FF5E30182B30CDFF6ABC498DF6108F40.8FAFD09E0CC139711058A444611816396A25A7D2%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26factor%3D1.25%26id%3D80a3c2d8ac74eecf%2C34%7Chttp%3A%2F%2Fv3.lscache3.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Calgorithm%252Cburst%252Cfactor%26fexp%3D903931%252C907040%252C901602%26algorithm%3Dthrottle-factor%26itag%3D34%26ipbits%3D8%26burst%3D40%26sver%3D3%26signature%3D8C213CD3AAB650AE95F07868C495D1A0F9D131D8.5145858B8973CEA63D4D6C3D8522C4317FF6E933%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26factor%3D1.25%26id%3D80a3c2d8ac74eecf%2C18%7Chttp%3A%2F%2Fv21.lscache1.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Calgorithm%252Cburst%252Cfactor%26fexp%3D903931%252C907040%252C901602%26algorithm%3Dthrottle-factor%26itag%3D18%26ipbits%3D8%26burst%3D40%26sver%3D3%26signature%3DAA436B6D35D3B0C63F6F1E0BC6D2DC2B80F3FFC4.38E668048E31CE48C6D8F8CE4C1A23840D18A093%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26factor%3D1.25%26id%3D80a3c2d8ac74eecf%2C5%7Chttp%3A%2F%2Fv6.lscache5.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Calgorithm%252Cburst%252Cfactor%26fexp%3D903931%252C907040%252C901602%26algorithm%3Dthrottle-factor%26itag%3D5%26ipbits%3D8%26burst%3D40%26sver%3D3%26signature%3D97AAD7442B42201401493AB3943259E2B5149A7E.94D6F4C7FCC52D5D3A94488049204F1932A68A72%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26factor%3D1.25%26id%3D80a3c2d8ac74eecf&leanback_module=http%3A%2F%2Fs.ytimg.com%2Fyt%2Fswfbin%2Fleanback_module-vflM9bCNe.swf&allow_ratings=1&tmi=1&keywords=God%2CJesus%2CHoly+Spirit%2CChurch%2CChristian%2Cworship%2Cmusic&track_embed=1&view_count=743&endscreen_module=http%3A%2F%2Fs.ytimg.com%2Fyt%2Fswfbin%2Fendscreen-vfljMItjz.swf&fmt_list=22%2F1280x720%2F9%2F0%2F115%2C35%2F854x480%2F9%2F0%2F115%2C34%2F640x360%2F9%2F0%2F115%2C18%2F640x360%2F9%2F0%2F115%2C5%2F320x240%2F7%2F0%2F0&author=kylelives4jesus&muted=0&avg_rating=0.0&video_id=gKPC2Kx07s8&length_seconds=363&fmt_map=22%2F1280x720%2F9%2F0%2F115%2C35%2F854x480%2F9%2F0%2F115%2C34%2F640x360%2F9%2F0%2F115%2C18%2F640x360%2F9%2F0%2F115%2C5%2F320x240%2F7%2F0%2F0&vq=auto&token=vjVQa1PpcFOhEcczYbZRVx6uZ2Ecm39uMSm5ehBJvdA%3D&thumbnail_url=http%3A%2F%2Fi4.ytimg.com%2Fvi%2FgKPC2Kx07s8%2Fdefault.jpg&plid=AASlCrNHKUVmbG6n&title=Revival+Fire+Fall&ftoken=
Video info URL: http://www.youtube.com/get_video_info?&video_id=gKPC2Kx07s8&ps=default&eurl=&gl=US&hl=en&html5=1
status=ok&fexp=905236%2C907040&watermark=http%3A%2F%2Fs.ytimg.com%2Fyt%2Fswf%2Flogo-vfl_bP6ud.swf%2Chttp%3A%2F%2Fs.ytimg.com%2Fyt%2Fswf%2Fhdlogo-vfloR6wva.swf×tamp=1307366133&has_cc=False&allow_embed=1&fmt_stream_map=22%7Chttp%3A%2F%2Fv11.lscache1.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Cratebypass%26fexp%3D905236%252C907040%26itag%3D22%26ipbits%3D8%26signature%3DB0EB5F000C5FA6E9C3BAD0997ADE807EEBB3EC9E.6A58B0E7462472CDACABBA98B20BBC33AA04AB5E%26sver%3D3%26ratebypass%3Dyes%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26id%3D80a3c2d8ac74eecf%7C%7Ctc.v11.cache1.c.youtube.com%2C35%7Chttp%3A%2F%2Fv6.lscache1.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Calgorithm%252Cburst%252Cfactor%26fexp%3D905236%252C907040%26algorithm%3Dthrottle-factor%26itag%3D35%26ipbits%3D8%26burst%3D40%26sver%3D3%26signature%3D4270F4C6FF5E30182B30CDFF6ABC498DF6108F40.8FAFD09E0CC139711058A444611816396A25A7D2%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26factor%3D1.25%26id%3D80a3c2d8ac74eecf%7C%7Ctc.v6.cache1.c.youtube.com%2C34%7Chttp%3A%2F%2Fv3.lscache3.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Calgorithm%252Cburst%252Cfactor%26fexp%3D905236%252C907040%26algorithm%3Dthrottle-factor%26itag%3D34%26ipbits%3D8%26burst%3D40%26sver%3D3%26signature%3D8C213CD3AAB650AE95F07868C495D1A0F9D131D8.5145858B8973CEA63D4D6C3D8522C4317FF6E933%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26factor%3D1.25%26id%3D80a3c2d8ac74eecf%7C%7Ctc.v3.cache3.c.youtube.com%2C18%7Chttp%3A%2F%2Fv21.lscache1.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Calgorithm%252Cburst%252Cfactor%26fexp%3D905236%252C907040%26algorithm%3Dthrottle-factor%26itag%3D18%26ipbits%3D8%26burst%3D40%26sver%3D3%26signature%3DAA436B6D35D3B0C63F6F1E0BC6D2DC2B80F3FFC4.38E668048E31CE48C6D8F8CE4C1A23840D18A093%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26factor%3D1.25%26id%3D80a3c2d8ac74eecf%7C%7Ctc.v21.cache1.c.youtube.com%2C5%7Chttp%3A%2F%2Fv6.lscache5.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Calgorithm%252Cburst%252Cfactor%26fexp%3D905236%252C907040%26algorithm%3Dthrottle-factor%26itag%3D5%26ipbits%3D8%26burst%3D40%26sver%3D3%26signature%3D97AAD7442B42201401493AB3943259E2B5149A7E.94D6F4C7FCC52D5D3A94488049204F1932A68A72%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26factor%3D1.25%26id%3D80a3c2d8ac74eecf%7C%7Ctc.v6.cache5.c.youtube.com&fmt_url_map=22%7Chttp%3A%2F%2Fv11.lscache1.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Cratebypass%26fexp%3D905236%252C907040%26itag%3D22%26ipbits%3D8%26signature%3DB0EB5F000C5FA6E9C3BAD0997ADE807EEBB3EC9E.6A58B0E7462472CDACABBA98B20BBC33AA04AB5E%26sver%3D3%26ratebypass%3Dyes%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26id%3D80a3c2d8ac74eecf%2C35%7Chttp%3A%2F%2Fv6.lscache1.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Calgorithm%252Cburst%252Cfactor%26fexp%3D905236%252C907040%26algorithm%3Dthrottle-factor%26itag%3D35%26ipbits%3D8%26burst%3D40%26sver%3D3%26signature%3D4270F4C6FF5E30182B30CDFF6ABC498DF6108F40.8FAFD09E0CC139711058A444611816396A25A7D2%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26factor%3D1.25%26id%3D80a3c2d8ac74eecf%2C34%7Chttp%3A%2F%2Fv3.lscache3.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Calgorithm%252Cburst%252Cfactor%26fexp%3D905236%252C907040%26algorithm%3Dthrottle-factor%26itag%3D34%26ipbits%3D8%26burst%3D40%26sver%3D3%26signature%3D8C213CD3AAB650AE95F07868C495D1A0F9D131D8.5145858B8973CEA63D4D6C3D8522C4317FF6E933%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26factor%3D1.25%26id%3D80a3c2d8ac74eecf%2C18%7Chttp%3A%2F%2Fv21.lscache1.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Calgorithm%252Cburst%252Cfactor%26fexp%3D905236%252C907040%26algorithm%3Dthrottle-factor%26itag%3D18%26ipbits%3D8%26burst%3D40%26sver%3D3%26signature%3DAA436B6D35D3B0C63F6F1E0BC6D2DC2B80F3FFC4.38E668048E31CE48C6D8F8CE4C1A23840D18A093%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26factor%3D1.25%26id%3D80a3c2d8ac74eecf%2C5%7Chttp%3A%2F%2Fv6.lscache5.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Calgorithm%252Cburst%252Cfactor%26fexp%3D905236%252C907040%26algorithm%3Dthrottle-factor%26itag%3D5%26ipbits%3D8%26burst%3D40%26sver%3D3%26signature%3D97AAD7442B42201401493AB3943259E2B5149A7E.94D6F4C7FCC52D5D3A94488049204F1932A68A72%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26factor%3D1.25%26id%3D80a3c2d8ac74eecf&leanback_module=http%3A%2F%2Fs.ytimg.com%2Fyt%2Fswfbin%2Fleanback_module-vflM9bCNe.swf&allow_ratings=1&tmi=1&keywords=God%2CJesus%2CHoly+Spirit%2CChurch%2CChristian%2Cworship%2Cmusic&track_embed=1&html5_fmt_map=%5B%7B%27url%27%3A+%27http%3A%2F%2Fv17.lscache1.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Cratebypass%26fexp%3D905236%252C907040%26itag%3D43%26ipbits%3D8%26signature%3DA0ECBE5F762051F851905FE316734A08D764867A.90A361D023BED40970D8AA0218346D7197C56E7C%26sver%3D3%26ratebypass%3Dyes%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26id%3D80a3c2d8ac74eecf%27%2C+%27quality%27%3A+%27medium%27%2C+%27type%27%3A+%27video%2Fwebm%3B+codecs%3D%22vp8.0%2C+vorbis%22%27%2C+%27itag%27%3A+43%7D%2C+%7B%27url%27%3A+%27http%3A%2F%2Fv3.lscache3.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Cratebypass%26fexp%3D905236%252C907040%26itag%3D44%26ipbits%3D8%26signature%3D55F3EEBAFD9670E6E3FBBE65D64802B4AB4AE9CA.D7B0E309BF888B41A2CE50BD361CC888EE4C3692%26sver%3D3%26ratebypass%3Dyes%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26id%3D80a3c2d8ac74eecf%27%2C+%27quality%27%3A+%27large%27%2C+%27type%27%3A+%27video%2Fwebm%3B+codecs%3D%22vp8.0%2C+vorbis%22%27%2C+%27itag%27%3A+44%7D%2C+%7B%27url%27%3A+%27http%3A%2F%2Fv18.lscache3.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Cratebypass%26fexp%3D905236%252C907040%26itag%3D45%26ipbits%3D8%26signature%3D58F496BC4DB427F2B5E4389982D8F1DA27583F7B.6E781B00449D96CAF4B4CFC9EF732A91F19C1AE6%26sver%3D3%26ratebypass%3Dyes%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26id%3D80a3c2d8ac74eecf%27%2C+%27quality%27%3A+%27hd720%27%2C+%27type%27%3A+%27video%2Fwebm%3B+codecs%3D%22vp8.0%2C+vorbis%22%27%2C+%27itag%27%3A+45%7D%2C+%7B%27url%27%3A+%27http%3A%2F%2Fv21.lscache1.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Cratebypass%26fexp%3D905236%252C907040%26itag%3D18%26ipbits%3D8%26signature%3D9B5460B5874FF4B79BA55F22F1C09BE04AF4726E.A25E0E5907833C43D0E49414B9CE98559B696BEF%26sver%3D3%26ratebypass%3Dyes%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26id%3D80a3c2d8ac74eecf%27%2C+%27quality%27%3A+%27medium%27%2C+%27type%27%3A+%27video%2Fmp4%3B+codecs%3D%22avc1.42001E%2C+mp4a.40.2%22%27%2C+%27itag%27%3A+18%7D%2C+%7B%27url%27%3A+%27http%3A%2F%2Fv11.lscache1.c.youtube.com%2Fvideoplayback%3Fsparams%3Did%252Cexpire%252Cip%252Cipbits%252Citag%252Cratebypass%26fexp%3D905236%252C907040%26itag%3D22%26ipbits%3D8%26signature%3DB0EB5F000C5FA6E9C3BAD0997ADE807EEBB3EC9E.6A58B0E7462472CDACABBA98B20BBC33AA04AB5E%26sver%3D3%26ratebypass%3Dyes%26expire%3D1307390400%26key%3Dyt1%26ip%3D71.0.0.0%26id%3D80a3c2d8ac74eecf%27%2C+%27quality%27%3A+%27hd720%27%2C+%27type%27%3A+%27video%2Fmp4%3B+codecs%3D%22avc1.64001F%2C+mp4a.40.2%22%27%2C+%27itag%27%3A+22%7D%5D&view_count=743&endscreen_module=http%3A%2F%2Fs.ytimg.com%2Fyt%2Fswfbin%2Fendscreen-vfljMItjz.swf&fmt_list=22%2F1280x720%2F9%2F0%2F115%2C35%2F854x480%2F9%2F0%2F115%2C34%2F640x360%2F9%2F0%2F115%2C18%2F640x360%2F9%2F0%2F115%2C5%2F320x240%2F7%2F0%2F0&author=kylelives4jesus&muted=0&avg_rating=0.0&video_id=gKPC2Kx07s8&length_seconds=363&fmt_map=22%2F1280x720%2F9%2F0%2F115%2C35%2F854x480%2F9%2F0%2F115%2C34%2F640x360%2F9%2F0%2F115%2C18%2F640x360%2F9%2F0%2F115%2C5%2F320x240%2F7%2F0%2F0&vq=auto&token=vjVQa1PpcFNZW5lB_2REkoPfmp1JLFuhG5PC2XpRlyU%3D&thumbnail_url=http%3A%2F%2Fi4.ytimg.com%2Fvi%2FgKPC2Kx07s8%2Fdefault.jpg&plid=AASlCuYAovmay16M&title=Revival+Fire+Fall&ftoken=
@phihag commented on GitHub (Sep 13, 2011):
youtube-dl downloads webm videos by default now unless ultra high-quality mp4 videos are available. Set
-fto 43, 44, or 45 to force one of the webm formats. If webm doesn't work with the current youtube-dl, open a new bug.