aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/postprocessor/ffmpeg.py
AgeCommit message (Collapse)Author
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.
2015-01-18Embed description and URL as MP4 tagsDavid Powell
2015-01-16FFmpegEmbedSubtitlePP: simplify commandJaime Marquínez Ferrándiz
2015-01-16FFmpegEmbedSubtitlePP: don't fail if the video doesn't have an audio stream ↵Jaime Marquínez Ferrándiz
(fixes #4718) Instead of specifying which streams ffmpeg must copy, we tell it to copy all.
2015-01-10[ffmpeg] Call encodeFilename on filenamesPhilipp Hagemeister
2015-01-10Merge remote-tracking branch 'ivan/muxed-mtime'Philipp Hagemeister
2015-01-10[youtube|ffmpeg] Automatically correct video with non-square pixels (Fixes ↵Philipp Hagemeister
#4674)
2015-01-09[ffmpeg] Correctly encode paths on WindowsPhilipp Hagemeister
On Python 2.x on Windows, if there are any unicode arguments in the command argument list, the whole list is converted to unicode internally. Therefore, we need to call encodeArgument on every argument. Fixes #4337 and #4668.
2015-01-04Don't use '-shortest' option for merging formats (closes #4220, closes #4580)Jaime Marquínez Ferrándiz
With avconv and older versions of ffmpeg the video is partially copied. The duration difference between the audio and the video seem to be really small, so it's probably not noticeable.
2014-12-15[YoutubeDL] Make postprocessors declarativePhilipp Hagemeister
Instead of having to configure PPs in code, this allows us and embedding programs not to worry about imports or finer details, similarly to how we handle IEs.
2014-12-06[ffmpeg] Improve version check and call it from hls (Fixes #4377)Philipp Hagemeister
2014-11-26[ffmpeg] ModernizePhilipp Hagemeister
2014-11-23PEP8: E225,E227Jouke Waleson
2014-11-23PEP8: more appliedJouke Waleson
2014-11-23PEP8 appliedJouke Waleson
2014-11-20Copy the mtime from the oldest source file to the file created by ffmpegIvan Kozik
Fixes #4245
2014-11-02[util] Move compatibility functions out of utilPhilipp Hagemeister
utils is large enough without these compatibility functions. Everything that is present in newer versions of Python (i.e. with dev Python it's just an import) goes into compat.py . Everything else (i.e. youtube-dl-specific helpers) goes into utils.py .
2014-11-02[ffmpeg] Move version detection to utilsPhilipp Hagemeister
2014-10-26Remove unused importsPhilipp Hagemeister
2014-10-26[ffmpeg] Fix typoPhilipp Hagemeister
2014-10-26[ffmpeg] Fix call to ffprobe (Fixes #4041)Philipp Hagemeister
2014-10-26[ffmpeg] Make downloader optional (Fixes #4039)Philipp Hagemeister
2014-10-26[ffmpeg] Also look into stderr for extracting the versionJaime Marquínez Ferrándiz
At least with avconv 11, it will print 'avconv version 11, ..' to stderr, not stdout.
2014-10-26[ffmpeg] Warn if ffmpeg/avconv version is too old (Fixes #4026)Philipp Hagemeister
2014-10-26[YoutubeDL] Output avconv/ffmpeg versions if -v is givenPhilipp Hagemeister
2014-10-13[ffmpeg] Improve format merging (Closes #3935)Philipp Hagemeister
2014-07-23[ffmpeg] PEP8 and a more obvious variable namePhilipp Hagemeister
2014-07-23Deletes temp files after postprocess merge unless -k option is specifiedrupertbaxter2
2014-05-16[ffmpeg] Correct argument encoding on Windows with Python 2.xPhilipp Hagemeister
Fixes #2924
2014-04-12Merge branch 'atomicparsley' (closes #2436)Jaime Marquínez Ferrándiz
2014-04-07[ffmpeg] Do not pass in byets to subprocess (Fixes #2717)Philipp Hagemeister
2014-03-30Add new --encoding option (Fixes #2650)Philipp Hagemeister
2014-03-26fix ffmpeg metadatapppulpe
2014-03-26fix ffmpeg error, if youtube-dl runs more than once with --embed-thumbnail ↵pulpe
with same video
2014-03-26add post processorpulpe
2014-01-17FFmpegMergerPP: Print an info message with the destination before running ffmpegJaime Marquínez Ferrándiz
2014-01-08Add ‘--prefer-avconv’ and ‘--prefer-ffmpeg’ options (#2115)Jaime Marquínez Ferrándiz
Affects the ffmpeg post processors, if ‘--prefer-ffmpeg’ is given and both avconv and ffmpeg are installed, it will use ffmpeg. Otherwise it will follow the old behaviour.