Batch crashes possibly with long filename (707h)

Uosdwis

New member
I can't delete a batch entry (singly or the list) with this filename: History Detectives - Fire Station Morristown, New Jersey Face Artifact Mantoloking, New Jersey Pop Lloyds Baseball Field Altlantic City, New Jersey-KTCIDT3-2014-Oct-16-Thu-0000-2003-07-14-s01e01-101.TiVo

Here is the relevant log entry:

2014-10-16 11:47:48 Image support lib: 8.0.1 (r40318), ippVC AVX (g9)
2014-10-16 11:47:48 Decoder support lib: 8.0.1 (r40318), ippVC AVX (g9)
2014-10-16 11:47:48 VideoReDo TVSuite started. Licensed to: SI-D25U1N-P1WNTH, Version: 5.0.2.707 - Sep 30 2014, AVP On (00cf0046-11}
2014-10-16 11:47:48 FP:3DB936D0-S-1-5-21-2271624912-150601083-3558948469
2014-10-16 11:47:48 Checking reg: 120
2014-10-16 11:48:03 Image support lib: 8.0.1 (r40318), ippVC AVX (g9)
2014-10-16 11:48:04 Image support lib: 8.0.1 (r40318), ippVC AVX (g9)
2014-10-16 11:48:04 Decoder support lib: 8.0.1 (r40318), ippVC AVX (g9)
2014-10-16 11:48:05 VideoReDo TVSuite started. Licensed to: SI-D25U1N-P1WNTH, Version: 5.0.2.707 - Sep 30 2014, AVP On (00cf0046-11}
2014-10-16 11:48:05 FP:3DB936D0-S-1-5-21-2271624912-150601083-3558948469
2014-10-16 11:48:05 Starting up with silent and batch: 1 0
2014-10-16 11:48:05 Destruct CVideoReDoDlgAutoProxy

Also, I really wish it would keep the last used save location when adding new batch files- not sure I missed if there was a setting in Options, looked pretty hard.
 

Dan203

Senior Developer
Staff member
You mean you can't remove it from the list? The current list or the history list?

As for the save location... How are you adding new entries to the list? If you're using the normal Save dialog and then checking the "Queue to batch" dialog then that will never save the location because the default location will be the last Save location. It will however remember it if you use File->Add edits to batch queue (Ctrl+B) instead. That dialog is dedicated to batch so it saves the last used location used for batch.
 

Uosdwis

New member
You mean you can't remove it from the list? The current list or the history list?

As for the save location... How are you adding new entries to the list? If you're using the normal Save dialog and then checking the "Queue to batch" dialog then that will never save the location because the default location will be the last Save location. It will however remember it if you use File->Add edits to batch queue (Ctrl+B) instead. That dialog is dedicated to batch so it saves the last used location used for batch.
The current list. It immediately crashed batch.exe completely, "VideoReDo has stopped working," when I hit either the X delete or the list delete. There was nothing wrong with the file when I converted it manually. But I finally fixed it by going to the Appdata directory and deleting the .bprj file there.

I'm dragging and dropping multiple files into batch, or less frequently, using the add files button in Batch. I see that I can open each one and add to the queue and it retains the last location, but that would be a lot more time and work. If I just Open multiple files, it only lets me add them to the Joiner.

Update: I tried opening the Add dialog, NOT populating it, but set the directory, waited a few seconds for something to flash (drive wasn't ready, maybe?), THEN closed it. When reopened, it remembered the last selection. Yay!
 

Dan203

Senior Developer
Staff member
Yeah it should retain the location there as well. Not sure why it wasn't before.

I'll see if I can reproduce the crash.
 

Dan203

Senior Developer
Staff member
You're right the name is too long, in fact the whole path is too long. Windows has a maximum path length of 260 characters. In my case when I tried to save your file it allowed me to add it to batch because it saved the bprj file to....

C:\Users\Dan\AppData\Roaming\VideoReDo-TVSuite5\Batch\History Detectives - Fire Station Morristown, New Jersey Face Artifact Mantoloking, New Jersey Pop Lloyds Baseball Field Altlantic City, New Jersey-KTCIDT3-2014-Oct-16-Thu-0000-2003-07-14-s01e01-101.bprj

which is only 258. (if my name was longer it would have had an issue even adding it to batch) But when you delete something from the queue it moves the file to the completed folder which in my case is...


C:\Users\Dan\AppData\Roaming\VideoReDo-TVSuite5\Batch\completed\History Detectives - Fire Station Morristown, New Jersey Face Artifact Mantoloking, New Jersey Pop Lloyds Baseball Field Altlantic City, New Jersey-KTCIDT3-2014-Oct-16-Thu-0000-2003-07-14-s01e01-101.bprj

which is 267 characters and causes the crash.

I've added some code to truncate the file name when adding to batch so we don't have to worry about this. The name of the bprj doesn't actually matter, the full path to the file itself is stored in the internal XML anyway.
 
Top Bottom