Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Feature : Please add a command line option (--no-OPTION) to disable one parameter already set in the "youtube-dl.conf" file (--OPTION value). #6056
Comments
|
You should remove Note there are already some options starting with '--no-', for example |
|
Actually, I can't remove the "--embed-thumbnail" option because I want all my MP4 videos to have a thumbnail. Can you propose a "--no-embed-thumbnail" or a "--config=FILE" option ? |
|
Just a clarification. You want embedded thumbnails in all videos but not in audios? |
|
Yes, that's it :) |
Hi,
I have the "--embed-thumbnail" option set in my "youtube-dl.conf".
The problem is when I download the audio of a youtube stream, youtube-dl embeds the thumbnail but I don't want the thumbnails in my audio files otherwise my hardware won't be to play them, see the last line of this output :
$ youtube-dl -f best -x -k https://www.youtube.com/watch?v=NLYggpNyQuo
[youtube] NLYggpNyQuo: Downloading webpage
[youtube] NLYggpNyQuo: Extracting video information
[youtube] NLYggpNyQuo: Downloading DASH manifest
[info] Writing video description to: Kacou_Severin_-Le_secret_de_l_onction_1__22__NLYggpNyQuo.description
[youtube] NLYggpNyQuo: Downloading thumbnail ...
[youtube] NLYggpNyQuo: Writing thumbnail to: Kacou_Severin_-Le_secret_de_l_onction_1__22__NLYggpNyQuo.jpg
[download] Kacou_Severin_-Le_secret_de_l_onction_1__22__NLYggpNyQuo.mp4 has already been downloaded
[download] 100% of 377.53MiB
[ffmpeg] Adding metadata to 'Kacou_Severin_-Le_secret_de_l_onction_1__22__NLYggpNyQuo.mp4'
[avconv] Destination: Kacou_Severin_-Le_secret_de_l_onction_1__22__NLYggpNyQuo.m4a
[ffmpeg] Subtitles can only be embedded in mp4 or mkv files
[atomicparsley] Adding thumbnail to "Kacou_Severin_-Le_secret_de_l_onction_1__22__NLYggpNyQuo.m4a"
$ avprobe Kacou_Severin_-Le_secret_de_l_onction_1__22__NLYggpNyQuo.m4a 2>&1 | egrep "Input|Duration:|Stream"
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Kacou_Severin_-Le_secret_de_l_onction_1__22__NLYggpNyQuo.m4a':
Duration: 02:28:30.14, start: 0.000000, bitrate: 194 kb/s
Stream #0.0(und): Audio: aac, 44100 Hz, stereo, fltp, 191 kb/s (default)
Stream #0.1: Video: mjpeg, yuvj420p, 1440x1080 [PAR 1:1 DAR 4:3], 90k tbn
A work around would be to specify another configuration file dedicated to audio downloads, such as :
--config=FILE Specify the location of a startup file you wish to use.
Can you help ?