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?
Thanks in advance, Thomas
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
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 zmoelnig@iem.at 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
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
oups: pix_ouput = pix_film outputed
On 6/22/07, Thomas O Fredericks tof@danslchamp.org wrote:
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 zmoelnig@iem.at 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
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- thomas ouellet fredericks, tof@danslchamp.org, montreal, canada
Thomas O Fredericks wrote:
oups: pix_ouput = pix_film outputed
On 6/22/07, Thomas O Fredericks tof@danslchamp.org wrote:
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.
According to the help-patch, [pix_film] outputs -1 when dealing with a stream.
On 6/22/07, IOhannes m zmoelnig zmoelnig@iem.at wrote:
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.
Thanks, that did it (when second outlet of [pix_info] is -1, I use that for banging my playlist-subpatch).
"Prisons are needed only to provide the illusion that courts and police are effective. They're a kind of job insurance." (Leto II. in: Frank Herbert, God Emperor of Dune) http://thomas.dergrossebruder.org/