Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Simple video cutting software
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Wed Aug 26, 2015 3:39 pm    Post subject: Simple video cutting software Reply with quote

Is there or is there not simple video cutting software for Linux?
The task: 4 GB raw video needs to be cut, unnecessary parts out and remaining parts joined. No recoding. I tried Openshot, it can cut alright, but I couldn't figure out how to save the file without recoding.
All hints are welcome.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Wed Aug 26, 2015 4:49 pm    Post subject: Re: Simple video cutting software Reply with quote

Buffoon wrote:
Is there or is there not simple video cutting software for Linux?
https://www.youtube.com/watch?v=FeiREo0pcvE
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Wed Aug 26, 2015 6:35 pm    Post subject: Reply with quote

Thanks. Not exactly what I was looking for. There are several ways to cut a piece out of a video, even dd can do it. I'd like to cut several pieces at once and save the remaining parts into a file.
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8708
Location: ~Brussels - Belgique

PostPosted: Wed Aug 26, 2015 6:55 pm    Post subject: Reply with quote

avidemux?
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Wed Aug 26, 2015 8:08 pm    Post subject: Reply with quote

I can select a piece in Avidemux and save it into a separate file. After repeating this 20-30 times I will have all those pieces and then I have append them to each other to achieve my goal. Too much hassle. Considering I need to edit several files this way.
Back to top
View user's profile Send private message
tuam
l33t
l33t


Joined: 04 May 2004
Posts: 765
Location: CGN, Germany

PostPosted: Wed Aug 26, 2015 9:06 pm    Post subject: Reply with quote

I regularly remove commercials from my recordings with avidemux. It's as easy as select - delete. Did I understand your question wrong?
_________________
Logic clearly dictates that the needs of the many outweigh the needs of the few. - Spock
The needs of the one outweigh the needs of the many. - Kirk
I refuse to let arithmetic decide questions like that. - Picard
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Wed Aug 26, 2015 9:18 pm    Post subject: Reply with quote

Thanks! Never realized I can do it in Avidemux.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2572
Location: Here and Away Again

PostPosted: Wed Aug 26, 2015 9:28 pm    Post subject: ><)))°€ Reply with quote

Avidemux is what came to my mind as the first thing as well, and I believe it was worth mentioning.

I don't remember how well it would handle the “joining” part though, especially without re-encoding. There must be some reason for me to not really use it for a long time... What I have mostly been using, is just plain FFmpeg. While that is probably even more hassle than Avidemux to some, I'll show a quick example of what I oft do with it.

Something along the lines of:

Code:
ffmpeg -i input_file_1.mp4 -ss 7 -to 9 -c copy output_file_1.mp4
ffmpeg -i input_file_2.mp4 -ss 7 -to 9 -c copy output_file_2.mp4

Then I have in a file (let's name it cancot) something like this:

Code:
file '/path/to/output_file_1.mp4'
file '/path/to/output_file_2.mp4'

To join the clips, I do:

Code:
ffmpeg -f concat -i "cancot" -c copy blubb.mp4

I didn't test any of that, basically writing from memory, but it shouldn't be too far off (I'll proof-read it after a nap or few). It won't always be perfect, and it might be better to just go for re-encoding as lossless as wanted.

I have been meaning to write a more or less simple program in Bash to do all this with less effort, providing ease of use for when dealing with several clips as well, but alas, I've not yet even started...

Apologies that I don't have a better(?) idea, but I figured this is at least worth mentioning.
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Thu Aug 27, 2015 9:27 am    Post subject: Reply with quote

Code:
Knight / # eix openshot
* media-video/openshot
     Available versions:  (~)1.4.3 {+ffmpeg libav +python PYTHON_TARGETS="python2_7"}
     Homepage:            http://www.openshotvideo.com
     Description:         Free, open-source, non-linear video editor to create and edit videos and movies


No idea if its simple.

No idea if its based on avidemux or not, but both afaik used QT ... i may be wrong..
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Thu Aug 27, 2015 10:05 am    Post subject: Re: ><)))°€ Reply with quote

Chiitoo wrote:
I have been meaning to write a more or less simple program in Bash to do all this with less effort, providing ease of use for when dealing with several clips as well, but alas, I've not yet even started...

Interesting; definitely easy enough to script, but the tricky part is getting the timestamps for the part you wish to chop out.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2572
Location: Here and Away Again

PostPosted: Thu Aug 27, 2015 11:41 am    Post subject: Re: ><)))°€ Reply with quote

steveL wrote:
Interesting; definitely easy enough to script, but the tricky part is getting the timestamps for the part you wish to chop out.

I guess I imagined handling that part as some sort of extra options (or arguments even) passed to the final command if used. Perhaps it wouldn't be as simple as I thought at first, without having to set some values in a file (or the script itself)...
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2284
Location: Adendorf, Germany

PostPosted: Thu Aug 27, 2015 4:37 pm    Post subject: Reply with quote

What about media-video/cinelerra ?
_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Thu Aug 27, 2015 10:16 pm    Post subject: Re: ><)))°€ Reply with quote

steveL wrote:
Interesting; definitely easy enough to script, but the tricky part is getting the timestamps for the part you wish to chop out.

Chiitoo wrote:
I guess I imagined handling that part as some sort of extra options (or arguments even) passed to the final command if used. Perhaps it wouldn't be as simple as I thought at first, without having to set some values in a file (or the script itself)...

Well that's why people use a GUI ;) It's a bit like desktop-publishing: you really need a graphical display to manipulate the medium.

But it's definitely a good idea to separate the edit-list generator, from the process running tools to actually effect the edits, and both from the control process.

MVC I guess, where the video files are the data, and the model part comes and goes in processing terms.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Fri Aug 28, 2015 12:58 pm    Post subject: Re: Simple video cutting software Reply with quote

Buffoon wrote:
Is there or is there not simple video cutting software for Linux?
The task: 4 GB raw video needs to be cut, unnecessary parts out and remaining parts joined. No recoding. I tried Openshot, it can cut alright, but I couldn't figure out how to save the file without recoding.
All hints are welcome.


well I do not know if the data format in question is designed that you can easily chop out data and readd it wherever you want it.
Afaik that only works with text-files and wave files.

Are you worried that you loose quality with recoding or is it just that you do not want to use the cpu cycles for recoding because you see it as unnecessary waste of cpu cycles.
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3133

PostPosted: Fri Aug 28, 2015 5:37 pm    Post subject: Reply with quote

If you want to cut an merge video using command line, have a look at mencoder. Nice tool that came with mplayer legacy (has been abandoned in mplayer2, no idea if they reimplemented this part). You can even use mplayer with -vo caca to watch your video in your text terminal (Ascii converted), but it's not going to be convenient when used alone.
Back to top
View user's profile Send private message
paulusbrand
Tux's lil' helper
Tux's lil' helper


Joined: 20 May 2009
Posts: 111

PostPosted: Fri Sep 25, 2015 7:49 am    Post subject: Reply with quote

You can try blender. I found it to be easer than it looks.

https://www.youtube.com/watch?v=xSGIPmQdV6M
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum