Philipp Hagemeister
4f026fafbc
[YoutubeDL] Make postprocessors declarative
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.
10 years ago
Philipp Hagemeister
dcddc10a50
[test_unicode_literals] Arm unicode_literals check
From now on, the line
from __future__ import unicode_literals
should be contained in every single Python file lest we run into any more 2.x/3.x issues.
Going forward, we're likely to develop on 3.x only and would likely miss subtle bugs otherwise.
10 years ago
Philipp Hagemeister
d28b517154
[YoutubeDL] Output avconv/ffmpeg versions if -v is given
10 years ago
mcd1992
a2360a4c80
Moved from os.system to subprocess.call
10 years ago
mcd1992
a7cacbca2b
Implemented --exec option.
10 years ago
pulpe
149254d0d5
fix ffmpeg error, if youtube-dl runs more than once with --embed-thumbnail with same video
10 years ago
pulpe
0c14e2fbe3
add post processor
10 years ago
Philipp Hagemeister
496c19234c
Split postprocessor package into multiple modules
11 years ago
Philipp Hagemeister
56327689a2
Move postprocessor into its own package
11 years ago
Philipp Hagemeister
ad84831537
[xattr] Coding style
11 years ago
Philipp Hagemeister
8bf48f237d
Fix/work around Windows encoding issues ( Fixes #2095 )
11 years ago
Jaime Marquínez Ferrándiz
6350728be2
Allow merging formats ( closes #1612 )
Multiple formats can be requested using `-f 137+139`, each one is downloaded and then the two are merged with ffmpeg.
11 years ago
Jaime Marquínez Ferrándiz
91d7d0b333
FFmpegMetadataPP; Write temporary file to `something.temp.{ext}` ( fixes #2079 )
ffmpeg correctly recognize the formats of extensions like m4a, but it doesn’t works if it’s passed with the `—format` option.
11 years ago
epitron
e63fc1bed4
Added '--xattrs' option which writes metadata to the file's extended attributes using a youtube-dl postprocessor.
Works on Linux, OSX, and Windows.
11 years ago
Jaime Marquínez Ferrándiz
72b18c5d34
FFmpegMetadataPP: don't enclose the values with " ( fixes #1756 )
11 years ago
Philipp Hagemeister
a4fd04158e
Do not import *
11 years ago
Jaime Marquínez Ferrándiz
4eb7f1d12e
FFmpegPostProcessor: print the command line used if the --verbose option is given
11 years ago
Jaime Marquínez Ferrándiz
0f6d12e43c
Don't set the '-aq' option with the opus format ( fixes #1263 )
11 years ago
Jaime Marquínez Ferrándiz
bc4f29170f
Add a PostProcessor for adding metadata to the file ( closes #1570 )
It currently sets the title, the date and the author values.
11 years ago
Jaime Marquínez Ferrándiz
74bab3f0a4
Don't embed subtitles if the list is empty or the field is not set ( fixes #1510 )
11 years ago
Jaime Marquínez Ferrándiz
8ae97d76ee
PostProcessingError holds the message in the 'msg' property, not in 'message' ( fixes #1323 )
Causes DeprecationWarning: http://www.python.org/dev/peps/pep-0352/
11 years ago
Jaime Marquínez Ferrándiz
9af73dc4fc
Print a message before embedding the subtitles
11 years ago
Jaime Marquínez Ferrándiz
d4051a8e05
Add a post processor for embedding subtitles in mp4 videos ( closes #1052 )
11 years ago
Jaime Marquínez Ferrándiz
4aa16a50f5
Log a better error message if ffprobe or avconv are not found (related #1134 )
11 years ago
Jaime Marquínez Ferrándiz
bbcbf4d459
Switch some calls to to_stderr to report_error and report_warning
11 years ago
Philipp Hagemeister
3c25b9abae
Remove useless headers
11 years ago
Jaime Marquínez Ferrándiz
fb2f83360c
FFmpegPostProcessor: decode stderr first and then get the last line ( closes #837 )
11 years ago
Joe Frambach
e74c504f91
Dont delete source file when source file and post-processed file are the same
11 years ago
Philipp Hagemeister
0e33684194
Switch to m4a by default ( Closes #240 )
11 years ago
Philipp Hagemeister
7851b37993
--recode-video option ( Closes #18 )
12 years ago
Jaime Marquínez Ferrándiz
67d0c25eab
Add a PostProcessor for converting video format
12 years ago
Philipp Hagemeister
510e6f6dc1
Support --audio-format=opus
12 years ago
Philipp Hagemeister
712e86b999
Fix broken ffmpeg ( Closes #623 )
12 years ago
Barbu Paul - Gheorghe
b7298b6e2a
not relying on ffmpeg to do the post-processed file checking, instead doing it directly in youtube-dl
12 years ago
Barbu Paul - Gheorghe
3e6c3f52a9
apparently the -n option is available only in ffmpeg
12 years ago
Barbu Paul - Gheorghe
0c0074328b
modified FFmpegExtractAudioPP to accept whether it should overwrite post-processed files or not
12 years ago
Philipp Hagemeister
5910e210f4
Fix --extract-audio on Python 3
12 years ago
Philipp Hagemeister
9e8056d5a7
Use relative imports
12 years ago
Philipp Hagemeister
59ae15a507
Convert all tabs to 4 spaces (PEP8)
12 years ago
Tailszefox
f06eaa873e
Fix audio bitrate quality for ffmpeg/avconv
12 years ago
Philipp Hagemeister
073522bc6c
Don't use 2.7+ check_output
12 years ago
Philipp Hagemeister
65f934dc93
Correct detect_executables on Windows ( Closes #447 , #457 )
12 years ago
Filippo Valsorda
b24676ce88
changed --audio-quality behaviour to support both CBR and VBR
12 years ago
Filippo Valsorda
cca4828ac9
fixed a logic bug in post-processing
12 years ago
Filippo Valsorda
505ed3088f
normalize ffmpeg/avconv names printing
12 years ago
Filippo Valsorda
0b976545c7
check for avconv and ffmpeg, use as available; closes #344
12 years ago
Filippo Valsorda - Campagna
d11d05d07a
better naming for the sub-modules
12 years ago
Filippo Valsorda
d77c3dfd02
Split code as a package, compiled into an executable zip
12 years ago