Commit Graph

132 Commits (4ecc1fc6387d900b7d61d43a112becff9e293206)

Author SHA1 Message Date
Sergey M․ 40025ee2a3 [postprocessort/ffmpeg] Allow embedding webvtt into webm (Closes )
remitamine 2e7e561c1d Merge pull request from remitamine/ffmpegfd
[downloader/external] Add FFmpegFD
remitamine a755f82549 [ffmpeg] convert format ext to ffmpeg output formats codes
remitamine 090eb8e25f Merge pull request from remitamine/m3u8-fixup
Add fixup for media files produced by HlsNative downloader(fixes )
Yen Chi Hsuan e9c0cdd389 [jython] Introduce compat_os_name
os.name is always 'java' on Jython
remitamine f17f86513e Add fixup for media files produced by HlsNative downloader(fixes )
Yen Chi Hsuan 7360db05b4 [postprocessor/embedthumbnail] Allow mkv to embed thumbnails
Fixes 
Sergey M․ 611c1dd96e [refactor] Single quotes consistency
Jaime Marquínez Ferrándiz d4f8e83404 [FFmpegSubtitlesConvertorPP] remove unused variable
Jaime Marquínez Ferrándiz 7b8b007cd9 [FFmpegSubtitlesConvertorPP] remove intermediate srt files
Jaime Marquínez Ferrándiz 3547d26587 [FFmpegSubtitlesConvertorPP] correctly update the extension (fixes )
Jaime Marquínez Ferrándiz 7e62c2eb6d [FFmpegSubtitlesConvertorPP] fix not working when srt is used as the intermediate format between ttml/dfxp and other format
It was trying to use the ttml/dfxp file with ffmpeg, which doesn't have support for them.
I broke it in e04398e397.
remitamine 7d3a035ee0 [ffmpeg] check for m3u8 protocol in FFmpegMetadataPP
remitamine 593e0f43b4 [ffmpeg] fix condition(fixes )
remitamine 6fba62c87a [ffmpeg] fix adding metadata when using --hls-prefer-native()
remitamine fae45ede08 Merge pull request from remitamine/m3u8_metadata
[ffmpeg] fix adding metadata when using m3u8_native(fixes )
Jaime Marquínez Ferrándiz e04398e397 [FFmpegSubtitlesConvertorPP] delete old subtitle files (fixes )
remitamine cf57433bbd [ffmpeg] fix adding metadata when using m3u8_native(fixes )
Juan M Martínez 374c761e77 [FFmpegPostProcessor] Default of prefer ffmpeg
When no `downloader` is passed to `FFmpegPostProcessor`
an exception was raised trying to get the prefer ffmpeg param.

    AttributeError: 'NoneType' object has no attribute 'params'

This fixes and defaults to `False`.
Sergey M․ deb85c32bb [postprocessor/ffmpeg] Use ffmpeg as prefix since it's used all over the places (Closes )
Jaime Marquínez Ferrándiz 8a7bbd1606 [postprocessor/ffmpeg] Always use the 'file:' protocol for filenames (fixes )
If the filename contains ':' it is interpreted as a protocol.
It also handles filenames starting with '-'.
Jaime Marquínez Ferrándiz 3026164b16 [postprocessor/common] Use 'self._downloader.params' instead of 'self.params'
'self.params' is not defined
Sergey M․ 6270239a6d [postprocessor/common] Use generalized cli option converters
Jaime Marquínez Ferrándiz 9750e7d70e [postprocessor/ffmpeg] Don't use '[youtube] ...' in messages
Because it can be used for other extractors.
Sergey M․ 15006fedb9 [postprocessor/ffmpeg] Spread postprocessor args usage on all ffmpeg extractors
Sergey M․ e35b23f54d [postprocessor/common] Improve postprocessor args fetching and clarify doc
Sergey M․ f72b0a6032 Revert xvid to avi and make docs to be similar to existing external downloader option
Sergey M․ ac9ed061ec Merge branch 'master' of https://github.com/aurium/youtube-dl into aurium-master
Aurélio A. Heckert aa5d9a79d6 Simplify `postprocessor_args` transmission to PP base class
* Remove `extra_cmd_args` transmission from sub to super class.
* Simplify params transmission through `downloader.params`.
Aurélio A. Heckert 1866432db7 Rename --pp-params to --postprocessor-args and access value as super class attribute
Yen Chi Hsuan 396726244a [utils/ffmpeg] Move ISO 639 related codes to utils
Yen Chi Hsuan c33a8639a7 [postprocessor/embedthumbnail] Skipping if thumbnail file missing
Fixes 
Aurélio A. Heckert 14835de9fb Use shlex.split for --pp-params and update related docs.
Aurélio A. Heckert d84f1d14b5 Adds support for XviD output with extra parametrization
As the "LG Time Machine" (a (not so) smart TV) has a limitation for video dimensions (as for codecs), I take to implement an extra parameter `--pp-params` where we can send extra parameterization for the video converter (post-processor).

Example:
```
$ youtube-dl --recode-video=xvid --pp-params='-s 720x480' -c https://www.youtube.com/watch?v=BE7Qoe2ZiXE
```
That works fine on a 4yo LG Time Machine.

Closes 
pulpe d6aa68ce75 [postprocessor/embedthumbnail] embed mp4 too (fixes )
Sergey M․ 98b8ec8616 Merge branch 'best-fallback-on-outdated-avconv' of https://github.com/dstftw/youtube-dl into dstftw-best-fallback-on-outdated-avconv
Conflicts:
	youtube_dl/YoutubeDL.py
Yen Chi Hsuan c827d4cfdb [xattr] Enhanced error messages on Windows
Yen Chi Hsuan fbff30d2db [xattr] Catch 'Argument list too long'
Yen Chi Hsuan 86c7fdb17c [xattr] Enhance error handling to catch ENOSPC
Fixes 
Yen Chi Hsuan 2cc6d13547 [postprocessor/embedthumbnail] Encode arguments in calling AtomicParsley
Yen Chi Hsuan bb8ca1d112 [postprocessor/embedthumbnail] Use run_ffmpeg_multiple_files
Yen Chi Hsuan 8e59539752 [postprocessor/embedthumbnail] Use thumbnails downloaded by YoutubeDL
Sergey M․ 13763ce599 [postprocessor/ffmpeg] Add `can_merge` method
Sergey M․ 70484b9f8a [postprocessor/ffmpeg] Extract `check_outdated` method
Jaime Marquínez Ferrándiz 69b46b3d95 ExecAfterDownloadPP: fix __init__ method
Jaime Marquínez Ferrándiz 95c5534f8e ExecAfterDownloadPP, YoutubeDL: remove unused parameters
Nikoli 083c1bb960 Add ability to embed subtitles in mkv files (closes )
pulpe 2a09c1b8ab [postprocessor/embedthumbnail] Fix mp3 embedding with avconv (fixes )
Yen Chi Hsuan bf6427d2fb [ffmpeg] Add dfxp (TTML) subtitles support (, )
Jaime Marquínez Ferrándiz 92995e6265 [postprocessor/embedthumbnail] Style fix