Lossless cutting #399
Replies: 3 comments 6 replies
-
I tried re-encoding the intermediate files (without ffmpeg -ss {start_time} -itsoffset {offset_time} -i "{input_file}" -t {duration} _segment{segment_number}{extension} -hide_banner -loglevel error and observed that the intermediate files generated are not what is expected. I believe this is what is causing the issue |
Beta Was this translation helpful? Give feedback.
-
Hi Ahmed, I can't help too much with the Python code but I'm using a different set of params for ffmpeg. Try converting this to Python and trying it to see if it helps. Note that I'm using the
Here's the full
|
Beta Was this translation helpful? Give feedback.
-
Hi Gene, I had used your code for reference, but it didn't work. I observed that you are using chuck[0] and chunk[1], but there are 3 relevant parameters in the export json file, right? Start, Duration, Offset |
Beta Was this translation helpful? Give feedback.
-
I have taken the Ruby code from #165 and converted into Python.
I had to make a few changes due to changes in the auto-editor API. Would love to get someone's input if this is correct for the latest version.
This is the code I'm trying, but I'm not able to get it work. There are no errors, just that the output is not what I'm expecting; there are black frames.
Maybe @genegoykhman can you help with this?
Beta Was this translation helpful? Give feedback.
All reactions