mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2026-03-02 19:17:00 -05:00
FFmpeg not correcting container via php #4549
Closed
opened 2026-02-21 02:13:17 -05:00 by deekerman
·
17 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#4549
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 @lordwilmore on GitHub (May 3, 2015).
I am calling this command from my php site:
Everything works fine and the file is being saved as well with this output:
[youtube] RF0HhrwIwp0: Downloading webpage [youtube] RF0HhrwIwp0: Extracting video information [youtube] RF0HhrwIwp0: Downloading DASH manifest [download] Destination: /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a [download] 0.0% of 6.30MiB at 146.11KiB/s ETA 00:44 [download] 0.0% of 6.30MiB at 416.83KiB/s ETA 00:15 [download] 0.1% of 6.30MiB at 947.87KiB/s ETA 00:06 [download] 0.2% of 6.30MiB at 1.93MiB/s ETA 00:03 [download] 0.5% of 6.30MiB at 1.63MiB/s ETA 00:03 [download] 1.0% of 6.30MiB at 1.38MiB/s ETA 00:04 [download] 2.0% of 6.30MiB at 1.15MiB/s ETA 00:05 [download] 4.0% of 6.30MiB at 442.06KiB/s ETA 00:14 [download] 7.9% of 6.30MiB at 254.34KiB/s ETA 00:23 [download] 10.7% of 6.30MiB at 259.85KiB/s ETA 00:22 [download] 15.0% of 6.30MiB at 291.74KiB/s ETA 00:18 [download] 21.5% of 6.30MiB at 373.71KiB/s ETA 00:13 [download] 34.5% of 6.30MiB at 489.44KiB/s ETA 00:08 [download] 50.1% of 6.30MiB at 568.80KiB/s ETA 00:05 [download] 63.9% of 6.30MiB at 664.06KiB/s ETA 00:03 [download] 90.1% of 6.30MiB at 795.23KiB/s ETA 00:00 [download] 100.0% of 6.30MiB at 832.05KiB/s ETA 00:00 [download] 100% of 6.30MiB in 00:07 [ffmpeg] Correcting container in "/home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a" [ffmpeg] Correcting container in "/home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a"
BUT: although it states that ffmpeg corrected the container for the audio file, they are still corrupted and can't be played from iTunes. The same command from the terminal works as requested and corrects the container correctly.
I have tested if php can access ffmpeg [system("ffmpeg -h")] and also have tried to give a location for ffmpeg [echo system('~/bin/youtube-dl --ffmpeg-location
/.toast/armed/bin/ffmpeg --extract-audio -o "/html/YouTubeDownloader/%(id)s.%(ext)s" RF0HhrwIwp0')]. Still without success. My current ffmpeg version is 2.6.2 and my youtube-dl version is from 2015.04.28Have you ever encountered such a problem and know how to solve this, or is it a new issue?
@dstftw commented on GitHub (May 3, 2015):
Post the full output you get when running with
--verboseoption.@lordwilmore commented on GitHub (May 3, 2015):
That's the full output:
[youtube] RF0HhrwIwp0: Downloading webpage [youtube] RF0HhrwIwp0: Extracting video information [youtube] {43} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {18} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {5} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {36} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {17} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {135} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {244} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {134} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {243} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {133} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {242} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {160} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {140} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {171} signature length 43.43, html5 player en_US-vflheTb7D [youtube] RF0HhrwIwp0: Downloading DASH manifest [debug] Invoking downloader on 'https://r14---sn-4g57knez.googlevideo.com/videoplayback?id=445d0786bc08c29d&itag=141&source=youtube&requiressl=yes&nh=IgpwcjAyLmZyYTA1KgkxMjcuMC4wLjE&gcr=de&ms=au&mv=u&mm=31&pl=32&ratebypass=yes&mime=audio/mp4&gir=yes&clen=6603379&lmt=1426234255067262&dur=207.098&key=dg_yt0&sver=3&fexp=900720,907263,934954,934968,935035,938028,9405960,9406544,9407407,9408134,9408142,9408707,9408788,940939,9412547,9413154,948124,952612,952637,952642,957201&signature=7454A5D47FD6E1412DF9E267A301340F11805423.7C2F580D4BBBA19E1DA1C719EA88941791B1C211&mt=1430676685&upn=NPUOQkiwwdc&ip=2a00:d0c0:200:0:b9:1a:9c28:1&ipbits=0&expire=1430699083&sparams=ip,ipbits,expire,id,itag,source,requiressl,nh,gcr,ms,mv,mm,pl,ratebypass,mime,gir,clen,lmt,dur' [download] Destination: /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a [download] 0.0% of 6.30MiB at 106.77KiB/s ETA 01:00 [download] 0.0% of 6.30MiB at 303.50KiB/s ETA 00:21 [download] 0.1% of 6.30MiB at 572.22KiB/s ETA 00:11 [download] 0.2% of 6.30MiB at 1.13MiB/s ETA 00:05 [download] 0.5% of 6.30MiB at 1.66MiB/s ETA 00:03 [download] 1.0% of 6.30MiB at 1.77MiB/s ETA 00:03 [download] 2.0% of 6.30MiB at 1.76MiB/s ETA 00:03 [download] 4.0% of 6.30MiB at 1.74MiB/s ETA 00:03 [download] 7.9% of 6.30MiB at 1.73MiB/s ETA 00:03 [download] 15.9% of 6.30MiB at 1.70MiB/s ETA 00:03 [download] 31.7% of 6.30MiB at 1.70MiB/s ETA 00:02 [download] 58.7% of 6.30MiB at 1.69MiB/s ETA 00:01 [download] 85.5% of 6.30MiB at 1.60MiB/s ETA 00:00 [download] 100.0% of 6.30MiB at 1.57MiB/s ETA 00:00 [download] 100% of 6.30MiB in 00:04 [ffmpeg] Correcting container in "/home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a" [debug] ffmpeg command line: ffmpeg -y -i /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a -c copy -f mp4 /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.temp.m4a [debug] ffmpeg command line: ffmpeg -y -i /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a -c copy -f mp4 /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.temp.m4a
I also always delete the old m4a file before running a new test.
@dstftw commented on GitHub (May 3, 2015):
This is not the full output. Do not remove the debug info at the beginning:
@lordwilmore commented on GitHub (May 3, 2015):
I actually did not delete anything, that was all I got from php.
This is what I receive running the same code in terminal:
(ext)s" RF0HhrwIwp0
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'--extract-audio', u'-o', u'~/html/YouTubeDownloader/%(id)s.%(ext)s', u'RF0HhrwIwp0']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.04.28
[debug] Python version 2.6.6 - Linux-2.6.32-504.12.2.el6.x86_64-x86_64-with-centos-6.6-Final
[debug] exe versions: ffmpeg 2.6.2, ffprobe 2.6.2
[debug] Proxy map: {}
[youtube] RF0HhrwIwp0: Downloading webpage
[youtube] RF0HhrwIwp0: Extracting video information
[youtube] {43} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {18} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {5} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {36} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {17} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {135} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {244} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {134} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {243} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {133} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {242} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {160} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {140} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] {171} signature length 43.43, html5 player en_US-vflheTb7D
[youtube] RF0HhrwIwp0: Downloading DASH manifest
[debug] Invoking downloader on 'https://r14---sn-4g57knez.googlevideo.com/videoplayback?id=445d0786bc08c29d&itag=141&source=youtube&requiressl=yes&mv=u&ms=au&mm=31&nh=IgpwcjAyLmZyYTA1KgkxMjcuMC4wLjE&gcr=de&pl=32&ratebypass=yes&mime=audio/mp4&gir=yes&clen=6603379&lmt=1426234255067262&dur=207.098&upn=X8jSFAzn_Bw&signature=75248DFE40CDD35062B907A83C6D9E773939E64B.48BEBE10A62559D3BD8EE741F81B467DF6757857&sver=3&key=dg_yt0&mt=1430677976&fexp=900720,907263,934954,936118,938028,9406722,9407991,9408033,9408095,9408142,9408705,9408911,9409254,9412773,9412839,948124,952612,952637,952640,952642,957201&ip=2a00:d0c0:200:0:b9:1a:9c28:1&ipbits=0&expire=1430699721&sparams=ip,ipbits,expire,id,itag,source,requiressl,mv,ms,mm,nh,gcr,pl,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a
[download] 100% of 6.30MiB in 00:04
[ffmpeg] Correcting container in "/home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a"
[debug] ffmpeg command line: ffmpeg -y -i /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a -c copy -f mp4 /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.temp.m4a
[debug] ffmpeg command line: ffprobe -show_streams /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a
[youtube] Post-process file /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a exists, skipping
However, when I run it from the terminal, the containers ARE corrected.
@jaimeMF commented on GitHub (May 3, 2015):
On PHP you also need to capture stderr (I don't know how)
@dstftw commented on GitHub (May 3, 2015):
@lordwilmore have you put
--verbosein your php script?@lordwilmore commented on GitHub (May 3, 2015):
@dstftw yes, --verbose is turned on, i made this request:
[echo system('
/bin/youtube-dl --verbose --extract-audio -o "/html/YouTubeDownloader/%(id)s.%(ext)s" RF0HhrwIwp0');]and got that output:
[youtube] RF0HhrwIwp0: Downloading webpage [youtube] RF0HhrwIwp0: Extracting video information [youtube] {43} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {18} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {5} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {36} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {17} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {135} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {244} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {134} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {243} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {133} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {242} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {160} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {140} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {171} signature length 43.43, html5 player en_US-vflheTb7D [youtube] RF0HhrwIwp0: Downloading DASH manifest [debug] Invoking downloader on 'https://r14---sn-4g57knez.googlevideo.com/videoplayback?id=445d0786bc08c29d&itag=141&source=youtube&requiressl=yes&ms=au&mv=m&mm=31&gcr=de&pl=32&nh=IgpwcjA0LmZyYTAzKgkxMjcuMC4wLjE&ratebypass=yes&mime=audio/mp4&gir=yes&clen=6603379&lmt=1426234255067262&dur=207.098&mt=1430679744&upn=MlZTkp1YUrQ&sver=3&key=dg_yt0&signature=4CF18840EC04C893C59A7647584EDFE4BBD33AD4.2AC2C052EDCE37F03FCFEB7D96E084355BE361&fexp=900720,907263,934954,938028,939986,9406848,9406938,9407118,9407664,9407924,9407966,9408050,9408142,9408707,9409028,9412764,948124,952612,952637,952642,957201&ip=2a00:d0c0:200:0:b9:1a:9c28:1&ipbits=0&expire=1430701414&sparams=ip,ipbits,expire,id,itag,source,requiressl,ms,mv,mm,gcr,pl,nh,ratebypass,mime,gir,clen,lmt,dur' [download] Destination: /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a [download] 0.0% of 6.30MiB at 145.03KiB/s ETA 00:44 [download] 0.0% of 6.30MiB at 417.65KiB/s ETA 00:15 [download] 0.1% of 6.30MiB at 943.27KiB/s ETA 00:06 [download] 0.2% of 6.30MiB at 1.93MiB/s ETA 00:03 [download] 0.5% of 6.30MiB at 1.88MiB/s ETA 00:03 [download] 1.0% of 6.30MiB at 1.75MiB/s ETA 00:03 [download] 2.0% of 6.30MiB at 1.75MiB/s ETA 00:03 [download] 4.0% of 6.30MiB at 1.72MiB/s ETA 00:03 [download] 7.9% of 6.30MiB at 1.71MiB/s ETA 00:03 [download] 15.9% of 6.30MiB at 1.70MiB/s ETA 00:03 [download] 31.7% of 6.30MiB at 1.60MiB/s ETA 00:02 [download] 55.7% of 6.30MiB at 1.45MiB/s ETA 00:01 [download] 76.2% of 6.30MiB at 1.45MiB/s ETA 00:01 [download] 99.2% of 6.30MiB at 1.51MiB/s ETA 00:00 [download] 100.0% of 6.30MiB at 1.51MiB/s ETA 00:00 [download] 100% of 6.30MiB in 00:04 [ffmpeg] Correcting container in "/home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a" [debug] ffmpeg command line: ffmpeg -y -i /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a -c copy -f mp4 /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.temp.m4a [debug] ffmpeg command line: ffmpeg -y -i /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a -c copy -f mp4 /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.temp.m4a
@jaimeMF I googled and it seems like one can get the stderr by appending 2>&1 to the call, so now it lookes like this:
[echo system('
/bin/youtube-dl --verbose --extract-audio -o "/html/YouTubeDownloader/%(id)s.%(ext)s" RF0HhrwIwp0 2>&1');]That's the output:
[debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'--verbose', u'--extract-audio', u'-o', u'~/html/YouTubeDownloader/%(id)s.%(ext)s', u'RF0HhrwIwp0'] [debug] Encodings: locale ANSI_X3.4-1968, fs ANSI_X3.4-1968, out None, pref ANSI_X3.4-1968 [debug] youtube-dl version 2015.04.28 [debug] Python version 2.6.6 - Linux-2.6.32-504.12.2.el6.x86_64-x86_64-with-centos-6.6-Final [debug] exe versions: ffmpeg 0.6.5, ffprobe 0.6.5 [debug] Proxy map: {} [youtube] RF0HhrwIwp0: Downloading webpage [youtube] RF0HhrwIwp0: Extracting video information [youtube] {43} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {18} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {5} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {36} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {17} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {135} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {244} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {134} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {243} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {133} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {242} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {160} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {140} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {171} signature length 43.43, html5 player en_US-vflheTb7D [youtube] RF0HhrwIwp0: Downloading DASH manifest [debug] Invoking downloader on 'https://r14---sn-4g57knez.googlevideo.com/videoplayback?id=445d0786bc08c29d&itag=141&source=youtube&requiressl=yes&gcr=de&mm=31&mv=m&ms=au&pl=32&nh=IgpwcjA0LmZyYTAzKgkxMjcuMC4wLjE&ratebypass=yes&mime=audio/mp4&gir=yes&clen=6603379&lmt=1426234255067262&dur=207.098&fexp=900720,907263,916727,924637,936025,937412,938028,938688,9405185,9406848,9407642,9408708,9409175,9409231,9410645,9412987,9413103,948124,952612,952637,952642,957201&mt=1430679378&upn=QpcAhdMPTaE&key=dg_yt0&signature=053C545F2A78908D54C725FFA2F0486D4931C2B5.13BEC42044D3DC822C3160C4641CE6EB16B48036&sver=3&ip=2a00:d0c0:200:0:b9:1a:9c28:1&ipbits=0&expire=1430701081&sparams=ip,ipbits,expire,id,itag,source,requiressl,gcr,mm,mv,ms,pl,nh,ratebypass,mime,gir,clen,lmt,dur' [download] Destination: /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a [download] 0.0% of 6.30MiB at 24.08KiB/s ETA 04:28 [download] 0.0% of 6.30MiB at 71.43KiB/s ETA 01:30 [download] 0.1% of 6.30MiB at 165.63KiB/s ETA 00:38 [download] 0.2% of 6.30MiB at 353.36KiB/s ETA 00:18 [download] 0.5% of 6.30MiB at 538.51KiB/s ETA 00:11 [download] 1.0% of 6.30MiB at 515.75KiB/s ETA 00:12 [download] 2.0% of 6.30MiB at 531.07KiB/s ETA 00:11 [download] 4.0% of 6.30MiB at 644.86KiB/s ETA 00:09 [download] 7.9% of 6.30MiB at 802.42KiB/s ETA 00:07 [download] 15.9% of 6.30MiB at 1.06MiB/s ETA 00:04 [download] 31.7% of 6.30MiB at 1.08MiB/s ETA 00:03 [download] 49.1% of 6.30MiB at 1.28MiB/s ETA 00:02 [download] 79.8% of 6.30MiB at 1.40MiB/s ETA 00:00 [download] 100.0% of 6.30MiB at 1.45MiB/s ETA 00:00 [download] 100% of 6.30MiB in 00:04 [ffmpeg] Correcting container in "/home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a" WARNING: Your copy of ffmpeg is outdated, update ffmpeg to version 1.0 or newer if you encounter any errors. [debug] ffmpeg command line: ffmpeg -y -i /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a -c copy -f mp4 /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.temp.m4a ERROR: Unrecognized option 'c' Traceback (most recent call last): File "/home/inventor/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1512, in post_process files_to_delete, info = pp.run(info) File "/home/inventor/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 623, in run self.run_ffmpeg(filename, temp_filename, options) File "/home/inventor/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 152, in run_ffmpeg self.run_ffmpeg_multiple_files([path], out_path, opts) File "/home/inventor/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 148, in run_ffmpeg_multiple_files raise FFmpegPostProcessorError(msg) FFmpegPostProcessorError
@dstftw commented on GitHub (May 3, 2015):
@lordwilmore as you can see from log
ffmpeg that is running from script is very old. Update it.
@jaimeMF commented on GitHub (May 3, 2015):
Are you running from the server and the command line on the same computer and user?
In the apache log it says
ffmpeg 0.6.5, which is really old.@lordwilmore commented on GitHub (May 3, 2015):
That is weird indeed, because I have contacted my web hoster and he updated it. Also running "ffmpeg -v" from the console outputs: "ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers"
also the weird thing is that as mentioned above, ffmpeg actually works with youtube-dl when I call it from the command line.
and yes, I do run the php and the command on the same server, i also save the files in the same directory.
@jaimeMF commented on GitHub (May 3, 2015):
You should compare the output of
which ffmpegfrom the command line and from php. They may have a differentPATHvariable.@lordwilmore commented on GitHub (May 3, 2015):
calling "which ffmpeg" from terminal outputs: ~/.toast/armed/bin/ffmpeg
calling "which ffmpeg" from php outputs: /usr/bin/ffmpeg /usr/bin/ffmpeg
So you might actually have a point here. However running the code and giving the correct ffmpeg path still does not correct the audio header:
[echo system('~/bin/youtube-dl --ffmpeg-location
/.toast/armed/bin/ffmpeg --extract-audio -o "/html/YouTubeDownloader/%(id)s.%(ext)s" RF0HhrwIwp0');]@jaimeMF commented on GitHub (May 3, 2015):
We can't help without the output with the --verbose option.
@lordwilmore commented on GitHub (May 3, 2015):
this call: echo system('~/bin/youtube-dl --verbose --ffmpeg-location
/.toast/armed/bin/ffmpeg --extract-audio -o "/html/YouTubeDownloader/%(id)s.%(ext)s" RF0HhrwIwp0 2>&1')this output:
[debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'--verbose', u'--ffmpeg-location', u'/home/inventor/.toast/armed/bin/ffmpeg', u'--extract-audio', u'-o', u'~/html/YouTubeDownloader/%(id)s.%(ext)s', u'RF0HhrwIwp0'] [debug] Encodings: locale ANSI_X3.4-1968, fs ANSI_X3.4-1968, out None, pref ANSI_X3.4-1968 [debug] youtube-dl version 2015.04.28 [debug] Python version 2.6.6 - Linux-2.6.32-504.12.2.el6.x86_64-x86_64-with-centos-6.6-Final [debug] exe versions: ffmpeg present, ffprobe present [debug] Proxy map: {} [youtube] RF0HhrwIwp0: Downloading webpage [youtube] RF0HhrwIwp0: Extracting video information [youtube] {43} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {18} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {5} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {36} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {17} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {135} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {244} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {134} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {243} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {133} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {242} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {160} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {140} signature length 43.43, html5 player en_US-vflheTb7D [youtube] {171} signature length 43.43, html5 player en_US-vflheTb7D [youtube] RF0HhrwIwp0: Downloading DASH manifest [debug] Invoking downloader on 'https://r14---sn-4g57knez.googlevideo.com/videoplayback?id=445d0786bc08c29d&itag=141&source=youtube&requiressl=yes&gcr=de&nh=IgpwcjAyLmZyYTA1KgkxMjcuMC4wLjE&mm=31&mv=u&ms=au&pl=32&ratebypass=yes&mime=audio/mp4&gir=yes&clen=6603379&lmt=1426234255067262&dur=207.098&upn=hCyQ7ATQPjI&key=dg_yt0&fexp=900720,907263,934954,938028,9407992,9408142,9408245,9408708,9409294,9412942,948124,948808,952612,952637,952642,957201&mt=1430681635&sver=3&signature=8379B79CEEBAD4567B077CFF4DCBF8BE6BD06E4A.93C3906E5D1D4BEF19DDA01E5C68E6213EAB4771&ip=2a00:d0c0:200:0:b9:1a:9c28:1&ipbits=0&expire=1430703570&sparams=ip,ipbits,expire,id,itag,source,requiressl,gcr,nh,mm,mv,ms,pl,ratebypass,mime,gir,clen,lmt,dur' [download] Destination: /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a [download] 0.0% of 6.30MiB at 118.27KiB/s ETA 00:55 [download] 0.0% of 6.30MiB at 333.37KiB/s ETA 00:19 [download] 0.1% of 6.30MiB at 743.97KiB/s ETA 00:08 [download] 0.2% of 6.30MiB at 1.49MiB/s ETA 00:04 [download] 0.5% of 6.30MiB at 1.74MiB/s ETA 00:03 [download] 1.0% of 6.30MiB at 1.76MiB/s ETA 00:03 [download] 2.0% of 6.30MiB at 1.77MiB/s ETA 00:03 [download] 4.0% of 6.30MiB at 1.73MiB/s ETA 00:03 [download] 7.9% of 6.30MiB at 1.74MiB/s ETA 00:03 [download] 15.9% of 6.30MiB at 1.71MiB/s ETA 00:03 [download] 31.7% of 6.30MiB at 1.66MiB/s ETA 00:02 [download] 57.2% of 6.30MiB at 1.63MiB/s ETA 00:01 [download] 82.5% of 6.30MiB at 1.61MiB/s ETA 00:00 [download] 100.0% of 6.30MiB at 1.63MiB/s ETA 00:00 [download] 100% of 6.30MiB in 00:03 [ffmpeg] Correcting container in "/home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a" [debug] ffmpeg command line: /home/inventor/.toast/armed/bin/ffmpeg -y -i /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.m4a -c copy -f mp4 /home/inventor/html/YouTubeDownloader/RF0HhrwIwp0.temp.m4a ERROR: /home/inventor/.toast/armed/bin/ffmpeg: error while loading shared libraries: libavdevice.so.56: cannot open shared object file: No such file or directory Traceback (most recent call last): File "/home/inventor/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1512, in post_process files_to_delete, info = pp.run(info) File "/home/inventor/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 623, in run self.run_ffmpeg(filename, temp_filename, options) File "/home/inventor/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 152, in run_ffmpeg self.run_ffmpeg_multiple_files([path], out_path, opts) File "/home/inventor/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 148, in run_ffmpeg_multiple_files raise FFmpegPostProcessorError(msg) FFmpegPostProcessorError
is that sufficient or do you need anything else?
and is that "--ffmpeg-location ~/.toast/armed/bin/ffmpeg" correct? Or do i have to set the location differently?
@jaimeMF commented on GitHub (May 3, 2015):
There's something in your copy on ffmpeg:
Does
/home/inventor/.toast/armed/bin/ffmpegwork if you manually run it?@lordwilmore commented on GitHub (May 3, 2015):
from the terminal it outputs:
ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-11)
configuration: --prefix=/home/inventor/.toast/armed --enable-shared
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
from php:
/home/inventor/.toast/armed/bin/ffmpeg: error while loading shared libraries: libavdevice.so.56: cannot open shared object file: No such file or directory /home/inventor/.toast/armed/bin/ffmpeg: error while loading shared libraries: libavdevice.so.56: cannot open shared object file: No such file or directory
@yan12125 commented on GitHub (May 3, 2015):
Maybe it's an issue with
$LD_LIBRARY_PATH. Try to specify it in PHP.