Jaime Marquínez Ferrándiz
2875cf01bb
FFmpegEmbedSubtitlePP: simplify command
10 years ago
Jaime Marquínez Ferrándiz
e205db3bcd
FFmpegEmbedSubtitlePP: don't fail if the video doesn't have an audio stream ( fixes #4718 )
Instead of specifying which streams ffmpeg must copy, we tell it to copy all.
10 years ago
Philipp Hagemeister
52afb2ac1b
[ffmpeg] Call encodeFilename on filenames
10 years ago
Philipp Hagemeister
6271f1cad9
[youtube|ffmpeg] Automatically correct video with non-square pixels ( Fixes #4674 )
10 years ago
Philipp Hagemeister
b0e87c3110
[ffmpeg] Correctly encode paths on Windows
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 .
10 years ago
Jaime Marquínez Ferrándiz
bc3e582fe4
Don't use '-shortest' option for merging formats ( closes #4220 , closes #4580 )
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.
10 years ago
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
5f9b83944d
[ffmpeg] Improve version check and call it from hls ( Fixes #4377 )
10 years ago
Philipp Hagemeister
3aa578cad2
[ffmpeg] Modernize
10 years ago
Jouke Waleson
2514d2635e
PEP8: E225,E227
10 years ago
Jouke Waleson
8bcc875676
PEP8: more applied
10 years ago
Jouke Waleson
5f6a1245ff
PEP8 applied
10 years ago
Ivan Kozik
0cd64bd077
Copy the mtime from the oldest source file to the file created by ffmpeg
Fixes #4245
10 years ago
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
d799b47b82
[ffmpeg] PEP8 and a more obvious variable name
11 years ago
rupertbaxter2
b7f8116406
Deletes temp files after postprocess merge unless -k option is specified
11 years ago
Philipp Hagemeister
f07b74fc18
[ffmpeg] Correct argument encoding on Windows with Python 2.x
Fixes #2924
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
d70ad093af
Move check_executable into a helper ufnction
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
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
12 years ago
Jaime Marquínez Ferrándiz
d4051a8e05
Add a post processor for embedding subtitles in mp4 videos ( closes #1052 )
12 years ago