Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-08 Thread andrei ka
fyi, this is example of ffmpeg docker file with gpu encoding capabilities : https://hub.docker.com/r/jrottenberg/ffmpeg/dockerfile you take it, mod it for taking 4.1.2 ( FFMPEG_VERSION=4.2.1) , and make patch mod in docker file DIR=/tmp/ffmpeg && mkdir -p ${DIR} && cd ${DIR} && \ ./configu

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-08 Thread andrei ka
you should join the dockerfile you're executing, i can't know what commands you're executing and from where. ./configure is the conf command in ffmpeg src uncompressed dir, your commands batch (shell or docker) is not located in that folder at the time it issues the command, so, cd ffmpeg_unzipped_

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-08 Thread Philip Orrill
I'm getting further thank you for your patience. It feels like the home stretch now. I run the command and it half works. It runs some but errors at the end. It seems to suggest it has patched some items. But then says a directory does not exist. Do I need to specify a directory instead of

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-08 Thread andrei ka
go to /tmp and check what you've got where, like (ls is likz dir) : cd /tmp ls if you patch* is whre but not .txt rename it : /bin/mv patch* patch.txt &rei ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-u

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-08 Thread Philip Orrill
I have downloaded the file from the drive thanks. I have created a directory called /tmp on my machine and copied the file into that. I have the command $ curl -sLO https://ffmpeg.org/releases/ffmpeg-4.2.1.tar.gz && tar -zxf ffmpeg-4.2.1.tar.gz --strip-components=1 && patch -p1 --ignore-whitespac

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-08 Thread andrei ka
or grab this : https://drive.google.com/file/d/1ByK7u-uOyPpUaIjVx7Ilq5tnY4rEad5e/view?usp=sharing :-) ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-us

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-08 Thread andrei ka
save into patch.txt the part of URL http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180316/739542e4/attachment.obj starting from --- (till the end) (rather do wget URL && vi to del the useles mail header part, if you edit in win editor make sure you save in it unix format, txt files in win

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-08 Thread Philip Orrill
That makes sense. Sorry my lack of linux showing now. I have updated the command and now get bash: /tmp/patch.txt "No such file or directory". Do I need to create the directory and paste in the code you provided. Or should docker do something to pick it up from git? Thought it would be best to as

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-08 Thread andrei ka
you're doing well, almost there :-) just leave 4.1.2 w/o $ sign, $ is for var's values in unix sh... &rei ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmp

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-08 Thread Philip Orrill
Hi I now have a ubuntu instance running and have installed docker. I ran the little hello world app they give and that ran. I ran the command you gave $ curl -sLO https://ffmpeg.org/releases/ffmpeg-$4.2.1.tar.gz && tar -zxf ffmpeg-$4.2.1.tar.gz --strip-components=1 && path -p1 --ignore-whitespace

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-07 Thread Philip Orrill
Thanks a lot for the details. I am busy with some other bits at the moment but will look at this a bit later and give it a go. I posted this not expecting to hear back this quick. I do seem to have some commands that seem to fix the timing on the video (but the audio gets muddled). If this patc

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-07 Thread andrei ka
oups, correction: dts patch works ok 1:1 up to 4.2.1 ... . say; if patch file is in /tmp/patch.txt, in docker (bask) commands (for getting to ffmpeg's configure & make are like (patch is command, guess it'd be patch.exe for win) : FFMPEG_VERSION=4.2.1 curl -sLO https://ffmpeg.org/releases/ffmpeg

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-07 Thread andrei ka
personally I wouldn't bother with windoze recompiling on a modern machine unless you're badly dependent windoze's gui etc. installing ubuntu in vm is a matter of 5-10 mins today (or 2 mins on aws, aws's free tiny instances can do sooo much stuff)... after your get linux you'd install docker in 3 c

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-07 Thread Philip Orrill
Thanks for the fast reply. I am quite new to the FFMPEG source code world. I have version 4.2.3. I am on windows and used chocolatey to get a build initially. The command doesn't exist (which i'm not surprised about since you said it was a patch). I have visual studio and cloned the branch from g

Re: [FFmpeg-user] concatenating files in FFMPEG causing the wrong file length

2020-10-07 Thread andrei ka
hi, try this patch : http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180316/739542e4/attachment.obj (explained here: https://ffmpeg.org/pipermail/ffmpeg-devel/2018-March/226706.html) but it works up to 4.1.3 . &rei On Wed, Oct 7, 2020 at 1:46 PM Philip Orrill wrote: > Hi there > > I have