[FFmpeg-user] Seeking for a method to remove sections of a video

Carlos E. R. robin.listas at telefonica.net
Mon Jun 19 21:04:20 EEST 2017


On 2017-06-19 19:35, James Girotti wrote:
> On Sun, Jun 18, 2017 at 9:50 AM, Carlos E. R. <>
> wrote:


> I ultimately run avidemux as a frontend to ffmpeg. I have avidemux save
> (copy video and audio) to a FIFO which is then the input for my ffmpeg
> command. From my limited testing that way supports multiple audio tracks.
> It's not a perfect setup because you have to end cuts on key-frames, not
> usually a problem for me though (you can start your cut wherever). Also,
> you can see the PTS for a given frame in avidemux. So in the rare-case I
> can manually tell ffmpeg where to cut a given segment. Generally, this is
> the workflow I use.

This is basically telling avidemux to do a copy of video and audio and
cutting at start/end points. At least on avidemux 2 it asks what audio
track to use, and totally ignores other tracks.

And avidemux 3 wants the other audio tracks to be fed from external files.

Another point, avidemux only can use two cut points, one at the start,
one at the end, so no, it can't be used.

I use avidemux to find the crop points, and I can use it to find the cut
points, and write all that to my command line of ffmpeg.



> Someone suggested mplayer with "--edlout=your_filename". I haven't tried
> it, but it could give very accurate times without having to type them
> yourself. The problem I foresee is that you cannot do backward frame steps.
> That would end up frustrating me because I would likely go a frame too far
> and then not have an accurate time.

If it can not go back it is useless.
With xine I can go forward and backwards, in step of different sizes.


> Back in the day when I ran MythTV it was very easy to this kind of thing.
> Their interface for this is great in my opinion. Within a couple minutes, I
> could have all the commercials from a movie marked with accuracy to a
> single-frame. MythTV is a lot to setup and run if you just want to cut
> commercials though.

Indeed.
> Good luck and let us know what you decide to use.

Well, so far, nothing.

I have to leave the original recordings untouched for years till I find
a solution.


-- 
Cheers / Saludos,

		Carlos E. R.
		(from 42.2 x86_64 "Malachite" at Telcontar)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20170619/3fccc2e0/attachment.sig>


More information about the ffmpeg-user mailing list