Commit Graph

35 Commits (ffe38646cafe890aafa1f6627d14945adc8cf0b3)

Author SHA1 Message Date
Philipp Hagemeister 8c25f81bee [util] Move compatibility functions out of util
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 .
10 years ago
Philipp Hagemeister 9580711841 [ffmpeg] Move version detection to utils 10 years ago
Philipp Hagemeister c9f08154a3 Remove unused imports 10 years ago
Philipp Hagemeister 50b51830fb [ffmpeg] Fix typo 10 years ago
Philipp Hagemeister 1a253e134c [ffmpeg] Fix call to ffprobe (Fixes #4041) 10 years ago
Philipp Hagemeister 6194bb1419 [ffmpeg] Make downloader optional (Fixes #4039) 10 years ago
Jaime Marquínez Ferrándiz 5f82b129e0 [ffmpeg] Also look into stderr for extracting the version
At least with avconv 11, it will print 'avconv version 11, ..' to stderr, not stdout.
10 years ago
Philipp Hagemeister 488447455d [ffmpeg] Warn if ffmpeg/avconv version is too old (Fixes #4026) 10 years ago
Philipp Hagemeister d28b517154 [YoutubeDL] Output avconv/ffmpeg versions if -v is given 10 years ago
Philipp Hagemeister 2aefb886fa [ffmpeg] Improve format merging (Closes #3935) 10 years ago
Philipp Hagemeister 8d31fa3cce [execafterdownload] Simplify (#3569) 10 years ago
mcd1992 a2360a4c80 Moved from os.system to subprocess.call 10 years ago
mcd1992 a7cacbca2b Implemented --exec option. 10 years ago
Philipp Hagemeister d799b47b82 [ffmpeg] PEP8 and a more obvious variable name 10 years ago
rupertbaxter2 b7f8116406 Deletes temp files after postprocess merge unless -k option is specified 10 years ago
Philipp Hagemeister f07b74fc18 [ffmpeg] Correct argument encoding on Windows with Python 2.x
Fixes #2924
11 years ago
Philipp Hagemeister 0a871f6880 Provide compatibility check_output for 2.6 (Fixes #2926) 11 years ago
Jaime Marquínez Ferrándiz 77477fa4c9 Merge branch 'atomicparsley' (closes #2436) 11 years ago
Jaime Marquínez Ferrándiz a169e18ce1 [atomicparsley] Remove unneeded __init__ method 11 years ago
Philipp Hagemeister 269aecd0c0 [ffmpeg] Do not pass in byets to subprocess (Fixes #2717) 11 years ago
Philipp Hagemeister 62fec3b2ff Add new --encoding option (Fixes #2650) 11 years ago
pulpe 39c68260c0 fix ffmpeg metadatapp 11 years ago
pulpe 149254d0d5 fix ffmpeg error, if youtube-dl runs more than once with --embed-thumbnail with same video 11 years ago
pulpe 0c14e2fbe3 add post processor 11 years ago
Jaime Marquínez Ferrándiz e103fd46ca FFmpegMergerPP: Print an info message with the destination before running ffmpeg 11 years ago
Jaime Marquínez Ferrándiz 76b1bd672d Add ‘--prefer-avconv’ and ‘--prefer-ffmpeg’ options (#2115)
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.
11 years ago
Philipp Hagemeister bd1b906527 Remove unusued import 11 years ago
Philipp Hagemeister a9ce0c631e [xattr] Correct on Windows 11 years ago
Philipp Hagemeister afc7bc33cb [xattr] Always use UTF-8
On Windows and other systems, other encodings would break when trying to encode non-ASCII characters.
Simply use UTF-8, like every sane system.
11 years ago
Philipp Hagemeister 168da92b9a [xattr] Rework
In particular, explicitly require NT before trying ADS, and do not try to parse process output that may be localized.
11 years ago
Philipp Hagemeister d70ad093af Move check_executable into a helper ufnction 11 years ago
Philipp Hagemeister 2a2e2770cc [xattr] Always output a warning message on errors 11 years ago
Philipp Hagemeister 42cc71e80b [xattr] Write bytestrings, not characters 11 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