aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/postprocessor/ffmpeg.py
Commit message (Collapse)AuthorAgeFilesLines
* [postprocessor/ffmpeg] Convert to opus using libopus (closes #14381)Sergey M․2017-10-021-1/+1
|
* [utils] Use bytes-like objects in dfxp2srtYen Chi Hsuan2017-09-161-1/+1
| | | | | | This fixes handling of non-UTF8 TTML subtitles Closes #14191
* Keep in sync with ffmpeg's current malformed AAC bitstream wording (closes ↵Sergey M․2017-07-091-1/+1
| | | | #13587)
* [postprocessor/ffmpeg] Fix metadata filename handling on Python 2Yen Chi Hsuan2017-05-251-1/+1
| | | | Fixes #13182
* [ffmpeg] add support for chapters field postprocessingremitamine2017-05-021-3/+28
|
* improve coding styleRemita Amine2017-04-121-1/+1
|
* [postprocessor/ffmpeg] Add support for flacPhilipp Hagemeister2017-03-161-12/+22
| | | | Requested at http://stackoverflow.com/q/42828041/35070
* [postprocessor/ffmpeg] Add mising space (closes #12232)Sergey M․2017-02-241-2/+1
|
* [postprocessor/ffmpeg] PEP 8Sergey M․2016-10-161-1/+1
|
* [postprocessor/ffmpeg] Return correct filepath and ext in updated ↵Pierre Mdawar2016-10-161-3/+3
| | | | | information in FFmpegExtractAudioPP Return correct audio's filepath and ext instead of the video's when extracting audio and audio file already exists.
* [postprocessor/ffmpeg] apply FFmpegFixupM3u8PP only for videos with aac ↵Remita Amine2016-09-161-32/+31
| | | | codec(#5591)
* Revert "[ffmpeg] Fix embedding subtitles (#9063)"Yen Chi Hsuan2016-07-151-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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'.
* Merge pull request #9288 from reyyed/issue#9063fixYen Chi Hsuan2016-07-091-2/+4
|\ | | | | [ffmpeg] Fix embedding subtitles (#9063)
| * [ffmpeg] Fix embedding subtitles (#9063)Wang Jun Tham2016-04-241-2/+4
| | | | | | | | | | Changed command line parameters for ffmpeg when embedding subtitles. Changed to ‘-map 0:v -c:v copy -map 0:a -c:a copy’
* | [postprocessor/ffmpeg] Simplify metadata preparation and add track related ↵Sergey M․2016-05-011-17/+24
|/ | | | metafields (Closes #9357)
* [ffmpeg] Clarify rationale for pipe(-) exclusion in _ffmpeg_filename_argumentremitamine2016-04-161-0/+1
|
* [ffmpeg] check for - file name in _ffmpeg_filename_argumentremitamine2016-04-161-1/+1
|
* [ffmpeg] try to convert tt subtitles usng dfxp2srtremitamine2016-04-011-1/+1
|
* [postprocessort/ffmpeg] Allow embedding webvtt into webm (Closes #8874)Sergey M․2016-03-201-4/+21
|
* Merge pull request #8611 from remitamine/ffmpegfdremitamine2016-03-131-0/+13
|\ | | | | [downloader/external] Add FFmpegFD
| * [ffmpeg] convert format ext to ffmpeg output formats codesremitamine2016-03-131-0/+13
| |
* | Add fixup for media files produced by HlsNative downloader(fixes #4776)remitamine2016-03-011-4/+15
|/
* [FFmpegSubtitlesConvertorPP] remove unused variableJaime Marquínez Ferrándiz2016-02-061-1/+0
|
* [FFmpegSubtitlesConvertorPP] remove intermediate srt filesJaime Marquínez Ferrándiz2016-02-061-0/+2
|
* [FFmpegSubtitlesConvertorPP] correctly update the extension (fixes #8444)Jaime Marquínez Ferrándiz2016-02-061-1/+1
|
* [FFmpegSubtitlesConvertorPP] fix not working when srt is used as the ↵Jaime Marquínez Ferrándiz2016-02-061-0/+1
| | | | | | | 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.
* [ffmpeg] check for m3u8 protocol in FFmpegMetadataPPremitamine2016-02-051-1/+1
|
* [ffmpeg] fix condition(fixes #8440)remitamine2016-02-051-1/+1
|
* [ffmpeg] fix adding metadata when using --hls-prefer-native(#8350)remitamine2016-02-021-1/+1
|
* Merge pull request #8354 from remitamine/m3u8_metadataremitamine2016-02-021-0/+4
|\ | | | | [ffmpeg] fix adding metadata when using m3u8_native(fixes #8350)
| * [ffmpeg] fix adding metadata when using m3u8_native(fixes #8350)remitamine2016-01-281-0/+4
| |
* | [FFmpegSubtitlesConvertorPP] delete old subtitle files (fixes #8382)Jaime Marquínez Ferrándiz2016-01-311-5/+6
|/
* [FFmpegPostProcessor] Default of prefer ffmpegJuan M Martínez2015-12-091-1/+2
| | | | | | | | 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`.
* [postprocessor/ffmpeg] Use ffmpeg as prefix since it's used all over the ↵Sergey M․2015-11-061-1/+1
| | | | places (Closes #7371)
* [postprocessor/ffmpeg] Always use the 'file:' protocol for filenames (fixes ↵Jaime Marquínez Ferrándiz2015-09-181-5/+8
| | | | | | | #6874) If the filename contains ':' it is interpreted as a protocol. It also handles filenames starting with '-'.
* [postprocessor/ffmpeg] Don't use '[youtube] ...' in messagesJaime Marquínez Ferrándiz2015-07-141-1/+1
| | | | Because it can be used for other extractors.
* [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