Video editing

If it doesn't relate to Debian, but you still want to share it, please do it here

Video editing

Postby ticojohn » 2018-07-01 14:59

I am looking for suggestions regarding editing a video. I have a video that's about an hour long and the scenes are out of sequence. I know what the timeline is for the sequences and how they should be properly arranged but I don't have any experience with video editors. I have downloaded flowblade but am totally lost. What might be a simpler tool, if any, to use for re-sequencing the video?

MY BAD: I probably should have stated that the file I want to edit is mp4 format.
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 801
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: Video editing

Postby debiman » 2018-07-01 15:40

i've had good experiences with ffmpeg.
this might help:
http://dt.iki.fi/screencast-ffmpeg
starting at "trimmed and concatenated"
User avatar
debiman
 
Posts: 3015
Joined: 2013-03-12 07:18

Re: Video editing

Postby arochester » 2018-07-01 17:42

I have downloaded flowblade but am totally lost


Have you seen this? https://jliljebl.github.io/flowblade/webhelp/help.html
arochester
 
Posts: 1332
Joined: 2010-12-07 19:55

Re: Video editing

Postby ticojohn » 2018-07-01 18:37

arochester wrote:
I have downloaded flowblade but am totally lost


Have you seen this? https://jliljebl.github.io/flowblade/webhelp/help.html

Thanks for that link. However, I fiddled around with flowblade for a couple hours (before I saw this link) and I think I figured it out. In process of rendering the mp4 output as I type this. Hoping i got it right. I will post back on the completion of the render. About 10 minutes to go.
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 801
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: Video editing

Postby ticojohn » 2018-07-01 18:50

Thanks to all that responded to help me. I finally figured out how to use flowblade for what I wanted to do. Wasn't really that hard once I got my brain working in a "video edit" mode. Powerful but not real intuitive. Guess that stands to reason. More power generally implies a steeper learning curve. Again, thanks for the assistance provided.
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 801
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: Video editing

Postby ticojohn » 2018-07-01 18:52

arochester wrote:
I have downloaded flowblade but am totally lost


Have you seen this? https://jliljebl.github.io/flowblade/webhelp/help.html

Yes, I did look at those docs and found them to not be as clear as I had hoped. But I fiddled around and finally got it to do what I wanted. Thanks.
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 801
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: Video editing

Postby debiman » 2018-07-01 21:15

ticojohn wrote:I will post back on the completion of the render. About 10 minutes to go.

see, there's your problem using a gui behemoth like that: it apparently defaults to re-encoding the whole shebang, although the bits are all taken from the same video file and hence the same codec.
with ffmpeg, you can just stitch the bits together without re-encoding.
orders of magnitude quicker, and the quality is alsio better (100% that of the source).
User avatar
debiman
 
Posts: 3015
Joined: 2013-03-12 07:18

Re: Video editing

Postby ticojohn » 2018-07-01 21:25

debiman wrote:
ticojohn wrote:I will post back on the completion of the render. About 10 minutes to go.

see, there's your problem using a gui behemoth like that: it apparently defaults to re-encoding the whole shebang, although the bits are all taken from the same video file and hence the same codec.
with ffmpeg, you can just stitch the bits together without re-encoding.
orders of magnitude quicker, and the quality is alsio better (100% that of the source).

Ok. I looked at your link, before going ahead with flowblade, and saw that it was using mkv not mp4. As I don't know squat about ffmpeg I had know idea if it could also do mp4. I will take a look a ffmpeg and see if it might be easier the next time around. Thanks for the tip.
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 801
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: Video editing

Postby debiman » 2018-07-02 19:09

ticojohn wrote:I looked at your link, before going ahead with flowblade, and saw that it was using mkv not mp4. As I don't know squat about ffmpeg I had know idea if it could also do mp4.

it doesn't matter.
the magic is '-acodec copy -vcodec copy'.
User avatar
debiman
 
Posts: 3015
Joined: 2013-03-12 07:18

Re: Video editing

Postby ticojohn » 2018-07-02 20:38

debiman wrote:
ticojohn wrote:I looked at your link, before going ahead with flowblade, and saw that it was using mkv not mp4. As I don't know squat about ffmpeg I had know idea if it could also do mp4.

it doesn't matter.
the magic is '-acodec copy -vcodec copy'.

I read several articles about ffmpeg and I am not sure that it would be easier to use in my particular case. I wanted to take an mp4 file, about an hour long, and split into 4 parts. Then put those 4 parts back together in a different order. Yes, ffmpeg could split out the 4 parts into separate files, but what I read is that ffmpeg can not directly concatenate mp4 files. They would have to first be transcoded to mp2, then concatenated, then converted back to mp4. Perhaps I misread the articles, but I saw several that said ffmpeg can not concatenate mp4 files. Besides, once I learned Flowblade, the process was really straight forward and I doubt any more time consuming than going through all the steps required to do the same thing with ffmpeg. Plus, flowblade gave me excellent control (down to 1/100 of a second) as to where I wanted the splits, and it showed me the scene at which the split was occurring. Maybe bloated but really powerfull.

I may be all wrong. I am certainly not the expert here. But it looks to me that Flowblade, once learned, is easy to use and more powerful than ffmpeg. But I do appreciate your response to my question.
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 801
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: Video editing

Postby stevepusser » 2018-07-02 21:35

Mp4 files have an index, and a new concatenated mp4 file indeed needs to be reindexed. I remember doing that pretty quickly on the command line some years ago, probably with ffmpeg, with mp4 files that were exactly the same resolution, codec, and bitrate, but you say you also want to cut out your own clips first...have you tried Avidemux? I think you'll find it can do that, then make a new file from the clips without the lengthy transcoding, and it's easier to use than Flowblade, IMO.

It's not in Debian because of a current patent issue on some mp4 codec that it uses, but you should be able to use its AppImage for 64-bit on Stretch. Other platforms can get it from deb-multimedia without borking their systems the last time I checked it. It's also in my OBS multimedia repo if someone already has that.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Quod Libet 4.2.0, Pale Moon 28.2.0, wine-staging 3.20, GIMP 2.10.8, Liquorix kernel 4.18-22, Midori 6.0
User avatar
stevepusser
 
Posts: 10122
Joined: 2009-10-06 05:53

Re: Video editing

Postby ticojohn » 2018-07-03 13:33

stevepusser wrote:Mp4 files have an index, and a new concatenated mp4 file indeed needs to be reindexed. I remember doing that pretty quickly on the command line some years ago, probably with ffmpeg, with mp4 files that were exactly the same resolution, codec, and bitrate, but you say you also want to cut out your own clips first...have you tried Avidemux? I think you'll find it can do that, then make a new file from the clips without the lengthy transcoding, and it's easier to use than Flowblade, IMO.

It's not in Debian because of a current patent issue on some mp4 codec that it uses, but you should be able to use its AppImage for 64-bit on Stretch. Other platforms can get it from deb-multimedia without borking their systems the last time I checked it. It's also in my OBS multimedia repo if someone already has that.

Thanks for the feedback Steve. No, I haven't tried Avidemux as it isn't in official Debian repos but I may give it a try. This was really, I hope, a one time need. I had downloaded (gasp) a video that was kind of borked in that some scenes were out of order. One thin I noticed was that when I rendered the corrected video it ended up being 3 times as big as the original. Possibly due to sampling rates? Anyway,I have Stretch installed on one partition of my desktop machine (not the HTPC installation) and I might try to install Avidemux there and see how it goes. Again, thanks for the feedback.
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 801
Joined: 2009-08-29 18:10
Location: Costa Rica


Return to Offtopic

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable