Commit Graph

49 Commits (c2934512c29e300e7a525c339751c9a8bde65e1b)

Author SHA1 Message Date
pukkandan 55b53b338b [ExtractAudio] Bugfix for 1de75fa129
Fixes: #58
:ci skip dl
4 years ago
pukkandan 1de75fa129 [ExtractAudio] Don't re-encode when file is already in a common audio format (Closes #58)
Fixes: https://github.com/blackjack4494/youtube-dlc/issues/214
Fixes: https://github.com/ytdl-org/youtube-dl/issues/28006
4 years ago
pukkandan 068693675e Cleanup some code and fix typos
:ci skip dl
4 years ago
pukkandan 584bab3766 [sponskrub] Print ffmpeg output and errors to terminal
The ffmpeg run can be long when using `--sponskrub-cut`. So progress needs to be printed

:ci skip dl
4 years ago
pukkandan cffab0eefc [embedsubtitle] Keep original subtitle after conversion if write_subtitles given
Closes: https://github.com/pukkandan/yt-dlp/issues/57#issuecomment-775227745

:ci skip dl
4 years ago
pukkandan 2e339f59c3 [embedthumbnail] Keep original thumbnail after conversion if write_thumbnail given (Closes #67)
Closes https://github.com/ytdl-org/youtube-dl/issues/27041

:ci skip dl
4 years ago
pukkandan 06ff212d64 [documentation] Crypto is an optional dependency 4 years ago
pukkandan 1bf540d28b [sponskrub] Don't raise error when the video does not exist
Eg: `--convert-sub srt --no-download --sponskrub` gave error before

:ci skip dl
4 years ago
pukkandan 8a0b932258 [movefiles] Fix compatibility with python2
:ci skip dl
4 years ago
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
4 years ago
pukkandan e3b771a898 fix typos :ci skip dl 4 years ago
pukkandan 7c245ce877 [metadatafromtitle] Fix bug when extracting data from numeric fields
:ci skip dl
4 years ago
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
4 years ago
pukkandan 66c935fb16 Linter and misc cleanup
:ci skip dl
4 years ago
pukkandan ece8a2a1b6 [embedthumbnail] Fix for missing output filename for ffmpeg call (Closes #38) 4 years ago
pukkandan 179122495b [ffmpeg] Document more formats that are supported for remux/recode 4 years ago
pukkandan 06167fbbd3
#31 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
4 years ago
pukkandan e4172ac903 Deprecate avconv/avprobe
All current functionality is left untouched. But don't expect any new features to work with avconv

:ci skip all
4 years ago
pukkandan 5bfa486205 Add option `--parse-metadata`
* The fields extracted by this can be used in `--output`
* Deprecated `--metadata-from-title`

:ci skip dl
4 years ago
pukkandan 9882064024 [movefiles] Don't give "cant find" warning when move is unnecessary 4 years ago
pukkandan 2d6921210d [postprocessor] fix write_debug when no _downloader 4 years ago
pukkandan c571435f9c [MoveFiles] More robust way to get final filename
:ci skip dl
4 years ago
pukkandan 0202b52a0c #29 New option `-P`/`--paths` to give different paths for different types of files
Syntax: `-P "type:path" -P "type:path"`
Types: home, temp, description, annotation, subtitle, infojson, thumbnail
4 years ago
pukkandan 256ed01025 [sponskrub] Print "unrecognized args" message correctly 4 years ago
pukkandan eab9b2bcaf Modified function `cli_configuration_args`
to directly parse new format of `postprocessor_args` and `external_downloader_args`
4 years ago
pukkandan fbced7341d [sponskrub] Better debug output and error message 4 years ago
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
4 years ago
pukkandan 67002a5ad8 [EmbedThumbnail] Simplify embedding in mkv (Closes #22) 4 years ago
pukkandan 477cf32f37 [sponskrub] Encode filenames correctly 4 years ago
pukkandan 44af9751a7 Print full error in verbose for sponskrub 4 years ago
pukkandan 806b05cf7a Fix write_debug in EmbedThumbnail
Closes #17
4 years ago
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
4 years ago
pukkandan f5b1bca913 Kill child processes when yt-dlc is killed (https://github.com/ytdl-org/youtube-dl/pull/26592)
Authored by: Unrud
4 years ago
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"`
4 years ago
Jody Bruchon e0da59fe54 ffmpeg: ignore extra data streams with `-dn` (fixes #2)
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.
4 years ago
pukkandan c76eb41bb9 Preparing for release 4 years ago
pukkandan a9e7f54670 Sponskrub integration 4 years ago
pukkandan e51f368c27 Fix for embedding thumbnail in mp3 by pauldubois98
Authored-by: Paul Dubois <pauldubois98@gmail.com>
4 years ago
Tom-Oliver Heidel 6248b34ad2
Merge pull request #207 from pukkandan/thumbnail-rename
[ffmpeg] Fix for os.rename error when embedding thumbnail to video in a different drive on windows
4 years ago
pukkandan ec57f903c9 Don't try to delete file if it doesn't exist 4 years ago
pukkandan 958804ad4e Ensure all streams are copied when using ffmpeg 4 years ago
pukkandan 55faba7ed7 Fix for os.rename error when embedding thumbnail to video in a different drive 4 years ago
pukkandan 503d4a44f6 Don't try to embed/convert json subtitles generated by youtube livechat 4 years ago
Tom-Oliver Heidel cd93279de8 Merge branch 'ext/remuxe-video' of https://github.com/Zocker1999NET/youtube-dl into Zocker1999NET-ext/remuxe-video 4 years ago
Tom-Oliver Heidel acdb1a4ec6 Merge branch 'arbitrary-merges' of https://github.com/fstirlitz/youtube-dlc 4 years ago
felix d03cfdce1b Support arbitrary stream merges
With this change, the merge operator may join any number of media streams,
video or audio. The streams are downloaded in the order specified.

Also, fix the metadata post-processor so that it doesn't leave out
any streams.
4 years ago
Unknown e69dd78090 merge ytdl-master 4 years ago
Tom-Oliver Heidel 3c0c0b428d Merge branch 'mkvthumbnail' of https://github.com/MrDoritos/youtube-dl into MrDoritos-mkvthumbnail 4 years ago
Unknown cefecac12c [skip travis] renaming
to avoid using same folder when using pip install for example
4 years ago