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

Feature : Please add a command line option (--no-OPTION) to disable one parameter already set in the "youtube-dl.conf" file (--OPTION value). #6056

Open
sebma opened this issue Jun 23, 2015 · 4 comments
Labels

Comments

@sebma
Copy link

@sebma sebma commented Jun 23, 2015

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 ?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 23, 2015

You should remove --embed-thumbnail from youtube-dl.conf if it's not always used.

Note there are already some options starting with '--no-', for example --no-playlist and --no-check-certificate. Introducing such a feature can be a problem.

@sebma
Copy link
Author

@sebma sebma commented Jun 23, 2015

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 ?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 23, 2015

Just a clarification. You want embedded thumbnails in all videos but not in audios?

@sebma
Copy link
Author

@sebma sebma commented Jun 23, 2015

Yes, that's it :)

@yan12125 yan12125 added the request label Jun 23, 2015
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.