Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: Jan Gruuthuse on March 17, 2017, 03:54:11 PM

Title: Auto append does not create the required index
Post by: Jan Gruuthuse on March 17, 2017, 03:54:11 PM
Could developers have a look at this?
When loading sequential video's MyVideo001.ts, MyVideo002.ts, ..., MyVideo004.ts
Avidemux detects the sequential filenames and attempt to load and asks with pop-up if all should be loaded.
Then something goes wrong?
MyVideo002.ts, MyVideo003.ts and MyVideo004.ts is not loaded. Time index is not increased.
I suspect:
pointer is not moved to end of loaded video before load appending each remaining part.
- video 1 loaded,
- move pointer to end of loaded video, append video 2
- move pointer to end of loaded video, append video 3
- move pointer to end of loaded video, append video 4

could you test/confirm my findings.
It seems MyVideo001.ts.idx2 is increased.

To be honest I copied MyVideo001.ts 3 times, and renamed the copies to 2,3 & 4. Not usual done, but should work?
Title: Re: Auto append does not create the required index
Post by: eumagga0x2a on March 17, 2017, 07:04:13 PM
Confirming that sequential open is broken. If you keep an archive of Avidemux builds, could you please narrow down when this regressed?

Thanks!
Title: Re: Auto append does not create the required index
Post by: eumagga0x2a on March 18, 2017, 12:31:52 AM
Quote from: Jan Gruuthuse on March 17, 2017, 03:54:11 PM
MyVideo002.ts, MyVideo003.ts and MyVideo004.ts is not loaded. Time index is not increased.

When loading sequential TS files, they all get apparently correctly indexed, but the total duration of the resulting video (which correctly starts with the content of the first file) is not the sum of the durations of all the loaded files but gets wrongly calculated as being equal the duration of the last loaded file. This means, if the first file is a long video and the second a short one, you get the first video seemingly truncated to the duration of the second one.

This was broken in the 2.6.18 at the latest, maybe way earlier.
Title: Re: Auto append does not create the required index
Post by: Jan Gruuthuse on March 18, 2017, 06:11:27 AM
No idea when this occurred.  Just came across this while testing: large videos fail to append while rendering (http://largevideosfailtoappendwhilerendering)
Title: Re: Auto append does not create the required index
Post by: Jan Gruuthuse on March 18, 2017, 07:41:05 AM
further testing:
- auto append does not function with mp4
- ts 10 seconds duration each file: when 4 files are processed, loaded video only plays 10 seconds instead of the 40 seconds expected.
Title: Re: Auto append does not create the required index
Post by: Jan Gruuthuse on March 18, 2017, 08:13:06 AM
I forwarded test files to developer(s)
More issues at play, I think
Title: Re: Auto append does not create the required index
Post by: mean on March 19, 2017, 04:33:27 PM
It's mostly for PS files (i.e. VOBS)
I'm not surprised it's broken for TS

Even if for gopro and the likes it is useful as they chop the video in 2 GB segments
Title: Re: Auto append does not create the required index
Post by: Jan Gruuthuse on March 19, 2017, 05:06:38 PM
Ok.
Then there is just an issue with .ts cuts an appending these .ts cuts.