This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] Specify parts of video to be encoded
#1
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.
Reply
#2
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.
Reply
#3
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!
Reply
#4
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.
Reply
#5
Question 
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!
Reply
#6
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.
Reply
#7
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 !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)