I thought pix_ouput a -1 as the frame count when it did not properly load a movie (there is something in the doc related to that) but I can not get it to work.
Tom On 6/22/07, IOhannes m zmoelnig <[EMAIL PROTECTED]> wrote:
Thomas Mayer wrote: > Hello, > > I sometimes encounter messages "error: [pix_filmNEW]: unable to open > file: (filename)" due to some unsupported codices in [pix_file], which > is not that big a problem to me. But as I want to play a list of files > in a row, is there a specific message on any outlet of [pix_film] > associated with this error, similar to streams outputting a length a -1 > at the second outlet, so that I can bang a new file to load? > hmm, i guess (haven't checked) that when [pix_film] fails to load the movie, it will not output anything at the info-output. you can use the absence of the message to detect the failure. and of course you can just detect whether there is an image in the chain or not (use [pix_info] for that) and react accordingly. but i like the first approach more. fgmads.r IOhannes _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- thomas ouellet fredericks, [EMAIL PROTECTED], montreal, canada
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
