Commit Graph

24 Commits (5e41dca334b152d3757cff318c5f72843aeea255)

Author SHA1 Message Date
pukkandan 2e339f59c3 [embedthumbnail] Keep original thumbnail after conversion if write_thumbnail given (Closes )
Closes https://github.com/ytdl-org/youtube-dl/issues/27041

:ci skip dl
pukkandan 06ff212d64 [documentation] Crypto is an optional dependency
pukkandan de6000d913 Multiple output templates for different file types
Syntax: -o common_template -o type:type_template
Types supported: subtitle|thumbnail|description|annotation|infojson|pl_description|pl_infojson
pukkandan e3b771a898 fix typos :ci skip dl
pukkandan e38df8f9fa Refactor `update-version`, `pyinst.py` and related files
* Refactor update-version
* Moved pyinst, update-version and icon into devscripts
* pyinst doesn't bump version anymore
* Merge pyinst and pyinst32. Usage: `pyinst.py [32|64]`
* Add mutagen as requirement
* Remove make_win and related files
pukkandan 66c935fb16 Linter and misc cleanup
:ci skip dl
pukkandan ece8a2a1b6 [embedthumbnail] Fix for missing output filename for ffmpeg call (Closes )
pukkandan 06167fbbd3
Features from animelover1984/youtube-dl
* Add `--get-comments`
* [youtube] Extract comments
* [billibilli] Added BiliBiliSearchIE, BilibiliChannelIE
* [billibilli] Extract comments
* [billibilli] Better video extraction
* Write playlist data to infojson
* [FFmpegMetadata] Embed infojson inside the video
* [EmbedThumbnail] Try embedding in mp4 using ffprobe and `-disposition`
* [EmbedThumbnail] Treat mka like mkv and mov like mp4
* [EmbedThumbnail] Embed in ogg/opus
* [VideoRemuxer] Conditionally remux video
* [VideoRemuxer] Add `-movflags +faststart` when remuxing from mp4
* [ffmpeg] Print entire stderr in verbose when there is error
* [EmbedSubtitle] Warn when embedding ass in mp4
* [avanto] Use NFLTokenGenerator if possible
pukkandan 43820c0370 Improved passing of multiple postprocessor-args
* Added `PP+exe:args` syntax
    If `PP+exe:args` is specifically given, only it used.
    Otherwise, `PP:args` and `exe:args` are combined.
    If none of the `PP`, `exe` or `PP+exe` args are given, `default` is used
    `Default` is purposely left undocumented since it exists only for backward compatibility

* Also added proper handling of args in `EmbedThumbnail`

Related: https://github.com/ytdl-org/youtube-dl/pull/27723
pukkandan 67002a5ad8 [EmbedThumbnail] Simplify embedding in mkv (Closes )
pukkandan 806b05cf7a Fix write_debug in EmbedThumbnail
Closes 
pukkandan f446cc6667 Create `to_screen` and similar functions in postprocessor/common
`to_screen`, `report_warning`, `report_error`, `write_debug`, `get_param`

This is a first step in standardizing these function. This has to be done eventually for extractors and downloaders too
pukkandan f5b1bca913 Kill child processes when yt-dlc is killed (https://github.com/ytdl-org/youtube-dl/pull/26592)
Authored by: Unrud
pukkandan 1b77b347d4 Allow passing different arguments to different postprocessors
* Also deprecated --sponskrub-args

Closes: https://github.com/ytdl-org/youtube-dl/issues/27593
Eg: `--postprocessor-args "VideoConvertor:-c:v h264_nvenc -preset slow"`
Eg: `--postprocessor-args "SponsKrub:-include-selfpromo"`

For backward compatibility, `--postprocessor-args args` is equivalent to:
`--post-processor-args "sponskrub:" --post-processor-args "default:args"`
Jody Bruchon e0da59fe54 ffmpeg: ignore extra data streams with `-dn` (fixes )
Sometimes, video files will arrive with a timecode data stream
that causes `-map 0` to error out due to the stream not being
supported in the output container. These data streams generally do
not matter, so tell ffmpeg to ignore them rather than choking on
them.
pukkandan c76eb41bb9 Preparing for release
pukkandan e51f368c27 Fix for embedding thumbnail in mp3 by pauldubois98
Authored-by: Paul Dubois <pauldubois98@gmail.com>
Tom-Oliver Heidel 6248b34ad2
Merge pull request from pukkandan/thumbnail-rename
[ffmpeg] Fix for os.rename error when embedding thumbnail to video in a different drive on windows
pukkandan ec57f903c9 Don't try to delete file if it doesn't exist
pukkandan 958804ad4e Ensure all streams are copied when using ffmpeg
pukkandan 55faba7ed7 Fix for os.rename error when embedding thumbnail to video in a different drive
Unknown e69dd78090 merge ytdl-master
Tom-Oliver Heidel 3c0c0b428d Merge branch 'mkvthumbnail' of https://github.com/MrDoritos/youtube-dl into MrDoritos-mkvthumbnail
Unknown cefecac12c [skip travis] renaming
to avoid using same folder when using pip install for example