[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 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 . On Wed, Oct 7, 2020 at 1:46 PM Philip Orrill wrote: > Hi there > > I have an

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

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