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

Permission denied when merging #18645

Closed
IRUNBL opened this issue Dec 26, 2018 · 1 comment
Closed

Permission denied when merging #18645

IRUNBL opened this issue Dec 26, 2018 · 1 comment

Comments

@IRUNBL
Copy link

@IRUNBL IRUNBL commented Dec 26, 2018

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.12.17. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.12.17

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

youtube-dl -v -f136+140 --write-sub --sub-lang en-US --n
o-part https://www.youtube.com/watch?v=TIthXhCSgPE
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-f136+140', '--write-sub', '--sub-lang', 'en-
US', '--no-part', 'https://www.youtube.com/watch?v=TIthXhCSgPE']
[debug] Encodings: locale cp932, fs mbcs, out cp932, pref cp932
[debug] youtube-dl version 2018.12.17
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-92644-gfe0416f8a1, ffprobe N-92644-gfe0416f8a1
[debug] Proxy map: {}
[youtube] TIthXhCSgPE: Downloading webpage
[youtube] TIthXhCSgPE: Downloading video info webpage
[info] Writing video subtitles to: 【MAD_AMV】ヴァイオレット・エヴァーガーデン【
Lemon】-TIthXhCSgPE.en-US.vtt
[debug] Invoking downloader on 'https://r7---sn-jhjup-i5ol.googlevideo.com/video
playback?sparams=aitags%2Cclen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits
%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%
2Cexpire&gir=yes&ipbits=0&clen=17701430&requiressl=yes&mime=video%2Fmp4&expire=1
545859920&itag=136&c=WEB&pl=23&txp=5533432&fvip=1&aitags=133%2C134%2C135%2C136%2
C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&initcwndbps=753750&signature=9294
D6E611932B9356248082E45467FA09F0B5BA.D49E92B3794D4A13611DA99CB7610E94A7311534&mm
=31%2C29&mn=sn-jhjup-i5ol%2Csn-i3b7kn7s&ip=113.20.99.151&key=yt6&keepalive=yes&d
ur=254.440&source=youtube&lmt=1540425572825532&id=o-AAb8nGRdXnnKfGfqkMGXiheWGkzv
QspVWyyyzi4LaNbj&ei=8J4jXKTdIIuQgAOlkZuwBA&ms=au%2Crdu&mt=1545838272&mv=m&rateby
pass=yes'
[download] Resuming download at byte 17701430
[download] 【MAD_AMV】ヴァイオレット・エヴァーガーデン【Lemon】-TIthXhCSgPE.f136
.mp4 has already been downloaded
[download] 100% of 16.88MiB
[debug] Invoking downloader on 'https://r7---sn-jhjup-i5ol.googlevideo.com/video
playback?sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2
Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&
gir=yes&ipbits=0&clen=4042611&requiressl=yes&mime=audio%2Fmp4&expire=1545859920&
itag=140&c=WEB&pl=23&txp=5533432&fvip=1&initcwndbps=753750&signature=2AED8695A25
56CEAC2D7E7C47F2E9DAF71FD03F9.5CBCAC7928D00FCD578AFECB17A0C77E5E1BA4B0&mm=31%2C2
9&mn=sn-jhjup-i5ol%2Csn-i3b7kn7s&ip=113.20.99.151&key=yt6&keepalive=yes&dur=254.
490&source=youtube&lmt=1540424425439537&id=o-AAb8nGRdXnnKfGfqkMGXiheWGkzvQspVWyy
yzi4LaNbj&ei=8J4jXKTdIIuQgAOlkZuwBA&ms=au%2Crdu&mt=1545838272&mv=m&ratebypass=ye
s'
[download] Resuming download at byte 4042611
[download] 【MAD_AMV】ヴァイオレット・エヴァーガーデン【Lemon】-TIthXhCSgPE.f140
.m4a has already been downloaded
[download] 100% of 3.86MiB
[ffmpeg] Merging formats into "【MAD_AMV】ヴァイオレット・エヴァーガーデン【Lemo
n】-TIthXhCSgPE.mp4"
[debug] ffmpeg command line: ffmpeg -y -i "file:【MAD_AMV】ヴァイオレット・エヴ
ァーガーデン【Lemon】-TIthXhCSgPE.f136.mp4" -i "file:【MAD_AMV】ヴァイオレット・
エヴァーガーデン【Lemon】-TIthXhCSgPE.f140.m4a" -c copy -map "0:v:0" -map "1:a:0
" "file:【MAD_AMV】ヴァイオレット・エヴァーガーデン【Lemon】-TIthXhCSgPE.temp.mp
4"
ERROR: file:【MAD_AMV】ヴァイオレット・エヴァーガーデン【Lemon】-TIthXhCSgPE.tem
p.mp4: Permission denied
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\bu
ild\youtube_dl\YoutubeDL.py", line 2048, in post_process
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\bu
ild\youtube_dl\postprocessor\ffmpeg.py", line 479, in run
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp5g6wx9_e\bu
ild\youtube_dl\postprocessor\ffmpeg.py", line 204, in run_ffmpeg_multiple_files
youtube_dl.postprocessor.ffmpeg.FFmpegPostProcessorError: file:【MAD_AMV】ヴァイ
オレット・エヴァーガーデン【Lemon】-TIthXhCSgPE.temp.mp4: Permission denied
...
<end of log>

Description of your issue, suggested solution and other information

The part is downloaded but can't merge. I've try running cmd with admin permission and have permission to write into destination folder as well. Running with --no-part added also gave the same error.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 26, 2018

Disable any AV/sync software and post outputs of:

ffmpeg -y -i "file:【MAD_AMV】ヴァイオレット・エヴァーガーデン【Lemon】-TIthXhCSgPE.f136.mp4" -i "file:【MAD_AMV】ヴァイオレット・エヴァーガーデン【Lemon】-TIthXhCSgPE.f140.m4a" -c copy -map "0:v:0" -map "1:a:0" "file:【MAD_AMV】ヴァイオレット・エヴァーガーデン【Lemon】-TIthXhCSgPE.temp.mp4"
ffmpeg -y -i "file:【MAD_AMV】ヴァイオレット・エヴァーガーデン【Lemon】-TIthXhCSgPE.f136.mp4" -i "file:【MAD_AMV】ヴァイオレット・エヴァーガーデン【Lemon】-TIthXhCSgPE.f140.m4a" -c copy -map "0:v:0" -map "1:a:0" "file:test.temp.mp4"
ffmpeg -y -i "file:【MAD_AMV】ヴァイオレット・エヴァーガーデン【Lemon】-TIthXhCSgPE.f136.mp4" -i "file:【MAD_AMV】ヴァイオレット・エヴァーガーデン【Lemon】-TIthXhCSgPE.f140.m4a" -c copy -map "0:v:0" -map "1:a:0" "test.temp.mp4"
@dstftw dstftw closed this Dec 26, 2018
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.