you-get/src/you_get/processor
Zhiming Wang b493af9a69
[ffmpeg] fix concat list when output dir is not pwd
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).
2016-12-24 13:44:22 -05:00
..
__init__.py add rtmpdump wrapper 2014-04-26 15:17:45 +02:00
ffmpeg.py [ffmpeg] fix concat list when output dir is not pwd 2016-12-24 13:44:22 -05:00
join_flv.py add unit tests 2013-02-12 22:04:39 +01:00
join_mp4.py Support multi stts and mdhd version = 1 2015-01-07 17:00:49 -08:00
join_ts.py Fix zhanqi 2015-06-16 18:33:45 +08:00
rtmpdump.py [Processor] Fix rtmpdump not portable under Windows 2016-07-21 00:50:21 -04:00