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

2020-10-07 Thread Philip Orrill
Hi there I have an input coming from an rtsp source in 2 second increments to convert to a HLS stream. The stream itself seems fine. However I do sometimes get the warning: *Non-monotonous DTS in output stream 0:0* my current command for obtaining the stream is *-stimeout 6000 -y

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

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

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

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 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-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