summaryrefslogtreecommitdiffstats
path: root/youtube_dl/postprocessor/ffmpeg.py
Commit message (Collapse)AuthorAgeFilesLines
...
* [postprocessor/ffmpeg] Spread postprocessor args usage on all ffmpeg extractorsSergey M․2015-07-111-5/+7
|
* Revert xvid to avi and make docs to be similar to existing external ↵Sergey M․2015-07-111-5/+3
| | | | downloader option
* Merge branch 'master' of https://github.com/aurium/youtube-dl into aurium-masterSergey M․2015-07-111-3/+8
|\
| * Simplify `postprocessor_args` transmission to PP base classAurélio A. Heckert2015-07-011-4/+4
| | | | | | | | | | * Remove `extra_cmd_args` transmission from sub to super class. * Simplify params transmission through `downloader.params`.
| * Rename --pp-params to --postprocessor-args and access value as super class ↵Aurélio A. Heckert2015-06-301-6/+5
| | | | | | | | attribute
| * Adds support for XviD output with extra parametrizationAurélio A. Heckert2015-06-091-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | [utils/ffmpeg] Move ISO 639 related codes to utilsYen Chi Hsuan2015-06-211-194/+2
|/
* [postprocessor/ffmpeg] Add `can_merge` methodSergey M․2015-05-111-4/+17
|
* [postprocessor/ffmpeg] Extract `check_outdated` methodSergey M․2015-05-111-0/+4
|
* Add ability to embed subtitles in mkv files (closes #5434)Nikoli2015-05-011-3/+4
|
* [ffmpeg] Add dfxp (TTML) subtitles support (#3432, #5146)Yen Chi Hsuan2015-04-251-0/+25
|
* [ffmpeg] Remove unneeded classpulpe2015-04-241-15/+0
|
* [embedthumbnail] Add support for mp3 cover embeddingpulpe2015-04-241-0/+2
|
* Detect already merged videosJaime Marquínez Ferrándiz2015-04-191-1/+3
| | | | | 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
* FFmpegMergerPP: use the new system for specifying which files can be deleteJaime Marquínez Ferrándiz2015-04-181-7/+2
|
* FFmpegEmbedSubtitlePP: remove the subtitle files if '--keep-video' is not ↵Jaime Marquínez Ferrándiz2015-04-181-2/+3
| | | | given (closes #5435)
* Postprocessors: use a list for the files that can be deletedJaime Marquínez Ferrándiz2015-04-181-17/+17
| | | | We could only know if we had to delete the original file, but this system allows to specify us more files (like subtitles).
* FFmpegExtractAudioPP: Simplify handling of already existing filesJaime Marquínez Ferrándiz2015-04-171-8/+7
|
* [postprocessor/common:postprocessor/ffmpeg] Generalize utimeSergey M․2015-04-081-8/+4
|
* [ffmpeg] adding exception catching for call to os.utime in ↵Pete Hemery2015-04-071-1/+5
| | | | run_ffmpeg_multiple_files
* [postprocessor/ffmpeg] Fix crash when ffprobe/avprobe are not installed ↵Jaime Marquínez Ferrándiz2015-04-031-1/+5
| | | | | | (closes #5349) 'self.probe_basename' was None, so 'probe_executable' raised a KeyError exception
* Don't use bare 'except:'Jaime Marquínez Ferrándiz2015-03-271-9/+6
| | | | They catch any exception, including KeyboardInterrupt, we don't want to catch it.
* [metadatafromtitle] Some improvements and cleanupJaime Marquínez Ferrándiz2015-03-141-3/+1
| | | | | | | | * 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
* Add metadata from title parserphiresky2015-03-141-2/+8
| | | | (Closes #5125)
* Add postprocessor for converting subtitles (closes #4954)Jaime Marquínez Ferrándiz2015-02-281-0/+38
|
* Merge branch 'subtitles-rework'Jaime Marquínez Ferrándiz2015-02-231-7/+4
|\ | | | | | | (Closes PR #4964)
| * [YoutubeDL] store the subtitles to download in the 'requested_subtitles' fieldJaime Marquínez Ferrándiz2015-02-161-3/+4
| | | | | | | | | | 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.
| * Improve subtitles supportJaime Marquínez Ferrándiz2015-02-161-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | [ffmpeg] Remove trivial helper methodPhilipp Hagemeister2015-02-171-4/+1
| |
* | [ffmpeg] Make available a propertyPhilipp Hagemeister2015-02-171-1/+2
| |
* | Merge remote-tracking branch 'origin/master'Philipp Hagemeister2015-02-161-3/+3
|\|
| * [postprocessor/ffmpeg] Don't let ffmpeg read from stdin (fixes #4945)Jaime Marquínez Ferrándiz2015-02-131-2/+2
| | | | | | | | 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>'.
* | [ffmpeg] Add --ffmpeg-locationPhilipp Hagemeister2015-02-161-27/+72
|/
* [ffmpeg] --extrac-audio: Use the same options for avconv and ffmpegJaime Marquínez Ferrándiz2015-02-061-7/+6
| | | | They have been available in ffmpeg since version 0.9, and we require 1.0 or higher.
* [ffmpeg] --add-metadata: Set comment and purl fields (Fixes #4847)Philipp Hagemeister2015-02-031-1/+2
|
* [youtube] Fixup DASH m4a headersPhilipp Hagemeister2015-01-231-1/+19
| | | | This fixes #2288, #2506, #2607, #3681, #4741, #4767.
* Embed description and URL as MP4 tagsDavid Powell2015-01-181-0/+4
|
* FFmpegEmbedSubtitlePP: simplify commandJaime Marquínez Ferrándiz2015-01-161-3/+3
|
* FFmpegEmbedSubtitlePP: don't fail if the video doesn't have an audio stream ↵Jaime Marquínez Ferrándiz2015-01-161-1/+7
| | | | | | (fixes #4718) Instead of specifying which streams ffmpeg must copy, we tell it to copy all.
* [ffmpeg] Call encodeFilename on filenamesPhilipp Hagemeister2015-01-101-2/+3
|
* Merge remote-tracking branch 'ivan/muxed-mtime'Philipp Hagemeister2015-01-101-2/+5
|\
| * Copy the mtime from the oldest source file to the file created by ffmpegIvan Kozik2014-11-201-0/+2
| | | | | | | | Fixes #4245
* | [youtube|ffmpeg] Automatically correct video with non-square pixels (Fixes ↵Philipp Hagemeister2015-01-101-0/+23
| | | | | | | | #4674)
* | [ffmpeg] Correctly encode paths on WindowsPhilipp Hagemeister2015-01-091-4/+5
| | | | | | | | | | | | | | 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.
* | Don't use '-shortest' option for merging formats (closes #4220, closes #4580)Jaime Marquínez Ferrándiz2015-01-041-1/+1
| | | | | | | | | | 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.
* | [YoutubeDL] Make postprocessors declarativePhilipp Hagemeister2014-12-151-2/+2
| | | | | | | | 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.
* | [ffmpeg] Improve version check and call it from hls (Fixes #4377)Philipp Hagemeister2014-12-061-3/+3
| |
* | [ffmpeg] ModernizePhilipp Hagemeister2014-11-261-26/+28
| |
* | PEP8: E225,E227Jouke Waleson2014-11-231-2/+2
| |
* | PEP8: more appliedJouke Waleson2014-11-231-2/+2
| |