aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/postprocessor/ffmpeg.py
AgeCommit message (Collapse)Author
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-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-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-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
2015-05-11[postprocessor/ffmpeg] Add `can_merge` methodSergey M․
2015-05-11[postprocessor/ffmpeg] Extract `check_outdated` methodSergey M․
2015-05-01Add ability to embed subtitles in mkv files (closes #5434)Nikoli
2015-04-25[ffmpeg] Add dfxp (TTML) subtitles support (#3432, #5146)Yen Chi Hsuan
2015-04-24[ffmpeg] Remove unneeded classpulpe
2015-04-24[embedthumbnail] Add support for mp3 cover embeddingpulpe
2015-04-19Detect already merged videosJaime Marquínez Ferrándiz
Without the '--keep-video' option the two files would be downloaded again and even using the option, ffmpeg would be run again, which for some videos can take a long time. We use a temporary file with ffmpeg so that the final file only exists if it success
2015-04-18FFmpegMergerPP: use the new system for specifying which files can be deleteJaime Marquínez Ferrándiz
2015-04-18FFmpegEmbedSubtitlePP: remove the subtitle files if '--keep-video' is not ↵Jaime Marquínez Ferrándiz
given (closes #5435)
2015-04-18Postprocessors: use a list for the files that can be deletedJaime Marquínez Ferrándiz
We could only know if we had to delete the original file, but this system allows to specify us more files (like subtitles).
2015-04-17FFmpegExtractAudioPP: Simplify handling of already existing filesJaime Marquínez Ferrándiz
2015-04-08[postprocessor/common:postprocessor/ffmpeg] Generalize utimeSergey M․
2015-04-07[ffmpeg] adding exception catching for call to os.utime in ↵Pete Hemery
run_ffmpeg_multiple_files
2015-04-03[postprocessor/ffmpeg] Fix crash when ffprobe/avprobe are not installed ↵Jaime Marquínez Ferrándiz
(closes #5349) 'self.probe_basename' was None, so 'probe_executable' raised a KeyError exception
2015-03-27Don't use bare 'except:'Jaime Marquínez Ferrándiz
They catch any exception, including KeyboardInterrupt, we don't want to catch it.
2015-03-14[metadatafromtitle] Some improvements and cleanupJaime Marquínez Ferrándiz
* Remove the 'songtitle' field, 'title' can be used instead. * Remove newlines in the help text, for consistency with other options. * Add 'from __future__ import unicode_literals'. * Call '__init__' from the parent class. * Add test for the format_to_regex method
2015-03-14Add metadata from title parserphiresky
(Closes #5125)
2015-02-28Add postprocessor for converting subtitles (closes #4954)Jaime Marquínez Ferrándiz
2015-02-23Merge branch 'subtitles-rework'Jaime Marquínez Ferrándiz
(Closes PR #4964)
2015-02-17[ffmpeg] Remove trivial helper methodPhilipp Hagemeister
2015-02-17[ffmpeg] Make available a propertyPhilipp Hagemeister
2015-02-16[YoutubeDL] store the subtitles to download in the 'requested_subtitles' fieldJaime Marquínez Ferrándiz
We need to keep the orginal subtitles information, so that the '--load-info' option can be used to list or select the subtitles again. We'll also be able to have a separate field for storing the automatic captions info.
2015-02-16Improve subtitles supportJaime Marquínez Ferrándiz
For each language the extractor builds a list with the available formats sorted (like for video formats), then YoutubeDL selects one of them using the '--sub-format' option which now allows giving the format preferences (for example 'ass/srt/best'). For each format the 'url' field can be set so that we only download the contents if needed, or if the contents needs to be processed (like in crunchyroll) the 'data' field can be used. The reasons for this change are: * We weren't checking that the format given with '--sub-format' was available, checking it in each extractor would be repetitive. * It allows to easily support giving a format preference. * The subtitles were automatically downloaded in the extractor, but I think that if you use for example the '--dump-json' option you want to finish as fast as possible. Currently only the ted extractor has been updated, but the old system still works.
2015-02-16Merge remote-tracking branch 'origin/master'Philipp Hagemeister
2015-02-16[ffmpeg] Add --ffmpeg-locationPhilipp Hagemeister
2015-02-13[postprocessor/ffmpeg] Don't let ffmpeg read from stdin (fixes #4945)Jaime Marquínez Ferrándiz
If you run 'while read aurl ; do youtube-dl --extract-audio "${aurl}"; done < path_to_batch_file' (batch_file contains one url per line) each call to youtube-dl consumed some characters and 'read' would assing to 'aurl' a non valid url, something like 'tube.com/watch?v=<id>'.
2015-02-06[ffmpeg] --extrac-audio: Use the same options for avconv and ffmpegJaime Marquínez Ferrándiz
They have been available in ffmpeg since version 0.9, and we require 1.0 or higher.
2015-02-03[ffmpeg] --add-metadata: Set comment and purl fields (Fixes #4847)Philipp Hagemeister
2015-01-23[youtube] Fixup DASH m4a headersPhilipp Hagemeister
This fixes #2288, #2506, #2607, #3681, #4741, #4767.