Auto append does not create the required index

Started by Jan Gruuthuse, March 17, 2017, 03:54:11 PM

Previous topic - Next topic

Jan Gruuthuse

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?

eumagga0x2a

Confirming that sequential open is broken. If you keep an archive of Avidemux builds, could you please narrow down when this regressed?

Thanks!

eumagga0x2a

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.

Jan Gruuthuse

#3
No idea when this occurred.  Just came across this while testing: large videos fail to append while rendering

Jan Gruuthuse

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.

Jan Gruuthuse

I forwarded test files to developer(s)
More issues at play, I think

mean

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

Jan Gruuthuse

Ok.
Then there is just an issue with .ts cuts an appending these .ts cuts.