--format='bestvideo+bestaudio': temporary files are not removed #2286

Closed
opened 2026-02-21 00:18:34 -05:00 by deekerman · 1 comment
Owner

Originally created by @Nikoli on GitHub (May 10, 2014).

I think temporary files should be removed by default:

$ youtube-dl --format='bestvideo+bestaudio' https://www.youtube.com/watch?v=MjQG1s3Isgg
[youtube] Setting language
[youtube] MjQG1s3Isgg: Downloading webpage
[youtube] MjQG1s3Isgg: Downloading video info webpage
[youtube] MjQG1s3Isgg: Extracting video information
[download] Destination: Сухой Т-50 ПАК ФА МАКС 2013 солнечно Sukhoi T-50 PAK FA MAKS 2013 sunny-MjQG1s3Isgg.f137.mp4
[download] 100% of 230.31MiB in 00:25
[download] Destination: Сухой Т-50 ПАК ФА МАКС 2013 солнечно Sukhoi T-50 PAK FA MAKS 2013 sunny-MjQG1s3Isgg.f140.m4a
[download] 100% of 12.87MiB in 00:01
[ffmpeg] Merging formats into "Сухой Т-50 ПАК ФА МАКС 2013 солнечно Sukhoi T-50 PAK FA MAKS 2013 sunny-MjQG1s3Isgg.mp4"
$ ls
Сухой Т-50 ПАК ФА МАКС 2013 солнечно Sukhoi T-50 PAK FA MAKS 2013 sunny-MjQG1s3Isgg.f137.mp4  Сухой Т-50 ПАК ФА МАКС 2013 солнечно Sukhoi T-50 PAK FA MAKS 2013 sunny-MjQG1s3Isgg.mp4
Сухой Т-50 ПАК ФА МАКС 2013 солнечно Sukhoi T-50 PAK FA MAKS 2013 sunny-MjQG1s3Isgg.f140.m4a
$ youtube-dl --version
2014.05.05
Originally created by @Nikoli on GitHub (May 10, 2014). I think temporary files should be removed by default: ``` $ youtube-dl --format='bestvideo+bestaudio' https://www.youtube.com/watch?v=MjQG1s3Isgg [youtube] Setting language [youtube] MjQG1s3Isgg: Downloading webpage [youtube] MjQG1s3Isgg: Downloading video info webpage [youtube] MjQG1s3Isgg: Extracting video information [download] Destination: Сухой Т-50 ПАК ФА МАКС 2013 солнечно Sukhoi T-50 PAK FA MAKS 2013 sunny-MjQG1s3Isgg.f137.mp4 [download] 100% of 230.31MiB in 00:25 [download] Destination: Сухой Т-50 ПАК ФА МАКС 2013 солнечно Sukhoi T-50 PAK FA MAKS 2013 sunny-MjQG1s3Isgg.f140.m4a [download] 100% of 12.87MiB in 00:01 [ffmpeg] Merging formats into "Сухой Т-50 ПАК ФА МАКС 2013 солнечно Sukhoi T-50 PAK FA MAKS 2013 sunny-MjQG1s3Isgg.mp4" $ ls Сухой Т-50 ПАК ФА МАКС 2013 солнечно Sukhoi T-50 PAK FA MAKS 2013 sunny-MjQG1s3Isgg.f137.mp4 Сухой Т-50 ПАК ФА МАКС 2013 солнечно Sukhoi T-50 PAK FA MAKS 2013 sunny-MjQG1s3Isgg.mp4 Сухой Т-50 ПАК ФА МАКС 2013 солнечно Sukhoi T-50 PAK FA MAKS 2013 sunny-MjQG1s3Isgg.f140.m4a $ youtube-dl --version 2014.05.05 ```
deekerman 2026-02-21 00:18:34 -05:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@jaimeMF commented on GitHub (May 10, 2014):

Duplicate of #2108, hopefully it will be implemented some day.

@jaimeMF commented on GitHub (May 10, 2014): Duplicate of #2108, hopefully it will be implemented some day.
Sign in to join this conversation.
No milestone
No project
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#2286
No description provided.