You are not logged in.

#21 2021-09-04 17:54:09

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,746

Re: a simple video editor or cutter

@Xuve, various thoughts
a. Most video players have the ability to mute sound (or devices), so not sure what would you need to change the files?
b. Mpv also has various audio filters that one can configure to reduce dynamics of the sound (loudnorm with LRA set to around 5). Pretty sure vlc has something similar.

edit: I had this cycler in my mpv input.conf, cycles between no filter, slight dynamic reduction and lots of dynamic reduction

# enable/disable loudnorm (r128) audio filter, syntax probably changed for newer mpv versions
F1 cycle-values af "" "lavfi=[loudnorm=LRA=10:I=-17]" "lavfi=[loudnorm=LRA=5:I=-17]"

c. 'Correct' tool for remuxing mkv files is usually mkvtoolnix-gui (should be in repos).

Last edited by brontosaurusrex (2021-09-04 18:05:40)

Offline

#22 2021-09-04 19:16:46

seppalta
Member
Registered: 2015-10-02
Posts: 43
Website

Re: a simple video editor or cutter

The ffmpeg command for trimming (cutting) has the following form:

ffmpeg -i input -ss ??:??:??.? -c copy -t ??:??:??.? output

.

Here, input is the name of the video (for example, Beethoven.mp4), output is your chosen name for the cut (for example, Beethoven-sonata.mp4) and ??:??:??.? are relevant times in hours:minutes:seconds. The first time in the command (follows -ss) is the starting time of the cut; the second time (follows -t) is the length or extent of the cut. Best quality is generally obtained by making the least (no) changes in the format. Thus,

ffmpeg -i Beethoven.mp4 -ss 00:13:26.0 -c copy -t 00:34:01.5 Beethoven-sonata.mp4

would create a new video named Beethoven-sonata.mp4 with length 34 minutes and 1.5 seconds, identical (equal in quality) to the part of Beethoven.mp4 between 13 minutes, 26 seconds and 47 minutes, 27.5 seconds. The command should be issued from the directory containing Beethoven.mp4, which is where Beethoven-sonata.mp4 will appear. You can do multiple cuts in the same input with a single command by simply adding a segment

-ss ??:??:??.? -c copy -t ??:??:??.? output

in the command for each cut.

Offline

#23 2021-09-08 01:18:15

leodova
Member
Registered: 2021-09-07
Posts: 15

Re: a simple video editor or cutter

I've used Losslesscut in windows and it's super easy. I see there's a linux version, too.

https://www.mifi.no/losslesscut/

https://github.com/mifi/lossless-cut

Offline

#24 2021-09-10 11:16:50

xuve
Member
Registered: 2021-05-09
Posts: 23

Re: a simple video editor or cutter

@ rbh
link updated here for 1 month-period
link to cache and console text

Offline

#25 2021-09-10 11:26:42

xuve
Member
Registered: 2021-05-09
Posts: 23

Re: a simple video editor or cutter

@ rbh yes I am glad I removed it from Lithium like some other applications too but I keep the ones that are useful for me...I am free to do this aren't I?
I am sending the files and re-opening the discussion of the problem why I removed it but I am just using windows 7 for this because it's the same problem on both systems (windows and Linux) and i am doing this because ohnonot asked for clarifications....Do you think I don't know the difference between forums for windows and this one...?! I am really happy to be on this forum so I learn from some people....but I have an experience (on windows macintosh and linux) as a user and I know what's useful for me....

Offline

#26 2021-09-10 11:40:24

xuve
Member
Registered: 2021-05-09
Posts: 23

Re: a simple video editor or cutter

@ leodova thanks for the tip I found a direct downlaod link for all 3 major
systems here i will certainly try this as it looks fast without quality loss
down link for linux mac and win
PS the file for linux is an appimage file

Last edited by xuve (2021-09-10 11:41:40)

Offline

#27 2021-09-10 11:52:13

xuve
Member
Registered: 2021-05-09
Posts: 23

Re: a simple video editor or cutter

@ brontosaurusrex I was just trying to watch the video on a usb stick on tv but I didn't want to disturb the sleeping people at home so I wanted to mute the sound and read the subtitles to understand what's going on...that was the reason I wanted to extract the subtitles with the video editor shutter encoder
and then put then in a file so I can add them with the remote control on tv....
anyway I was stupid enough to waste time doing it that way what I finally did (and this is  a bit less stupid) was I downloaded subtitles from the net and put the file in the usb stick with the movie...I don't have quality equipment to use....my TV is just comparatively old.... 2007...
thanks for your time and all your great work  and I am really beginning to learn from all this....

Offline

#28 2021-09-10 19:37:48

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: a simple video editor or cutter

xuve wrote:

@ rbh yes I am glad I removed it from Lithium like some other applications too but I keep the ones that are useful for me...I am free to do this aren't I?

Of course. No one has said anything else. I just pointed out, that the subject line of this thread is "a simple video editor or cutter".

I am sending the files and re-opening the discussion of the problem why I removed it but I am just using windows 7 for this because it's the same problem on both systems (windows and Linux) and i am doing this because ohnonot asked for clarifications....Do you think I don't know the difference between forums for windows and this one...?!

I don't understand why you want to continue hijack the discussion "a simple video editor or cutter" and continue discuss your problem with encoding with shutter-encoder. And an off-topic discussion does not get on-topic only because someone else join it.
Why not open a thread about your problem?
And there IS difference between BunsenLabs Linux and Windows, even if there for some application can exist similarities.
So, if you want to attach logs/terminal outputs, take them from linux.

I am really happy to be on this forum so I learn from some people....but I have an experience (on windows macintosh and linux) as a user and I know what's useful for me....

Try to ponder about the concept: netiquett.

Last edited by rbh (2021-09-10 19:40:20)


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

Board footer

Powered by FluxBB