Olof Johansson
b18a166898
postprocess: Give up on failure, not success when muxing
...
This, I suspect, accidental inversion of the error case led to files not
being cleaned up properly.
Fixes #856 , reported by @pulsatorius
2018-03-09 22:36:30 +01:00
Johan Andersson
3818ee1ee9
postprocess.merge: when we merge .ts to .mp4 we need to have bsf:a
...
fixes : #825
2018-03-06 21:49:43 +01:00
Johan Andersson
24213562ad
postprocess: try to detect the bad audio track and skip it
...
this will only work for files with one audio track.
i have never seen file with several
fixes #814
2018-03-04 11:41:22 +01:00
Johan Andersson
7b6ceb4737
Flake8 fixes
2018-01-30 20:17:33 +01:00
iwconfig
0b2b528a6d
Prevent zero length field name in format
...
Added numbers to format() to prevent 'ValueError: zero length field name in format'
2017-03-26 14:48:15 +02:00
iwconfig
e5e7fd0293
Changed all '%s', to '{}'.format()
...
This also fixes a bug on line 105: format() got '%s' instead of '{}'.
2017-03-26 14:48:15 +02:00
Johan Andersson
456e008597
pylint fixes
2017-02-15 23:15:50 +01:00
Johan Andersson
da66ffcf2e
format string fixes
...
fixes #558
2017-02-12 09:01:40 +01:00
Johan Andersson
ea3041cf08
postprocess: we need to open the file as enc=utf8 on windows py3
...
fixes #521
2017-01-15 12:29:40 +01:00
Johan Andersson
0f99956d62
postprocess: don’t crash on åäö in filename
...
fixes #517
2017-01-02 21:09:35 +01:00
Johan Andersson
80992f8664
postprocess: return und if we cant get the right language
2016-12-05 19:36:00 +01:00
Johan Andersson
0cb152edef
postprocess.sublanguage.parse: in py3 map return an iterator but we want a list
...
fixes #444
2016-09-07 17:31:14 +02:00
iwconfig
91cc1a18a2
Fixed minor bug with manual mappings options for ffmpeg
...
also a tiny cleanup
2016-07-11 23:05:03 +00:00
iwconfig
3c1d45a37c
Fixed issue with --force-subtitle.
...
--force-subtitle and -S did not respect each other but now it is
working as it should. If --force-subtitle is used with -S it downloads
only the subtitles, and if --force-subtitle is used alone it overwrites
the existing subtitles and continues with the audio/video stream.
2016-06-30 23:57:27 +00:00
iwconfig
4e63c15ef9
Added -M, --merge-subtitle to merge subtitle(s).
...
The option gets the correct ISO639-3 language code using my own simple
language detection api, and merges with correct metadata using ffmpeg.
If ffmpeg is not installed an error message is raised since avconv
doesn't seem keep up with ffmpeg.
I also did a little cleanup in postprocess().
2016-06-30 23:57:27 +00:00
iwconfig
4f6c4821d7
remux only if file is not mp4
2016-06-02 01:47:25 +02:00
Johan Andersson
003c494e0b
postprocess: ext includes dot before fileextention
...
this fixes : #380
2016-04-27 18:53:47 +02:00
Olof Johansson
5393dc1929
Fix various pylint warnings
...
None of these were any real problems, but easier to spot real issues if pylint
is a bit quieter. Apart from the pylint overrides being sprinkled over the code
base, this commit also fixes occurences of the following issues:
- logging-not-lazy
- logging-format-interpolation
- unused-import
- unused-variable
2016-04-03 19:06:45 +02:00
Johan Andersson
c125540498
postprocess: this should be None and not False
2016-03-30 18:18:43 +02:00
Johan Andersson
c31cdfeeec
postprocess: add copyts
2016-03-28 19:17:06 +02:00
Johan Andersson
e523141a04
support for dash streams
2016-03-26 21:38:31 +01:00
Johan Andersson
22614e1aa6
postprocess: dont hardcode avconv
2016-03-22 23:31:32 +01:00
Johan Andersson
60a54d7c0a
postprocess: do check for ffmpeg and avconv
2016-03-22 23:00:50 +01:00
Johan Andersson
4218dd5a5b
postprocess: basic remux files to .mp4 with ffmpeg/avconv
...
fixes #121
fixes #36
2016-03-22 22:36:39 +01:00