mirror of
https://github.com/soimort/you-get.git
synced 2025-02-03 08:43:58 +03:00
b493af9a69
Relative paths in the concat list are considered relative to the parent directory of the script, not the calling directory. This isn't entirely obvious from the documentation, but it is easy to infer from the concat demuxer's concept of "safety", and easy to test (confirmed on FFmpeg 3.2.2). See https://ffmpeg.org/ffmpeg-all.html#concat-1 for details. This commit fixes the wrong relative paths when --output-dir is specified and not pwd. This commit also - Factors out common concat list writer code; - Slightly simplifies the code to collect FFmpeg params (on Py35+ we can further simplify by unpacking LOGLEVEL with the star operator right in the list literal). |
||
---|---|---|
.. | ||
__init__.py | ||
ffmpeg.py | ||
join_flv.py | ||
join_mp4.py | ||
join_ts.py | ||
rtmpdump.py |