Lossless video cutting

Moderator: Ken Berry

RafaelLVX
Posts: 10
Joined: Tue Dec 13, 2016 3:56 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit

Lossless video cutting

Post by RafaelLVX »

Hi.

Is there a way to losslessly cut/split video with no reencoding, on VideoStudio?
User avatar
aljimenez
Posts: 1107
Joined: Fri Dec 17, 2004 11:17 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Dell Inc. A08 4.16.2014
processor: IntelCore i7-4790 3.60GHz 4Cores 8 Logical Proc
ram: 24GB
Video Card: AMD Radeon R9 270
sound_card: AMD High Definition Audio
Hard_Drive_Capacity: 500SSD+2TB
Monitor/Display Make & Model: Three monitors, all Dell brand, one 4K
Corel programs: Visual Studio, Paintshop
Location: San Luis Obispo, CA, USA

Re: Lossless video cutting

Post by aljimenez »

Cutting can be close to lossless if VS can encode the video with the same format as the source video. VS can't do all the many sources of video that are available. Use the option "same as first video" when you go into the Share tab after cutting your video leaving the one piece you want, and repeat for the other piece.
User for more than 10 years.
RafaelLVX
Posts: 10
Joined: Tue Dec 13, 2016 3:56 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit

Re: Lossless video cutting

Post by RafaelLVX »

So... no reencoding is not an option?
User avatar
lata
Site Admin
Posts: 14280
Joined: Thu Jan 19, 2012 6:21 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK COMPUTER INC A88XM-A USB 3 1 Rev X 0x
processor: 4 10 gigahertz AMD A10-7890K Radeon R7
ram: 16 gb
Video Card: on board
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 500 SSD
Monitor/Display Make & Model: LG W2242 [Monitor]
Corel programs: CVSX, 19, 20, 22 PSP2023, PI, MS3D
Location: UK
Contact:

Re: Lossless video cutting

Post by lata »

Hi

Video Studio works with virtual clips, a thumbnail representing the original file on the hard drive.
When we edit / cut that clip it does not affect the original file.

If we needed a separate video file of the cut section, then we have to render that section to a new video file.

We can of course do multiple cuts and work to the completion of our project, then render the project once to create a new video file.

So... no reencoding is not an option?
New forum for PSP and VS users, register if you need help

https://psp-vs-forums.freeforums.net
canuck
Posts: 2037
Joined: Wed Mar 14, 2012 3:28 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit
Location: Deep River, Ontario, Canada

Re: Lossless video cutting

Post by canuck »

RafaelLVX wrote:Hi.

Is there a way to losslessly cut/split video with no reencoding, on VideoStudio?
I use a 3rd party utility (http://www.machetesoft.com/) to do lossless cutting/trimming.
User avatar
lata
Site Admin
Posts: 14280
Joined: Thu Jan 19, 2012 6:21 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK COMPUTER INC A88XM-A USB 3 1 Rev X 0x
processor: 4 10 gigahertz AMD A10-7890K Radeon R7
ram: 16 gb
Video Card: on board
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 500 SSD
Monitor/Display Make & Model: LG W2242 [Monitor]
Corel programs: CVSX, 19, 20, 22 PSP2023, PI, MS3D
Location: UK
Contact:

Re: Lossless video cutting

Post by lata »

Hi
I suppose its what do we mean by “lossless”
But how do you cut a clip, create a new file without reencoding.

Video studio can cut the video and save trimmed video will render using original properties,
that’s as near to lossless as we can get, but cannot do that without rendering / reencoding.

If the format were DV-Avi then lossless rendering is possible as DV-Avi is a lossless format.

I guess the answer to the original question is yes, provided you do not require a separate video file.
New forum for PSP and VS users, register if you need help

https://psp-vs-forums.freeforums.net
canuck
Posts: 2037
Joined: Wed Mar 14, 2012 3:28 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit
Location: Deep River, Ontario, Canada

Re: Lossless video cutting

Post by canuck »

Machete does not do any rencoding or rendering. It simply copies the desired video to a new video file. By setting markers (at key-frames) you can trim or delete
unwanted video. What remains is copied to the new file.
User avatar
Ron P.
Advisor
Posts: 12002
Joined: Tue May 10, 2005 12:45 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Hewlett-Packard 2AF3 1.0
processor: 3.40 gigahertz Intel Core i7-4770
ram: 16GB
Video Card: NVIDIA GeForce GTX 645
sound_card: NVIDIA High Definition Audio
Hard_Drive_Capacity: 4TB
Monitor/Display Make & Model: 1-HP 27" IPS, 1-Sanyo 21" TV/Monitor
Corel programs: VS5,8.9,10-X5,PSP9-X8,CDGS-9,X4,Painter
Location: Kansas, USA

Re: Lossless video cutting

Post by Ron P. »

canuck wrote:
RafaelLVX wrote:Hi.

Is there a way to losslessly cut/split video with no reencoding, on VideoStudio?
I use a 3rd party utility (http://www.machetesoft.com/) to do lossless cutting/trimming.
Sorry to tell you this but Machesoft's statement about not having to reencode is misleading. Once you cut, or do any sort of editing/changes to video files, they must be reencoded. Machesoft also makes clear that if you insert other video files, they must be the same format. Why? Because that limits the amount or degree of reencoding. VS can do the same thing, in fact I'd argue way better than Machetesoft.

This is from Machetesoft:
Joining files

The following example describes how to quickly join two files:

Step 1. Open the first file you want to join with Machete. Open the file you want to join in Machete. Set the current playback position to the point where you want to add another file. In a video file, this can be the beginning, the end or any key frame within the file. Audio files can be joined at any point.

Step 2. Press Insert file: quickly and easily split WMV files Insert a file at the current position... button, select the file you want to add from the list and press Open (please make sure that formats of the two files are exactly the same). Repeat this procedure to add as many files as you wish. Each time, you can select a new position for adding a file to.

Step 3. Save the resulting file with a new name using menu File-> Save As... to preserve the original file.



Note: Since Machete performs all editing operations without re-encoding, you need to make sure that the two files you wish to join have exactly the same format. Specifically, they should have identical parameters of video stream (codec, frame size etc) as well as audio stream (codec, sample rate, number of channels etc) if it is present. Otherwise, Machete will display a warning that the files could not be joined.
Ron Petersen, Web Board Administrator
canuck
Posts: 2037
Joined: Wed Mar 14, 2012 3:28 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit
Location: Deep River, Ontario, Canada

Re: Lossless video cutting

Post by canuck »

We are not talking about joining videos but only about cutting/trimming
User avatar
Ron P.
Advisor
Posts: 12002
Joined: Tue May 10, 2005 12:45 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Hewlett-Packard 2AF3 1.0
processor: 3.40 gigahertz Intel Core i7-4770
ram: 16GB
Video Card: NVIDIA GeForce GTX 645
sound_card: NVIDIA High Definition Audio
Hard_Drive_Capacity: 4TB
Monitor/Display Make & Model: 1-HP 27" IPS, 1-Sanyo 21" TV/Monitor
Corel programs: VS5,8.9,10-X5,PSP9-X8,CDGS-9,X4,Painter
Location: Kansas, USA

Re: Lossless video cutting

Post by Ron P. »

canuck wrote:We are not talking about joining videos but only about cutting/trimming
Yes, I understand that. However if you cut or trim a video file, it will need to be rendered, which would be a new video file. That rendering does require the usage of codecs correct? It does require (re)encoding. Reencoding seems to scare or worry people, and they need not be. Simple edits do not have serious impact on video quality. Mixing several different formats, complex projects may.
Ron Petersen, Web Board Administrator
RafaelLVX
Posts: 10
Joined: Tue Dec 13, 2016 3:56 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit

Re: Lossless video cutting

Post by RafaelLVX »

Canuck is right, I'm asking if what Machete (or SolveigMM Video Splitter) does can be accomplished with Corel VideoStudio. That's what I can't find here.

Lossless reencoding leads to larger filesizes. Cutting with no reencoding uses the exact same frames and just drops portions of the video to get a smaller filesize and no loss of quality at all.
RafaelLVX
Posts: 10
Joined: Tue Dec 13, 2016 3:56 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit

Re: Lossless video cutting

Post by RafaelLVX »

canuck wrote:
RafaelLVX wrote:Hi.

Is there a way to losslessly cut/split video with no reencoding, on VideoStudio?
I use a 3rd party utility (http://www.machetesoft.com/) to do lossless cutting/trimming.
I use SolveigMM Video Splitter, similar functionality, slightly cheaper. Problem is, it isn't without its flaws. Some random videos force-close SVS, and some others become unuable after trimming, and their support just scratches their heads with no solution, they only say something must be wrong with the source video.

I could use Machete or VideoStudio for that matter, I'm only looking for the best bang for buck, provided the functionality even exists on VideoStudio, which is currently unconfirmed.
canuck
Posts: 2037
Joined: Wed Mar 14, 2012 3:28 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit
Location: Deep River, Ontario, Canada

Re: Lossless video cutting

Post by canuck »

Solveig Splitter is more then 2 times as expensive as Machete.
RafaelLVX
Posts: 10
Joined: Tue Dec 13, 2016 3:56 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit

Re: Lossless video cutting

Post by RafaelLVX »

canuck wrote:Solveig Splitter is more then 2 times as expensive as Machete.
Not with localized pricing, no. Dollards are expensive here in Brazil. ;-)

Same goes with VideoStudio, it's currently under 70 BRL, which is worth around 20 USD today. A bargain to be sure, but useless for me if I can't do real lossless cutting trimming, which I suppose should be around here somewhere since it's such an advanced app.
User avatar
Ken Berry
Site Admin
Posts: 22481
Joined: Fri Dec 10, 2004 9:36 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte B550M DS3H AC
processor: AMD Ryzen 9 5900X
ram: 32 GB DDR4
Video Card: AMD RX 6600 XT
Hard_Drive_Capacity: 1 TB SSD + 2 TB HDD
Monitor/Display Make & Model: Kogan 32" 4K 3840 x 2160
Corel programs: VS2022; PSP2023; DRAW2021; Painter 2022
Location: Levin, New Zealand

Re: Lossless video cutting

Post by Ken Berry »

Correct me if I'm wrong, but we seem to be talking about what I have been doing for the past twelve or so years with Video Studio. And I just reconfirmed it now with a little experiment. I put a random .mts file in the X9 timeline (though it could have been any version of VS -- I started back with VS7 and that's 7 without an X!) I chose a random spot in the clip and cut it with the scissors icon below the preview screen. Then I highlighted one part of the part clip. Then I went to File > Save Trimmed Video. And a totally real, totally new clip with exactly the same properties as the original, was created. And I could then do the same with the remaining part of the original clip.

And I repeat, these are completely new and separate clips, not just virtual ones. And the original clip remains intact as well. One thing to note if you try this yourself is that the Save Trimmed Video process does not ask where you want the new clip(s) to be stored. By default it stores them in C:\Users\[YourName]\Documents\Corel VideoStudio Pro\19.0 -- but of course once created you can move them wherever you want.

So from my point of view VS can certainly cut a video clip into real pieces with no re-encoding at all! :lol: 8)
Ken Berry
Post Reply