Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[Solved]Any simple mp4 Video cutter/Splitter available?
-
- Posts: 485
- Joined: 2009-07-04 06:32
- Location: Home: Barrackpore and Mysore
- Has thanked: 5 times
[Solved]Any simple mp4 Video cutter/Splitter available?
Specific chunks of downloaded YouTube videos are to be used for note-making purposes.
OpenShot video editor is an Overkill. Like using an H-bomb to kill a mosquito. Then there are problems associated and the complexity involved with compression and bitrate setup for the sliced portions with OpenShot.
My simple purpose is to watch a video in smplayer. Note down the timeline for the chunks needed. Then use a video cutter to cut out those required slices. At the same compression bitrate as that of the parent file.
Linux split command helps in splitting binary files. But there is a problem. The Mime- and compression- data of the sliced files are only in the first slice. The rest don't have them. So renaming the intermediate slices won't make them playable mp4 videos.
vlc media player could have been used, but my laptop has non-standard components, making audio stream recording impossible. The matter has been discussed in one of my earlier posts.
So any suggestion would be welcome. In the year 2000 there was a simple window application called vcdcutter. I require something simple like it.
OpenShot video editor is an Overkill. Like using an H-bomb to kill a mosquito. Then there are problems associated and the complexity involved with compression and bitrate setup for the sliced portions with OpenShot.
My simple purpose is to watch a video in smplayer. Note down the timeline for the chunks needed. Then use a video cutter to cut out those required slices. At the same compression bitrate as that of the parent file.
Linux split command helps in splitting binary files. But there is a problem. The Mime- and compression- data of the sliced files are only in the first slice. The rest don't have them. So renaming the intermediate slices won't make them playable mp4 videos.
vlc media player could have been used, but my laptop has non-standard components, making audio stream recording impossible. The matter has been discussed in one of my earlier posts.
So any suggestion would be welcome. In the year 2000 there was a simple window application called vcdcutter. I require something simple like it.
Last edited by bkpsusmitaa on 2022-09-09 15:16, edited 1 time in total.
Freedom is impossible to conceive.
Books that help:
Dale Carnegie's How To Win Friends And Influence People and Emilie Post's Etiquette In Society, In Business, In Politics, And At Home
Books that help:
Dale Carnegie's How To Win Friends And Influence People and Emilie Post's Etiquette In Society, In Business, In Politics, And At Home
Re: [?]Any simple mp4 Video cutter/Splitter available?
I use Lossless Cut - you can watch and mark at the same time, then just chop off the rubbish. It does take a little practice but does the job. I'm using the Appimage.
-
- Posts: 485
- Joined: 2009-07-04 06:32
- Location: Home: Barrackpore and Mysore
- Has thanked: 5 times
Re: [?]Any simple mp4 Video cutter/Splitter available?
Thank you. Good. Downloaded LosslessCut-linux-x86_64.AppImage. libappimage0 wasn't installed. Required another, libsquashfuse.
After installation of these packages, tried to run from terminal. Error message:
Checking if libz is zlib which is installed. Any suggestions?./LosslessCut-linux-x86_64.AppImage: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
Freedom is impossible to conceive.
Books that help:
Dale Carnegie's How To Win Friends And Influence People and Emilie Post's Etiquette In Society, In Business, In Politics, And At Home
Books that help:
Dale Carnegie's How To Win Friends And Influence People and Emilie Post's Etiquette In Society, In Business, In Politics, And At Home
- oswaldkelso
- df -h | grep > 20TiB
- Posts: 1497
- Joined: 2005-07-26 23:20
- Location: UK
- Has thanked: 1 time
- Been thanked: 60 times
Re: [?]Any simple mp4 Video cutter/Splitter available?
ffmpeg. Almost certainly already installed.
search for ¨ffmpeg trim video¨ with your favourite search engine or video site
search for ¨ffmpeg trim video¨ with your favourite search engine or video site
Free Software Matters
Ash init durbatulûk, ash init gimbatul,
Ash init thrakatulûk agh burzum-ishi krimpatul.
My oldest used PC: 1999 imac 333Mhz 256MB PPC abandoned by Debian
Ash init durbatulûk, ash init gimbatul,
Ash init thrakatulûk agh burzum-ishi krimpatul.
My oldest used PC: 1999 imac 333Mhz 256MB PPC abandoned by Debian
- canci
- Global Moderator
- Posts: 2502
- Joined: 2006-09-24 11:28
- Has thanked: 136 times
- Been thanked: 136 times
Re: [?]Any simple mp4 Video cutter/Splitter available?
I use ffmpeg these days, like this:
https://superuser.com/questions/138331/ ... t-up-video
https://superuser.com/questions/138331/ ... t-up-video
Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
-
- Posts: 485
- Joined: 2009-07-04 06:32
- Location: Home: Barrackpore and Mysore
- Has thanked: 5 times
[Solved]Any simple mp4 Video cutter/Splitter available?
Yes,Mr. cancl, thank you. I needed the line.canci wrote: ↑2022-09-09 13:06 I use ffmpeg these days, like this:
https://superuser.com/questions/138331/ ... t-up-video
OR(corrected on the basis of the above link on 24Jun23)The following would skip the first 30 seconds, and then extract the next 10 seconds to a file called output.wmv:In the above command, the timestamps are in seconds (s.msec), but timestamps can also be in HH:MM:SS.xxx format. The following is equivalent:Code: Select all
ffmpeg -ss 30 -i input.wmv -c copy -t 10 output.wmv
Code: Select all
ffmpeg -ss 00:00:30.0 -i input.wmv -c copy -t 00:00:10.0 output.wmv
Thank you too, Mr. oswaldkelso. The search for "ffmpeg trim video" (without the quotation signs) led to the webpage: https://shotstack.io/learn/use-ffmpeg-to-trim-video/ and a near identical solution as above:Example: If you want to make a 1-minute clip, from 9min0sec to 10min 0sec in Video.mp4, you could do it both quickly and accurately using:
The first -ss seeks fast to (approximately) 8min0sec, and then the second -ss seeks accurately to 9min0sec, and the 00:01:00 -t takes out a 1min0sec clip.Code: Select all
ffmpeg -ss 00:08:00 -i Video.mp4 -ss 00:01:00 -t 00:01:00 -c copy VideoClip.mp4
Code: Select all
$ ffmpeg -i input.mp4 -ss 00:05:20 -t 00:10:00 -c:v copy -c:a copy output1.mp4
I am also expecting a reply from Mr. bin.
Thank you all for your inputs. Much appreciated. I admire your upholding the Social Contract and of FSF.
BTW, please draw the attention of the forum administrators and moderators, because I can't see the "Thank" sign on your posts. So I can't officially post my Thanks for you.
Last edited by bkpsusmitaa on 2023-06-24 04:23, edited 3 times in total.
Freedom is impossible to conceive.
Books that help:
Dale Carnegie's How To Win Friends And Influence People and Emilie Post's Etiquette In Society, In Business, In Politics, And At Home
Books that help:
Dale Carnegie's How To Win Friends And Influence People and Emilie Post's Etiquette In Society, In Business, In Politics, And At Home
- canci
- Global Moderator
- Posts: 2502
- Joined: 2006-09-24 11:28
- Has thanked: 136 times
- Been thanked: 136 times
Re: [Solved]Any simple mp4 Video cutter/Splitter available?
If you give 'copy' instead of naming a codec, then ffmpeg will indeed only cut the length and not recode anything, so quality will remain unchanged. In the examples that you picked above you can see that both video and audio remain unchanged. If you change media containers, the video won't typically be reencoded, but be aware that not all containers can take every codec, so just leave the container as is if you don't care about it.
Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: [Solved]Any simple mp4 Video cutter/Splitter available?
For Pete's sake--just use VLC. Enable the Advanced Controls in VLC, and you get a "Record" button. Begin and stop recording to cut out your desired chunk of video. Yes, you need to play that whole section to record it.
There's another applet called Vidcutter https://www.omgubuntu.co.uk/2017/01/vid ... -linux-app which is dead simple, too, but is not in Debian. You could use the MX 21 build, which I did on generic Debian QEMU virtual machines using pbuilder. (that means they work fine in Debian)
There's another applet called Vidcutter https://www.omgubuntu.co.uk/2017/01/vid ... -linux-app which is dead simple, too, but is not in Debian. You could use the MX 21 build, which I did on generic Debian QEMU virtual machines using pbuilder. (that means they work fine in Debian)
MX Linux packager and developer
-
- Posts: 485
- Joined: 2009-07-04 06:32
- Location: Home: Barrackpore and Mysore
- Has thanked: 5 times
Re: [Solved]Any simple mp4 Video cutter/Splitter available?
I have told you, Steve, earlier and here too, that my laptop has non-standard components, because of which pulseaudio doesn't work in duplex mode, playing and recording audio simultaneously. So vlc won't help.
But thank you for your intent to help, which is noted.
Last edited by bkpsusmitaa on 2022-09-10 01:12, edited 2 times in total.
Freedom is impossible to conceive.
Books that help:
Dale Carnegie's How To Win Friends And Influence People and Emilie Post's Etiquette In Society, In Business, In Politics, And At Home
Books that help:
Dale Carnegie's How To Win Friends And Influence People and Emilie Post's Etiquette In Society, In Business, In Politics, And At Home
-
- Posts: 485
- Joined: 2009-07-04 06:32
- Location: Home: Barrackpore and Mysore
- Has thanked: 5 times
Re: [Solved]Any simple mp4 Video cutter/Splitter available?
Thank you, Mr. Canci, for your note.
Freedom is impossible to conceive.
Books that help:
Dale Carnegie's How To Win Friends And Influence People and Emilie Post's Etiquette In Society, In Business, In Politics, And At Home
Books that help:
Dale Carnegie's How To Win Friends And Influence People and Emilie Post's Etiquette In Society, In Business, In Politics, And At Home
- canci
- Global Moderator
- Posts: 2502
- Joined: 2006-09-24 11:28
- Has thanked: 136 times
- Been thanked: 136 times
Re: [Solved]Any simple mp4 Video cutter/Splitter available?
This never really worked for me and was way too much hassle to troubleshoot than ffmpeg.
And if I were to use GUI, then I'd just go all the way and use something where I can visually cut things on a timeline, so vidcutter or something similar. But ffmpeg works best for me and I don't need to go hunt down external packages.
Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
Re: [Solved]Any simple mp4 Video cutter/Splitter available?
avidemux
cut/append/convert containers/re-encode
extremely easy to use
https://avidemux.sourceforge.net/
cut/append/convert containers/re-encode
extremely easy to use
https://avidemux.sourceforge.net/
- canci
- Global Moderator
- Posts: 2502
- Joined: 2006-09-24 11:28
- Has thanked: 136 times
- Been thanked: 136 times
Re: [Solved]Any simple mp4 Video cutter/Splitter available?
I thought Avidemux was dead. I used that a lot in the past.
Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: [Solved]Any simple mp4 Video cutter/Splitter available?
Avidemux is still alive--just recently pushed out a 2.8.1 release, I think.
It'll never get into Debian until some of the MPEG group's problematic mp4 container patents patents expire.
It'll never get into Debian until some of the MPEG group's problematic mp4 container patents patents expire.
MX Linux packager and developer
-
- Global Moderator
- Posts: 2715
- Joined: 2018-06-20 15:16
- Location: Colorado
- Has thanked: 41 times
- Been thanked: 201 times
Re: [Solved]Any simple mp4 Video cutter/Splitter available?
...expire next year or so.
I've been using avidemux since stretch. Every version a little better! I think the last upgrade netted a volume control! ...at the same time gnutv broke.
-
- Posts: 485
- Joined: 2009-07-04 06:32
- Location: Home: Barrackpore and Mysore
- Has thanked: 5 times
Re: [Solved]Any simple mp4 Video cutter/Splitter available?
One note: LosslessCut-linux-x86_64.AppImage appears to be corrupt. Downloaded from the GitHub link https://github.com/mifi/lossless-cut#download, chmod +x done and opened with ark, ark reports:
On the other hand, avidemux_2.8.1_legacy.appImage is functional with ark. But doesn't run.Loading the archive /home/knoppix/Downloads/LosslessCut-linux-x86_64.AppImage failed with the following error:
No suitable plugin found. Ark does not seem to support this file type.
Freedom is impossible to conceive.
Books that help:
Dale Carnegie's How To Win Friends And Influence People and Emilie Post's Etiquette In Society, In Business, In Politics, And At Home
Books that help:
Dale Carnegie's How To Win Friends And Influence People and Emilie Post's Etiquette In Society, In Business, In Politics, And At Home