Johan Andersson
5ba3aead98
postprocess: fix detecting streams
2023-10-09 00:07:12 +02:00
Johan Andersson
485f3fa6d8
postprocess: remove file when only use merge subtitles
...
In some cases we could end up with two subtitles
but we only have "one" subtitle. like one from HLS and one from
a different way.
2023-06-01 21:11:31 +02:00
Johan Andersson
ce43d1ba4a
Update user-agent to something newer
2023-04-19 03:30:06 +02:00
Johan Andersson
48f376a285
postprocess: improve audio-only
...
when HLS only have audio this failed
2022-07-03 13:25:42 +02:00
Johan Andersson
578b7f2754
add support for only audio when its one media file
2022-06-09 21:55:53 +02:00
Johan Andersson
18009e7dc3
pylint fixes
2021-12-19 13:40:15 +01:00
Johan Andersson
e20d753a15
logging f-strings fixes
2021-12-18 21:36:16 +01:00
iwconfig
487da6b643
postprocess: add comment about use of -S and -M
2021-12-09 20:42:50 +01:00
iwconfig
4c90677089
Revert "postprocess: when merge subtitle into file remove it"
...
This reverts commit a03fabc5ab
.
2021-12-09 20:42:50 +01:00
Johan Andersson
4796e618f8
postprocess: we should use the filename without extension
2021-10-31 02:42:35 +02:00
Johan Andersson
d44a838298
postprocess: use a different function to detect ffmpeg.exe
...
the previous function said it was a file but there was none
2021-10-30 14:24:44 +02:00
Johan Andersson
a03fabc5ab
postprocess: when merge subtitle into file remove it
...
fixes: 1427
2021-10-27 14:54:01 +02:00
Johan Andersson
adcaa73210
postprocess: support for finding ffmpeg in same directory
...
this will be helpful on windows if you dont have ffmpeg in
your PATH. it will look for ffmpeg in same directory
as svtplay-dl.exe.
2021-09-22 20:49:24 +02:00
Johan Andersson
c5ae97565e
postprocess: handle multiple subs better
...
there was an issue with multiple subs and seperated
audio and video files. the counting became a bit wrong
and added the audio track twice and skipped the last
subtitle. it worked great when a/v was in the same file
2021-07-05 17:45:17 +02:00
Johan Andersson
09843d632a
postprocess: add support for mkv
2021-06-25 09:52:25 +02:00
Johan Andersson
313aed4e33
postprocess: use re that we already imported
2021-06-24 23:21:15 +02:00
Johan Andersson
00e5c84196
postprocess: remux and merge is more or less the same.
...
they do the same. better to have one function to do it.
2021-06-13 01:22:16 +02:00
iwconfig
19d63f1eb9
Added some boolean flags to the postprocess
...
* replaced `--remux` with `--no-remux`
* added `--no-merge`
* added `--no-postprocess`
* added `--keep-original`
This should be sufficient to consider issue #1194 fixed.
2021-06-04 19:50:03 +02:00
Johan Andersson
e6379d9a28
postprocess: tell the filenames to be strings.
...
this is an issue on windows.
2021-05-10 20:51:55 +02:00
Johan Andersson
2175e8d6a5
postprocess: when merge and all subs do all of them
2021-05-09 21:51:48 +02:00
Johan Andersson
bb09d0fc76
postprocess: the output is an .mp4 file
2021-05-09 21:50:41 +02:00
Johan Andersson
3497e0577d
Rewrite how we detect already downloaded files
...
this will also check if we already downloaded
the files if we already have it or not
2021-05-09 02:13:13 +02:00
Johan Andersson
10e365f695
pyupgrade fixes
2021-04-27 19:44:09 +02:00
Johan Andersson
b91ca11e85
hls: x-map update
2021-03-12 00:20:18 +01:00
Johan Andersson
4ec553e0ed
Add py3.6 changes
2021-02-28 22:05:33 +01:00
Johan Andersson
18a8758ee8
Add support for only-audio/-video option
...
It wont work with using both at the same time.
fixes : #1286
2020-12-06 18:56:52 +01:00
Johannes Holmberg
806fc1d9d7
postprocess: figure out audio_filename before looking for tracks
2019-09-29 20:48:14 +02:00
Johan Andersson
b0b9582f63
test.postprocess: add some tests for sublanguage
2019-09-15 19:00:38 +02:00
Johan Andersson
5fc9bf49d7
test: postprrocess: _streams, _getcodec and _checktracks
2019-09-15 17:31:49 +02:00
Johan Andersson
ee717a71a4
postprocess: return the actual codec
2019-09-15 16:54:57 +02:00
Johan Andersson
32e54c773e
postprocess: better handling when its separated tracks
2019-09-14 22:53:03 +02:00
Johan Andersson
b428bcc398
postprocess: fix a crash during remuxing because it could not find tracks
...
fixes : #1153
2019-09-14 20:12:56 +02:00
Johan Andersson
d51113df36
postprocess: handle when we done have a video track and switch bitstream only on aac ts files.
2019-09-14 14:17:45 +02:00
Johan Andersson
4e187f9553
pre-commit: its a good thing to commit config...
2019-09-06 22:49:49 +02:00
Johan Andersson
3aef9a796e
black fixes
2019-09-06 22:31:52 +02:00
Johan Andersson
7f0cf6eb82
pre-commit: reorder imports
2019-09-06 22:09:07 +02:00
Johan Andersson
e9b16fda77
pre-commit: pyupgrade
2019-09-06 22:09:07 +02:00
Johan Andersson
e105855fb7
pre-commit: black fixes
2019-09-06 22:09:07 +02:00
iwconfig
b64dbf3c3e
merge: Map video and audio tracks only once
...
When dealing with multiple subtitles, the singular video and audio tracks is added with each subtitle. This of course results in a multiplied file size which we don't want.
2019-08-22 20:47:39 +02:00
Johan Andersson
36116c7a3b
Remove old logging
2018-11-18 12:47:19 +01:00
Johan Andersson
ca295d461d
flake8: new version detecting more stuff
2018-10-28 23:16:00 +01:00
Johan Andersson
c97ec9030e
subtitle.remux: remove copyts
...
copyts made that videos started at 10s and made subtitles be wrong.
2018-07-12 00:53:55 +02:00
Johan Andersson
d61e5793e6
use which from stdlib instead our own version
2018-07-05 01:26:43 +02:00
Johan Andersson
7aba2589ec
_checktracks: support for language in the stream
2018-06-24 21:55:18 +02:00
Johan Andersson
a5f1ee4c25
postprocess: set the right output filename when using remux
2018-05-13 13:18:36 +02:00
Johan Andersson
9ce61f499d
postprocess: generate correct filename
2018-05-13 13:09:27 +02:00
Johan Andersson
5474da2251
postprocess: use config
2018-05-13 13:09:27 +02:00
Johan Andersson
d4dc9693df
postprocess: use output in streams instead of options
2018-05-13 13:07:37 +02:00
Johan Andersson
ca49366002
Options to config
2018-05-13 13:06:45 +02:00
Johan Andersson
28dcc90d7e
flake8 fixes
2018-05-13 12:10:19 +02:00