Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bunch of fixes #260

Open
wants to merge 43 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
ca712ad
Remove executable permissions from image
Nov 13, 2018
cb5fea1
Use dict.items()
Nov 13, 2018
e7260e1
Parse command arguments as list
Nov 13, 2018
7314f99
Improve type annotations
Nov 13, 2018
310e0f8
Fix regular expression for floating point time
Nov 13, 2018
14ba111
Chapter is optional in .vcp file
Nov 13, 2018
aac5d34
Add documentation and type annotations
Nov 18, 2018
abe6013
videoservice: Fix handling streams w/o codec_type
pmhahn Nov 10, 2019
17366cd
fix ffprobe parsing for keyframes
ratcashdev Dec 29, 2019
8321b11
Use float timecodes throughout smartcut
ratcashdev Dec 29, 2019
306f153
Fix: can't concat list and string
ratcashdev Dec 29, 2019
161931e
Bugfix: project file to include the media location
ratcashdev Dec 29, 2019
9f828cc
Revert "fix ffprobe parsing for keyframes"
ratcashdev Dec 30, 2019
98abe25
Add missing ffprobe argument for CSV output. This was lost in the con…
ratcashdev Dec 30, 2019
1ea25a5
Support for MPEG4 movies keyframes based on the dts_time information.
ratcashdev Dec 31, 2019
70256c4
Added TODO: process sub-streams in the smartcut process independently…
ratcashdev Dec 31, 2019
4668600
Bugfix: if the input stream has a .ts extension, lossless transcoding…
ratcashdev Dec 31, 2019
72f80b3
Bugfix: Don't re-encode segments during smartcut (especially middle o…
ratcashdev Jan 1, 2020
2d8aa6f
function to losslessly inject keyframes to cut-positions using ffmpeg…
ratcashdev Jan 1, 2020
f4382ac
Inject keyframes to CUT positions.
ratcashdev Jan 1, 2020
4b26643
Don't re-parse keyframes for every single segment. Keep it around for…
ratcashdev Jan 1, 2020
597e926
Bugfix: Smartcut START segment invalid duration.
ratcashdev Jan 1, 2020
64a53b1
Round timestamps to 6 decimals.
ratcashdev Jan 2, 2020
9378cfd
Use OUTPUT seeking (-i before -ss for ffmpeg). This radically improve…
ratcashdev Jan 2, 2020
57dec52
Logging improvement
ratcashdev Jan 2, 2020
b30bd59
Fix hardcoded FPS for keyframe injection
ratcashdev Jan 2, 2020
95a7b78
Bugfix: Use output seeking on both branch paths for CUT
ratcashdev Jan 4, 2020
d2b9267
Some minor improvements
pikim Feb 2, 2020
d7a67c6
Allow custom encoding options, copy by default
pikim Feb 2, 2020
9097871
Merge code from https://github.com/ozmartian/vidcutter/pull/251/commi…
pikim Feb 2, 2020
551069f
Merge code from https://github.com/ozmartian/vidcutter/pull/213/commi…
pikim Feb 2, 2020
b93d02f
Merge code from https://github.com/ozmartian/vidcutter/pull/203/commi…
pikim Feb 2, 2020
4336a22
Merge code from https://github.com/ozmartian/vidcutter/pull/183/commi…
pikim Feb 2, 2020
612e486
Merge code from https://github.com/ozmartian/vidcutter/pull/183/commi…
pikim Feb 2, 2020
9a97a31
Merge code from https://github.com/ozmartian/vidcutter/pull/183/commi…
pikim Feb 2, 2020
86065e7
Remove unused code
pikim Feb 2, 2020
ad8f8dd
Try using faster input seeking
pikim Feb 2, 2020
8315d47
Start endproc
pikim Feb 2, 2020
5216fd5
Switched to input seeking again, fixed bisectioning
pikim Feb 6, 2020
bfcf0b8
Use combined seeking as it is much faster
pikim Feb 6, 2020
6625b84
Improve h264 quality
pikim Feb 6, 2020
480d500
Replace verbosity level number with text
pikim Feb 9, 2020
c3aee10
Merge pull request #2 from ozmartian/master
pikim Dec 7, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Try using faster input seeking
pikim committed Feb 2, 2020
commit ad8f8dd50914bb8bc3a0569699ea507a283bc96f
4 changes: 2 additions & 2 deletions vidcutter/libs/videoservice.py
Original file line number Diff line number Diff line change
@@ -332,8 +332,8 @@ def cut(self, source: str, output: str, frametime: str, duration: str, allstream
encode_options = VideoService.config.encoding.get(vcodec, ['copy'])
args = [
'-v', '32',
'-i', source,
'-ss', frametime,
'-i', source,
'-t', duration,
'-c:v',
] + encode_options + [
@@ -346,8 +346,8 @@ def cut(self, source: str, output: str, frametime: str, duration: str, allstream
else:
args = [
'-v', 'error',
'-i', source,
'-ss', frametime,
'-i', source,
'-t', duration,
'-c', 'copy',
] + stream_map + [