On 10/25/2017 06:21 PM, Cameron Simpson wrote:
On 25Oct2017 11:40, JD <jd1008@xxxxxxxxx> wrote:
On 10/25/2017 11:12 AM, Todd Zullinger wrote:
JD meant to write:
Is there a way to tell youtube-dl to save "the best formats of
audio and video" of a download into mp4.
I think the --merge-output-format option is what you're looking for:
https://github.com/rg3/youtube-dl/blob/master/README.md#video-format-options
Thanx!!!
That does it.
Just for interest and any further discussion, as a new youtube-dl user
this is what's in my config file:
--cache-dir '~/.cache/youtube-dl'
--format mp4
--add-metadata
--xattrs
-o '%(title)s--%(uploader)s--%(width)dx%(height)d.%(ext)s'
Thoughts, comments, suggestions?
Cheers,
Cameron Simpson <cs@xxxxxxxxxx> (formerly cs@xxxxxxxxxx)
Some merges into mp4 are failing. To wit:
[download] Destination: Calling Elvis--Dire Straits -
Topic--1920x1080.f137.mp4
[download] 100% of 24.04MiB in 00:05
[download] Destination: Calling Elvis--Dire Straits -
Topic--1920x1080.f251.webm
[download] 100% of 6.10MiB in 00:01
[ffmpeg] Merging formats into "Calling Elvis--Dire Straits -
Topic--1920x1080.mp4"
ERROR: Could not write header for output file #0 (incorrect codec
parameters ?): Operation not permitted
[ffmpeg] Adding metadata to 'Calling Elvis--Dire Straits -
Topic--1920x1080.mp4'
ERROR: [Errno 2] No such file or directory: 'Calling Elvis--Dire Straits
- Topic--1920x1080.mp4'
config file contains:
-ci
--merge-output-format mp4
--audio-quality 320k
--write-auto-sub
--sub-lang en
--add-metadata
--xattrs
-o '%(title)s--%(uploader)s--%(width)dx%(height)d.%(ext)s'
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx