Posts: 13
Threads: 5
Joined: Jan 2025
Hello.
I was wondering if it's possible to specify parts of video to be encoded.
Something similar to mkvmerge
--split parts:01:04:55-01:05:02.350,+01:21:57.850-01:21:15
Which selects 01:04:55-01:05:02.350 and then appends 01:21:57.850-01:21:15
Thanks.
Posts: 12.062
Threads: 66
Joined: May 2017
No. Hybrid has an experimental Crop/Trim-support, but that only allows one selection not multiple.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 13
Threads: 5
Joined: Jan 2025
Thanks for replying.
Please give me your opinion.
Will i have any success altering the script , using the trim method,
concatenating some clips into a final one, and using the rest of the script
with this new clip object.
Thanks!
Posts: 12.062
Threads: 66
Joined: May 2017
Quote:Will i have any success altering the script , using the trim method,
concatenating some clips into a final one, and using the rest of the script
with this new clip object.
If you know what you are doing, you could probably do this (for the video) inside the custom sections (don't forget to let Hybrid know about the changes in frame count&co), but this would only be for the video. (One could also write a custom script and use that as source.)
=> Hybrid is no NLE and thus not meant for such task.
Better use an NLE, combine your clip the way you want. Export that into a lossless format and feed that as source to Hybrid if you want to use Hybrid for filtering and encoding.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 13
Threads: 5
Joined: Jan 2025
31.10.2025, 18:20
Thank you very much for the information but i think that if i tell you the real problem that i face it would be better, in order to advice me.
I record some dvb(satellite) streams as ts files.
Those are most of the times h264 1080i50.
I then cut(using mkvmerge(with better results) and ffmpeg in the past) some parts and create the final video file.
I use this final file with Hybrid.
The problem is that between the cuts i may or may not encounter
artifacts.
https://en.wikipedia.org/wiki/Compression_artifact
See the example of datamoshing for example and also macroblock issues.
I can send you some files if you want to.
So the idea (as i have read and maybe not understood very well) is to cut while encoding
so those artifacts don't appear.
So what would you suggest ?
Thank you!
Posts: 12.062
Threads: 66
Joined: May 2017
I would suggest to:
- check whether those artifacts were introduced through the cutting. Or whether something like tsdoctor or similar can fix some of the stream.
- then I would try to remove artifacts through filtering.
- use an NLE (assuming the filtering didn't help) to create a version that only includes the content you want and encode that version.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 13
Threads: 5
Joined: Jan 2025
They are introduced through cutting that's 100%.
By choosing(experimenting) to cut a few seconds before or after you can have a video without artifacts.
Moreover if i encode the whole ts then i can cut without problems,but this is not a solution.
I have tried NLE programs and had the same problems.
Anyway,thank you very much for the information !