summaryrefslogtreecommitdiffstats
path: root/youtube_dl/postprocessor/ffmpeg.py
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
| |
* | PEP8 appliedJouke Waleson2014-11-231-9/+9
|/
* [util] Move compatibility functions out of utilPhilipp Hagemeister2014-11-021-2/+3
| | | | | | | 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 .
* [ffmpeg] Move version detection to utilsPhilipp Hagemeister2014-11-021-18/+2
|
* Remove unused importsPhilipp Hagemeister2014-10-261-1/+0
|
* [ffmpeg] Fix typoPhilipp Hagemeister2014-10-261-1/+1
|
* [ffmpeg] Fix call to ffprobe (Fixes #4041)Philipp Hagemeister2014-10-261-2/+14
|
* [ffmpeg] Make downloader optional (Fixes #4039)Philipp Hagemeister2014-10-261-2/+3
|
* [ffmpeg] Also look into stderr for extracting the versionJaime Marquínez Ferrándiz2014-10-261-1/+1
| | | | At least with avconv 11, it will print 'avconv version 11, ..' to stderr, not stdout.
* [ffmpeg] Warn if ffmpeg/avconv version is too old (Fixes #4026)Philipp Hagemeister2014-10-261-8/+20
|
* [YoutubeDL] Output avconv/ffmpeg versions if -v is givenPhilipp Hagemeister2014-10-261-6/+28
|
* [ffmpeg] Improve format merging (Closes #3935)Philipp Hagemeister2014-10-131-1/+1
|
* [ffmpeg] PEP8 and a more obvious variable namePhilipp Hagemeister2014-07-231-4/+4
|
* Deletes temp files after postprocess merge unless -k option is specifiedrupertbaxter22014-07-231-1/+5
|
* [ffmpeg] Correct argument encoding on Windows with Python 2.xPhilipp Hagemeister2014-05-161-1/+2
| | | | Fixes #2924
* Merge branch 'atomicparsley' (closes #2436)Jaime Marquínez Ferrándiz2014-04-121-1/+19
|\
| * fix ffmpeg metadatapppulpe2014-03-261-1/+5
| |
| * fix ffmpeg error, if youtube-dl runs more than once with --embed-thumbnail ↵pulpe2014-03-261-3/+3
| | | | | | | | with same video
| * add post processorpulpe2014-03-261-0/+14
| |
* | [ffmpeg] Do not pass in byets to subprocess (Fixes #2717)Philipp Hagemeister2014-04-071-2/+1
| |
* | Add new --encoding option (Fixes #2650)Philipp Hagemeister2014-03-301-2/+3
|/
* FFmpegMergerPP: Print an info message with the destination before running ffmpegJaime Marquínez Ferrándiz2014-01-171-0/+1
|
* Add ‘--prefer-avconv’ and ‘--prefer-ffmpeg’ options (#2115)Jaime Marquínez Ferrándiz2014-01-081-12/+20
| | | | 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.
* Move check_executable into a helper ufnctionPhilipp Hagemeister2014-01-071-7/+2
|
* Split postprocessor package into multiple modulesPhilipp Hagemeister2014-01-071-0/+481