Comments (7)
Ok, I see! Isn't there a chance that the "black scenes" function will detect slightly different segments than the Youtube chapters, thereby voiding the youtube chapters invalid? Anyways I think this use case is very niche so I don't think I will prioritise implementing this unless many people ask for it. As mentioned, a workaround is to edit the .llc
file or use some assistive tool to do that. maybe even chatGPT could do it, so I'm going to close this for now. thanks!
from lossless-cut.
not sure why you have to rename all the segments, e.g. what is the use case for that, but you could edit the .llc
JSON5 file for the video and replace the name
property for each segment. There are many existing tools out there for batch working on json files
from lossless-cut.
Just to explain my particular case.
I have several long videos of mixed commercials that I need to split into individual videos, so for each video (one for each commercial), thanks to the detect black scenes feature, I can easily (with some minor adjustments) create the various segments of the individual commercial, at this point I have to rename each segment with the name of the related commercial (a different name for each segment) and it is getting to this point that I would like a method to rename all the segments at once so that I don't have to rename 30 or 60 segments each time one at a time, for this I was thinking of a screen like the one like "Text chapters/Youtube" that allows you to do what I need but without making cuts but only to rename the segments.
from lossless-cut.
Still not sure why you need to import the segment names from a text file. If the segments all need to have different names, manually inputted by you, then why can't you just
- Press enter to open the label current segment dialog
- enter the segment name
- Press enter to save the segment name
- press down arrow to go to the next segment
- repeat 1.
..other than losing a few keystrokes (you could skip step 1 and 4)
from lossless-cut.
Basically to save time, I currently manually label each segment, I thought there might be a way to enter all the segment names with one click :D
Let's take an example with 60 segment names that I already have in a text file, the operation to do would be:
- Import segment names
- select the file with the names (or paste the names into the screen that pops up)
and that's it, just to save time :D
from lossless-cut.
Ok sure, but where do you get your list of segment names from? You type them manually or they come from somewhere?
from lossless-cut.
OK now I see your point
Short answer:
I already have a list of segment names to copy
Long answer:
These videos come from YouTube, the author in the video description enters the names of the individual commercials in the classic YouTube format
00:00 name 1
00:30 name 2
00:43 name 3
Etc.
So I could use the Text chapters/Youtube function but the problem that comes up is that YouTube's seconds format is not accurate because the milliseconds are missing, so the division is not accurate on the black screen (and it's not a keyframe problem)
So what I do is use the detect black scenes function, invert segment selection and then proceed to rename the individual segments.
However, having the list ready would save a lot of time and if the function ignored the time written at the beginning (00:00, 00:30, 00:43 etc.) it would be even better
Sorry for the long answer, I hope I have explained my case better, thanks for your help
from lossless-cut.
Related Issues (20)
- Checkbox to export segments next to working file instead of specified directory HOT 1
- XFade between cuts HOT 1
- docker version would be nice HOT 1
- Timecode issue. HOT 1
- [Feature] Add playback-speed control and segment operations (delay/offset) HOT 2
- Preserve 360° metadata for mp4? Only works with remuxing into mkv HOT 1
- [Feature] Forward +10 seconds or +1 minute and rewind -10 seconds -1 minute HOT 1
- [3.61] [Win10/64] "Keyboard & Mouse Shortcuts" Help Item no longer works HOT 1
- SmartCut extreme quality degradation for encoded part due to incorrect detected bitrate from stream HOT 2
- [Feature Request] Filter segments by length HOT 1
- [FEATURE] Be able to change the segments suffix name from " -segXXX" to anything else. HOT 6
- File Open HOT 2
- Find video clips with subtitles HOT 1
- Focus the segment nearest to the playback cursor (keyboard behaviour) HOT 1
- New releases HOT 1
- Created File time is wrong HOT 3
- Perform batch cutting of files for a fixed time of minutes and seconds from the list HOT 12
- Cannot properly Smartcut mkv files encoded with Nvidia NVENC HEVC codec HOT 1
- Step time HOT 2
- Exported video rotates regardless of output settings HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lossless-cut.