Page 1 of 1

Wire: Export to 4K when processing Video Player 5K input gets cut short and is corrupted

Posted: Tue Feb 08, 2022 06:11
by webel
Wire: 7.8.0
iMac 5K 2017 Big Sur

Already reported using Wire > Preferences > Feedback dialog. Included on forum because might be of interest to other Wire users.


5K DXV source video 60s around 4.5 GB ends up exported (processed to 4K using movement processing) as about 200MB or less, and only shows part of a background layer. Does not seem to matter which export format.

The Texture Out looks clean (can can view ok via Syphon), so it's definitely an export issue.

CASE: Move a 4K window within a 5K source to prevent excessive central symmetry with Bendoscope or PolarKaleido. See attached patch.

Re: Wire: Export to 4K when processing Video Player 5K input gets cut short and is corrupted

Posted: Tue Feb 08, 2022 11:25
by webel
Updated Wire, confirm problem still occurs in 7.9.0

Re: Wire: Export to 4K when processing Video Player 5K input gets cut short and is corrupted

Posted: Tue Feb 08, 2022 15:10
by Zoltán
Can you share the patch and the video file?
Oh, wait, 4.5 Gb...

The input and output file sizes won't be the same if you're using different formats, and durations.

Did you change the export duration from 5 seconds?

Re: Wire: Export to 4K when processing Video Player 5K input gets cut short and is corrupted

Posted: Wed Feb 09, 2022 02:19
by webel
I think I've figured out what the problem is. I tried with a shorter 5s DXV video (5K). Same happens, on export I only see the additional elements introduced in the patch (see attachment).

I think the problem is that on Export the Video Player does not start (and if it is already running, with a much longer source video, Export does not see it).

Is there something the equivalent of a PureData loadbang that triggers on patch load or export?

Q: I need to trigger the Video Player to play when it Exports.
2022-02-09-12-13-14-PLAY-Wire-5K-vs-4K-Move-DEBUG (Edited).jpg
EDIT: I can use Metronome as pseudo "load bang" then the Export works, but not sure about the timing. It's a bit fiddly because have to match the Metronome frequency against the expected Export duration.

Q: Can you confirm whether an enabled Metronome indeed re-starts cleanly on Export?
2022-02-09-12-28-30-PLAY-Wire-5K-vs-4K-Move-DEBUG copy.jpg

Re: Wire: Export to 4K when processing Video Player 5K input gets cut short and is corrupted

Posted: Wed Feb 09, 2022 09:30
by Zoltán
Transport play node has triggers which you could use, the Play outlet should be the one to use, to the Restart inlet of the video player. (Play won't rewind ;)