Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #228396
| From | Celejar <celejar@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: working with mp3 files |
| Date | 2020-10-30 01:20 +0100 |
| Message-ID | <B5qj8-4ci-3@gated-at.bofh.it> (permalink) |
| References | <B5eBj-5ue-11@gated-at.bofh.it> <B5eBj-5ue-9@gated-at.bofh.it> <B5gjM-6z0-5@gated-at.bofh.it> <B5knn-su-5@gated-at.bofh.it> <B5ljr-11p-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, 29 Oct 2020 19:58:48 +0100 Nicolas George <george@nsup.org> wrote: > Siard (12020-10-29): > > > ffmpeg -f concat -safe 0 -i <(for f in ./*.mp4; do echo "file '$PWD/$f'"; done) -c copy output.mp4 > > > > The method that I know is slightly different. I once took it from > > https://medium.com/abraia/basic-video-editing-for-social-media-with-ffmpeg-commands-1e873801659 > > but that site has apparently been simplified now and concatenation has been > > removed. > > I found that it works fine for mp3's as well. > > > > Create join.txt file that contains the exact paths of the files that you > > want to join. All files should be same format (same codec). The path name > > of all files should be mentioned one by one like below. > > file /home/xx/myvideos/part1.mp4 > > file /home/xx/myvideos/part2.mp4 > > file /home/xx/myvideos/part3.mp4 > > file /home/xx/myvideos/part4.mp4 > > Now, join all files using command: > > $ ffmpeg -f concat -i join.txt -c copy output.mp4 > > If you get an error something like below; > > [concat @ 0x555fed174cc0] Unsafe file name '/path/to/mp4' > > join.txt: Operation not permitted > > add "-safe 0": > > $ ffmpeg -f concat -safe 0 -i join.txt -c copy output.mp4 > > That's exactly the same method, you are just using a file instead of a > shell pipe substitution. And both variations are mentioned in the page I linked to: https://trac.ffmpeg.org/wiki/Concatenate Celejar
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
working with mp3 files mick crane <mick.crane@gmail.com> - 2020-10-29 12:50 +0100
Re: working with mp3 files Nicholas Geovanis <nickgeovanis@gmail.com> - 2020-10-29 13:00 +0100
Re: working with mp3 files Celejar <celejar@gmail.com> - 2020-10-29 14:40 +0100
Re: working with mp3 files Siard <shiems@mailbox.org> - 2020-10-29 19:00 +0100
Re: working with mp3 files Nicolas George <george@nsup.org> - 2020-10-29 20:00 +0100
Re: working with mp3 files davidson <davidson@freevolt.org> - 2020-10-30 01:10 +0100
Re: working with mp3 files Celejar <celejar@gmail.com> - 2020-10-30 01:20 +0100
Re: working with mp3 files David Christensen <dpchrist@holgerdanske.com> - 2020-10-29 16:20 +0100
Re: working with mp3 files Nicolas George <george@nsup.org> - 2020-10-29 17:00 +0100
Re: working with mp3 files ghe2001 <ghe2001@protonmail.com> - 2020-10-29 17:20 +0100
Re: working with mp3 files Nicolas George <george@nsup.org> - 2020-10-29 17:50 +0100
Re: working with mp3 files Nicolas George <george@nsup.org> - 2020-10-30 00:40 +0100
Re: working with mp3 files <tomas@tuxteam.de> - 2020-10-31 09:50 +0100
Re: working with mp3 files Andrei POPESCU <andreimpopescu@gmail.com> - 2020-11-02 09:40 +0100
Re: working with mp3 files Nicolas George <george@nsup.org> - 2020-11-02 11:20 +0100
Re: working with mp3 files Nicolas George <george@nsup.org> - 2020-10-29 17:50 +0100
Re: working with mp3 files Thomas Pircher <thp+debian@p5r.uk> - 2020-10-29 17:50 +0100
Re: working with mp3 files ghe2001 <ghe2001@protonmail.com> - 2020-10-29 17:00 +0100
Re: working with mp3 files Thomas Amm <debili@open-email.net> - 2020-10-31 11:40 +0100
csiph-web