Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: plux7887 on December 28, 2014, 08:14:00 AM

Title: avidemux3_cli Indexing Bug Incorrect idx2 files created
Post by: plux7887 on December 28, 2014, 08:14:00 AM
If I open a .ts file with mp4 format with avidemux3_cli it creates a incorrect and not working idx2 index file with a size of 933 Bytes.
If I open the same .ts file with avidemux3_qt4 it creates a correct idx2 file with a size of 18,9 MB.
Title: Re: avidemux3_cli Indexing Bug Incorrect idx2 files created
Post by: plux7887 on January 16, 2015, 02:00:26 PM
No answer?

@ Jan, can you reproduce this error?
@ Mean, can you fix it please

environment: Ubuntu 12.10 own ADM build from last git
Title: Re: avidemux3_cli Indexing Bug Incorrect idx2 files created
Post by: Jan Gruuthuse on January 16, 2015, 03:45:24 PM
Aahh! This must have slipped my attention.
Confirmed there is some issue with indexing from CLI
Does happen on mpeg-ts to
See attached idx2 by CLI and GUI from this sample file 720p4audioTracks3sat  69 MB (https://www.dropbox.com/s/a8scxh0m134zxh0/720p4audioTracks3sat.ts?dl=0)
Title: Re: avidemux3_cli Indexing Bug Incorrect idx2 files created
Post by: poutnik on January 16, 2015, 05:24:28 PM
I had for long time probably wrong naive end user impression,

that ADM2.6 GUI and CLI share common set of internal ADM libraries for muxing/demuxing/coding/decoding/indexing and whatever like that,  and only interface ( CLI versus QT4 GUI ) differs.








Title: Re: avidemux3_cli Indexing Bug Incorrect idx2 files created
Post by: AQUAR on January 17, 2015, 12:38:33 PM
I still have that perception!
Title: Re: avidemux3_cli Indexing Bug Incorrect idx2 files created
Post by: poutnik on January 17, 2015, 12:51:47 PM
But is sense of that, the error above looks strange, as it should not matter what version performs that.
But Murphy's law says: "Whatever change cannot matter, it can... "   ;)
Title: Re: avidemux3_cli Indexing Bug Incorrect idx2 files created
Post by: Jan Gruuthuse on January 17, 2015, 01:11:02 PM
Interface GUI or CLI is more like command centre: most likely an instruction is not passed on correctly to one of the components. Should be looked at, but for now the time for doing so is not there.
Start both avidemux up from your dos command prompt.
Title: Re: avidemux3_cli Indexing Bug Incorrect idx2 files created
Post by: poutnik on January 18, 2015, 08:29:13 AM
I see. It was my guess as well, that libraries may do not get the same command from both.


Title: Re: avidemux3_cli Indexing Bug Incorrect idx2 files created
Post by: plux7887 on January 25, 2015, 02:07:40 PM
@ mean: Can you repair this please?
Title: Re: avidemux3_cli Indexing Bug Incorrect idx2 files created
Post by: Jan Gruuthuse on January 26, 2015, 08:50:51 AM
until fixed:
you could replace the avidemux CLI by the avidemux GUI in batch or scripts and add this parameter ââ,¬â€œnogui
If that would be not functional. It should still work, just avidemux GUI would be running visual.
Title: Re: avidemux3_cli Indexing Bug Incorrect idx2 files created
Post by: mean on February 12, 2015, 07:38:06 PM
I'll look into it this weekend, that's weird they use the same code
Title: Re: avidemux3_cli Indexing Bug Incorrect idx2 files created
Post by: plux7887 on February 13, 2015, 07:26:51 AM
The qt4 solution with the the parameter -nogui proposed by Jan also does not. In spite of setting the -nogui parameter a gui opens.
Title: Re: avidemux3_cli Indexing Bug Incorrect idx2 files created
Post by: mean on February 14, 2015, 03:57:41 PM
should be fixed; win64 binary building
It is a minimal fix, i.e. it works but no progress indicator