On 09/15/2017 02:11 PM, Kieran O Leary wrote:
On Fri, Sep 15, 2017 at 8:41 PM, JD <jd1...@gmail.com> wrote:
So far I have failed.
What have you tried and what errors did you receive?
Any help with this?
https://trac.ffmpeg.org/wiki/Concatenate
Sometimes, if I'm on a unix system, I just put the files in a new
directory and run (stolen from that wiki):
for f in ./*.mkv; do echo "file '$f'" >> mylist.txt; done
ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.mkv
And that usually does the trick. That really only works if both files
have the same specs.
I just tried with your youtube links and it failed because of the
apostophe in the downloaded filename
file './A brief animation of David Hudson's theory of ormus.-Bhx3HEV_6FQ.mkv'
so I removed that apostrophe and all worked fine. The order might have
been off so you can just alter myfile.txt to get the right order. Or
add something to the for loop that sorts everything in the way you
like.
-K
~/bin/ffmpeg.d/ffmpeg -f concat -i
$PWD/A_brief_animation_of_David_Hudsons_Discovery_of_Ormus-p1.mkv -i
$PWD/A_brief_animation_of_David_Hudsons_Discovery_of_Ormus-p2.mkv -c
copy A_brief_animation_of_David_Hudsons_Discovery_of_Ormus.mkv
ffmpeg version N-86761-g80b9e40b6f-static
http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 5.4.1 (Debian 5.4.1-11) 20170519
configuration: --enable-gpl --enable-version3 --enable-static
--disable-debug --disable-ffplay --disable-indev=sndio
--disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-gray --enable-libass --enable-libfreetype
--enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
--enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxvid --enable-libzimg
libavutil 55. 67.100 / 55. 67.100
libavcodec 57.100.104 / 57.100.104
libavformat 57. 75.100 / 57. 75.100
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 95.100 / 6. 95.100
libswscale 4. 7.101 / 4. 7.101
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
[concat @ 0x4e03020] Line 1: unknown keyword '?Eߣ?'
/sdb3/Movies/MonoAtomic_Gold-Ormus/A_brief_animation_of_David_Hudsons_Discovery_of_Ormus-p1.mkv:
Invalid data found when processing input
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".