Author Topic: Auto append does not create the required index  (Read 192 times)

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5111
Auto append does not create the required index
« 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?
« Last Edit: March 17, 2017, 04:02:19 PM by Jan Gruuthuse »

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 914
Re: Auto append does not create the required index
« Reply #1 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!

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 914
Re: Auto append does not create the required index
« Reply #2 on: March 18, 2017, 12:31:52 AM »
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

  • Hero Member
  • *****
  • Posts: 5111
Re: Auto append does not create the required index
« Reply #3 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
« Last Edit: March 18, 2017, 06:34:55 AM by Jan Gruuthuse »

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5111
Re: Auto append does not create the required index
« Reply #4 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.

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5111
Re: Auto append does not create the required index
« Reply #5 on: March 18, 2017, 08:13:06 AM »
I forwarded test files to developer(s)
More issues at play, I think

mean

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10791
Re: Auto append does not create the required index
« Reply #6 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

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5111
Re: Auto append does not create the required index
« Reply #7 on: March 19, 2017, 05:06:38 PM »
Ok.
Then there is just an issue with .ts cuts an appending these .ts cuts.