Hi! Ralph Glasstetter wrote:
> today I wanted to convert some TS to PS (without cuttting) and missed again > that I can't do that with dvbcut without knowing the total number of frames > (and that I have to write a project file for this simple job). I have to admit that it's something I *never* do. At least not with dvbcut (which is pure overkill in my opinion - in particular since it performs a 100% useless indexing step first). There are much better ways to do it. > Therefore I added a few lines to fileExport().... patch file appended! > > I know it's not a perfect solution since the last frame is still/always > missing, but it's better than nothing.... also with the batch/project file > method implemented at the moment the last frame would be missing... > as well as with the GUI! So that's a different problem... Yep. > The good thing is that now no more project file is needed, since if no > START/STOP markers are known to dvbcut everything (except the last frame) > will be exported! Does that work with multi-file sources already? > Of course, one also could use a inputfile without markers now... Yep. > for instance to give the path to the index file or to supply multiple > filenames or to specify the location of the export file (a patch Sven > hopefully will commit soon... would be nice if he also could add a -expfile > CLI switch... ;-)) Shouldn't be a problem to add that option. No need to bother Sven. But I don't think that specifying the export file name inside the project file is a good idea. > PS: Michael don't worry about the large diff file... I had to reformat > dvbcut.cpp a bit since the indentation was not correct.... at least > confusing! And I also hate tab characters in source code... ;-) Ugh... lots of spaces? Seems like it's "apply and diff -w" time :-( Some editors will convert them to tabs automagically, by the way. > PSPS: BTW, what about the $Id$ keywords? Always have to edit > the setCaption call... ;-) That isn't exactly very high on my priority list. ;-) -- Michael "Tired" Riepe <[EMAIL PROTECTED]> X-Tired: Each morning I get up I die a little ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ DVBCUT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dvbcut-user
