[opensuse] about ffmpeg: is it possible to remove intervals?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I'm asking because the manual is long and complex, so I may have missed it. I know how to extract one section from a video stream. If there are start and end marks, I can cut that "in" with -ss 00:10 -t 00:10:00 (time, duration). input ------------<-------------------------------------->----------- output -------------------------------------- What I wonder is if there is a method to also remove a section in the middle. Say, from a movie with commercials. Yes, I know there are other tools, but unfortunately ffmpeg is the only tool that works on this particular source of streams. The only idea I have is to produce multiple chunks and then join them, somehow. I haven't worked out this method yet. - -- Cheers Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlePbmsACgkQtTMYHG2NR9XgfACfWjHhT0by7S5x/EzTgRppsASE dr0AnjywExW5yfqwqFXHUHDQabuUfg68 =Y41P -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Op woensdag 20 juli 2016 14:28:27 CEST schreef Carlos E. R.:
Hi,
I'm asking because the manual is long and complex, so I may have missed it.
I know how to extract one section from a video stream. If there are start and end marks, I can cut that "in" with -ss 00:10 -t 00:10:00 (time, duration).
input ------------<-------------------------------------->----------- output --------------------------------------
What I wonder is if there is a method to also remove a section in the middle. Say, from a movie with commercials.
Yes, I know there are other tools, but unfortunately ffmpeg is the only tool that works on this particular source of streams.
The only idea I have is to produce multiple chunks and then join them, somehow. I haven't worked out this method yet.
-- Cheers
Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
If ffmpeg can do this, I'd say kdenlive can. Another nice small program that uses ffmpeg is ffDiaPorama. It IMHO comes closest to using ffmpeg from CLI. Another suggestion: use ffmpeg to convert the video to mp4, then use any other video editor. -- Gertjan Lettink, a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-07-20 15:33, Knurpht - Gertjan Lettink wrote:
Op woensdag 20 juli 2016 14:28:27 CEST schreef Carlos E. R.:
Yes, I know there are other tools, but unfortunately ffmpeg is the only tool that works on this particular source of streams.
If ffmpeg can do this, I'd say kdenlive can.
I tried all tools I could find, including kdenlive. It failed for one reason or another, I would have to dig out why from my notes. Most tools I tried failed in one or two of these two aspects: * does not handle two audio tracks, only one * because this video stream has weird timestamps and many tools can't cope. ProjectX would be the preferred tool, but it fails to open those stream (GOP is more than 6 MB, or similar message). I tried the most recent version from the upstream cvs tree. ffmpeg only works if I use -copyts
Another nice small program that uses ffmpeg is ffDiaPorama. It IMHO comes closest to using ffmpeg from CLI.
That one I don't remember trying, so I will. Thanks :-)
Another suggestion: use ffmpeg to convert the video to mp4, then use any other video editor.
That's a possibility, yes. I tried some editors, but some had problems with the converted stream, others were too difficult to use, or they ignored the second audio track. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
participants (2)
-
Carlos E. R.
-
Knurpht - Gertjan Lettink