aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/postprocessor
AgeCommit message (Collapse)Author
2016-10-20Revert "[postprocessor/embedthumbnail] Allow mkv to embed thumbnails"Yen Chi Hsuan
This reverts commit 7360db05b43741c2dfa1fd024e9c2f013ed97c9e. This commit was added as an attempt to fix #6046. Unfortunately, the fix is completely wrong. As reported on #10359, embedded thumbnails are not displayed in VLC, and Se7en on IRC reports that the embedded thumbnail misleads mpv as well. The correct way is using -attachment of ffmpeg, while the current run_ffmpeg_multiple_files API can't handle it cleanly.
2016-10-16[postprocessor/ffmpeg] PEP 8Sergey M․
2016-10-16[postprocessor/ffmpeg] Return correct filepath and ext in updated ↵Pierre Mdawar
information in FFmpegExtractAudioPP Return correct audio's filepath and ext instead of the video's when extracting audio and audio file already exists.
2016-10-03Unify coding cookieDéstin Reed
2016-09-30Move write_xattr to utils.pyYen Chi Hsuan
There are some other places that use xattr functions. It's better to move it to a common place so that others can use it.
2016-09-16[postprocessor/ffmpeg] apply FFmpegFixupM3u8PP only for videos with aac ↵Remita Amine
codec(#5591)
2016-08-09[metadatafromtitle] Remove unused exception classSergey M․
2016-08-09Make --metadata-from-title non fatalnyorain
Output a warning if the metadata can't be parsed from the title (and don't write any metadata) instead of raising a critical error.
2016-07-15Revert "[ffmpeg] Fix embedding subtitles (#9063)"Yen Chi Hsuan
This reverts commit ccff2c404d7ea9f5b21ede8ae57bb79feec7eb94. Fixes #10081. The new approach breaks embedding subtitles into video-only or audio-only files. FFMpeg provides a trick: add '?' after the argument of '-map' so that a missing stream is ignored. For example: opts = [ '-map', '0:v?', '-c:v', 'copy', '-map', '0:a?', '-c:a', 'copy', # other options... ] Unfortunately, such a format is not implemented in avconv, either. I guess adding '-ignore_unknown' if self.basename == 'ffmpeg' is the best solution. However, the example mentioned in #9063 no longer serves problematic files, so I can't test it. I'll reopen #9063 and wait for another example so that I can test '-ignore_unknown'.
2016-07-09Merge pull request #9288 from reyyed/issue#9063fixYen Chi Hsuan
[ffmpeg] Fix embedding subtitles (#9063)
2016-05-10[compat] Rename shlex_quote and remove unused subprocess_check_outputYen Chi Hsuan
2016-05-01[postprocessor/ffmpeg] Simplify metadata preparation and add track related ↵Sergey M․
metafields (Closes #9357)
2016-04-24[ffmpeg] Fix embedding subtitles (#9063)Wang Jun Tham
Changed command line parameters for ffmpeg when embedding subtitles. Changed to ‘-map 0:v -c:v copy -map 0:a -c:a copy’
2016-04-16[ffmpeg] Clarify rationale for pipe(-) exclusion in _ffmpeg_filename_argumentremitamine
2016-04-16[ffmpeg] check for - file name in _ffmpeg_filename_argumentremitamine
2016-04-01[ffmpeg] try to convert tt subtitles usng dfxp2srtremitamine
2016-03-20[postprocessort/ffmpeg] Allow embedding webvtt into webm (Closes #8874)Sergey M․
2016-03-13Merge pull request #8611 from remitamine/ffmpegfdremitamine
[downloader/external] Add FFmpegFD
2016-03-13[ffmpeg] convert format ext to ffmpeg output formats codesremitamine
2016-03-05Merge pull request #8718 from remitamine/m3u8-fixupremitamine
Add fixup for media files produced by HlsNative downloader(fixes #4776)
2016-03-03[jython] Introduce compat_os_nameYen Chi Hsuan
os.name is always 'java' on Jython
2016-03-01Add fixup for media files produced by HlsNative downloader(fixes #4776)remitamine
2016-02-21[postprocessor/embedthumbnail] Allow mkv to embed thumbnailsYen Chi Hsuan
Fixes #6046
2016-02-14[refactor] Single quotes consistencySergey M․
2016-02-06[FFmpegSubtitlesConvertorPP] remove unused variableJaime Marquínez Ferrándiz
2016-02-06[FFmpegSubtitlesConvertorPP] remove intermediate srt filesJaime Marquínez Ferrándiz
2016-02-06[FFmpegSubtitlesConvertorPP] correctly update the extension (fixes #8444)Jaime Marquínez Ferrándiz
2016-02-06[FFmpegSubtitlesConvertorPP] fix not working when srt is used as the ↵Jaime Marquínez Ferrándiz
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 e04398e397d4a4f7e0d0994355d5a94c22441e7c.
2016-02-05[ffmpeg] check for m3u8 protocol in FFmpegMetadataPPremitamine
2016-02-05[ffmpeg] fix condition(fixes #8440)remitamine
2016-02-02[ffmpeg] fix adding metadata when using --hls-prefer-native(#8350)remitamine
2016-02-02Merge pull request #8354 from remitamine/m3u8_metadataremitamine
[ffmpeg] fix adding metadata when using m3u8_native(fixes #8350)
2016-01-31[FFmpegSubtitlesConvertorPP] delete old subtitle files (fixes #8382)Jaime Marquínez Ferrándiz
2016-01-28[ffmpeg] fix adding metadata when using m3u8_native(fixes #8350)remitamine
2015-12-09[FFmpegPostProcessor] Default of prefer ffmpegJuan M Martínez
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`.
2015-11-06[postprocessor/ffmpeg] Use ffmpeg as prefix since it's used all over the ↵Sergey M․
places (Closes #7371)
2015-09-18[postprocessor/ffmpeg] Always use the 'file:' protocol for filenames (fixes ↵Jaime Marquínez Ferrándiz
#6874) If the filename contains ':' it is interpreted as a protocol. It also handles filenames starting with '-'.
2015-09-05[postprocessor/common] Use 'self._downloader.params' instead of 'self.params'Jaime Marquínez Ferrándiz
'self.params' is not defined
2015-09-05[postprocessor/common] Use generalized cli option convertersSergey M․
2015-07-14[postprocessor/ffmpeg] Don't use '[youtube] ...' in messagesJaime Marquínez Ferrándiz
Because it can be used for other extractors.
2015-07-11[postprocessor/ffmpeg] Spread postprocessor args usage on all ffmpeg extractorsSergey M․
2015-07-11[postprocessor/common] Improve postprocessor args fetching and clarify docSergey M․
2015-07-11Revert xvid to avi and make docs to be similar to existing external ↵Sergey M․
downloader option
2015-07-11Merge branch 'master' of https://github.com/aurium/youtube-dl into aurium-masterSergey M․
2015-07-01Simplify `postprocessor_args` transmission to PP base classAurélio A. Heckert
* Remove `extra_cmd_args` transmission from sub to super class. * Simplify params transmission through `downloader.params`.
2015-06-30Rename --pp-params to --postprocessor-args and access value as super class ↵Aurélio A. Heckert
attribute
2015-06-21[utils/ffmpeg] Move ISO 639 related codes to utilsYen Chi Hsuan
2015-06-18[postprocessor/embedthumbnail] Skipping if thumbnail file missingYen Chi Hsuan
Fixes #5996
2015-06-16Use shlex.split for --pp-params and update related docs.Aurélio A. Heckert
2015-06-09Adds support for XviD output with extra parametrizationAurélio A. Heckert
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 #5733