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

--get-filename returns incorrect filename if output file gets merged #11472

Closed
4 of 8 tasks
nixxquality opened this issue Dec 18, 2016 · 1 comment
Closed
4 of 8 tasks

Comments

@nixxquality
Copy link

  • I've verified and I assure that I'm running youtube-dl 2016.12.15
  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

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 --get-filename https://www.youtube.com/watch?v=HEv_9fQBWVY
CrossFit for Chickens-HEv_9fQBWVY.mp4
$ youtube-dl https://www.youtube.com/watch?v=HEv_9fQBWVY
[youtube] HEv_9fQBWVY: Downloading webpage
[youtube] HEv_9fQBWVY: Downloading video info webpage
[youtube] HEv_9fQBWVY: Extracting video information
[youtube] HEv_9fQBWVY: Downloading MPD manifest
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[download] Destination: CrossFit for Chickens-HEv_9fQBWVY.f136.mp4
[download] 100% of 16.32MiB in 00:00
[download] Destination: CrossFit for Chickens-HEv_9fQBWVY.f251.webm
[download] 100% of 1.36MiB in 00:00
[ffmpeg] Merging formats into "CrossFit for Chickens-HEv_9fQBWVY.mkv"
Deleting original file CrossFit for Chickens-HEv_9fQBWVY.f136.mp4 (pass -k to keep)
Deleting original file CrossFit for Chickens-HEv_9fQBWVY.f251.webm (pass -k to keep)

The --get-filename function should check if mkv merge is needed, and return a proper filename.

@dstftw
Copy link
Collaborator

dstftw commented Dec 18, 2016

Duplicate of #5710.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants