Refer to this: viewtopic.php?style=19&p=128578#p128578
When importing an image sequence where there are duplicate images -- for example, Image_0003 is repeated on Image_0004 , Image_0005 , Image_0006 -- then instead of creating identical duplicate instances on the timeline , TVPaint will import the first occurrence of that image (Image_0003) and expose it for a total of 4 frames on the timeline. This is very handy .
However, I notice that when importing .mov or.mp4 files with similarly repeated images , the results are inconsistent. Some video files behave the same as the image sequence import , where identical frames are not repeated on the timeline , so that only the first occurrence of the image is imported and then it is held for however many frames until the next image occurs. But with other video files TVPaint imports every frame as an image on the timeline. Is there a specific codec or other compression settings to use to make sure that a video file will import without duplicate images being repeated ?
-----
UPDATE (for anyone looking at this topic in the future) -
If the .mov export codec used is Lossless then the .mov file will import into TVPaint with the correct exposures, no duplicate frames. Mov files exported with ProRes 4444 and ProRes 422 also work , although ProRes 4444 and ProRes 422 are technically considered "lossy", not lossless.
So a mov file with Lossless codec or almost lossless (ProRes 422/ProRes 4444) codec will behave the same as a PNG image sequence and will not show duplicate images on the Timeline when imported into TVPaint. I think that solves my original question.
Importing .mov or .mp4 file with identical images Topic is solved
- D.T. Nethery
- Posts: 4225
- Joined: 27 Sep 2006, 19:19
Importing .mov or .mp4 file with identical images
Last edited by D.T. Nethery on 25 Mar 2023, 16:21, edited 2 times in total.
Animator, TVPaint Beta-Tester, Animation Educator and Consultant.
MacOS 12.7.1 Monterey , Mac Mini (2018) , 3.2 GHz 6-Core Intel Core i7,
16 GB RAM , TVPaint PRO 11.7.1 - 64bit , Wacom Cintiq 21UX 2nd Gen.
,Wacom Intuos Pro 5 , Wacom driver version 6.3.39-1
Re: Importing .mov or .mp4 file with identical images
Any lossy codec will result in frames which may look identical but aren't. You can use TVP's function of recalculating frames with a threshold, instead of the fixed one.
TVP 10.0.18 and 11.0 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
TVP 11.0 and 11.7 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
TVP 11.7 Mac Mini M2pro 32GB OS 13.5
TVP 11.0 and 11.7 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
TVP 11.7 Mac Mini M2pro 32GB OS 13.5
- D.T. Nethery
- Posts: 4225
- Joined: 27 Sep 2006, 19:19
Re: Importing .mov or .mp4 file with identical images
I'm never quite sure what the values represent in the Recalculate Exposures With Threshold. The default seems to be set to 3.00 ... if I set it to 1.00 or 2.00 or 4.00 , 5.00 it gives different results. Whatever number I set it for between 1.00 - 5.00 (over 5.00 seems useless, because it removes almost all the exposures) none of the results precisely recalculate the exposures to what they were in the original animation. It removes some duplicate exposures , but it also removes some unique exposures that should have been retained.
I wish there were some definition in the User Manual of precisely what the values represent when recalculating the exposure threshold. (it raises the question: threshold of what? what's the starting point that defines the threshold we're working within ?) Seems like it's just trial and error to find the best result.
Last edited by D.T. Nethery on 20 Mar 2023, 19:06, edited 1 time in total.
Animator, TVPaint Beta-Tester, Animation Educator and Consultant.
MacOS 12.7.1 Monterey , Mac Mini (2018) , 3.2 GHz 6-Core Intel Core i7,
16 GB RAM , TVPaint PRO 11.7.1 - 64bit , Wacom Cintiq 21UX 2nd Gen.
,Wacom Intuos Pro 5 , Wacom driver version 6.3.39-1
Re: Importing .mov or .mp4 file with identical images
I was wondering the same thing. Found the following thread from 2013 that may answer the question...
I'm not sure if it's more deeply explained in the user manual, I'm currently having difficulty accessing it due to server/connections issues.
SOURCE: https://forum.tvpaint.com/viewtopic.php?t=7247Eric Scholl wrote: ↑23 Sep 2013, 07:47It's a percentage representing the threshold between 2 images.Peter Wassink wrote:what is the Threshold value (0-100) ?
Example: I set the Threshold value to 2
If Image2 is less different from Image 1 than 2 percent, then it considers Image1 and Image2 are the same images.
The precision in this script is a way to control how it will differentiate the 2 images.Peter Wassink wrote:what is precision (1 - 10000) ?
If you set 10000 it will check every pixels of the 2 images ( as it is a George script, this kind of work is slow ).
If you set 1 it will check 1 pixel for every 10000 pixels.
As Fabrice said before, please use the "Images > Exposure > Recompute with threshold" because this one does the same things, but it's not a George script so it will be really faster and more precise.
I'm not sure if it's more deeply explained in the user manual, I'm currently having difficulty accessing it due to server/connections issues.
TVPaint 12.0.0 Pro
System - CPU: i9-13900K, RAM: 128GB, GPU: Intel Arc A770 16GB, OS: Win 11 Pro 23H2 Build 22631.3447
Wacom Cintiq 4K (Driver 6.4.6-1 April 23, 2024)
System - CPU: i9-13900K, RAM: 128GB, GPU: Intel Arc A770 16GB, OS: Win 11 Pro 23H2 Build 22631.3447
Wacom Cintiq 4K (Driver 6.4.6-1 April 23, 2024)
- D.T. Nethery
- Posts: 4225
- Joined: 27 Sep 2006, 19:19
Re: Importing .mov or .mp4 file with identical images
Thanks for providing the link to that previous discussion regarding the threshold values.
I couldn't find anything explaining the Recompute with Threshold values in the User Manuel.
Animator, TVPaint Beta-Tester, Animation Educator and Consultant.
MacOS 12.7.1 Monterey , Mac Mini (2018) , 3.2 GHz 6-Core Intel Core i7,
16 GB RAM , TVPaint PRO 11.7.1 - 64bit , Wacom Cintiq 21UX 2nd Gen.
,Wacom Intuos Pro 5 , Wacom driver version 6.3.39-1
- D.T. Nethery
- Posts: 4225
- Joined: 27 Sep 2006, 19:19
Re: Importing .mov or .mp4 file with identical images
This helped me understand how the codec makes a difference. If the .mov export codec used is Lossless then the .mov file imports into TVPaint with the correct exposures, no duplicate frames. Mov files exported with ProRes 4444 and ProRes 422 also work , although ProRes 4444 and ProRes 422 are technically considered "lossy", not lossless.
So a mov file with Lossless codec or almost lossless (ProRes 422/ProRes 4444) codec will behave the same as a PNG image sequence and will not show duplicate images on the Timeline when imported into TVPaint. I think that solves my original question.
However, it would still be useful if the User Manual would include a clear explanation of what the values represent when recomputing the exposure threshold ; when should we use a value of 1.00 , 2.00 , 3.00, 4.00 , 5.00 and what's the difference between those values? Also, why does any value above 5.00 seem to result in recomputing the whole layer to a single image ? (if there is no difference in results using any value between 6.00 - 100.00 , then why are those values there ?) As far as I can tell there is nothing in the User Manual explaining what the values in 'Recompute Exposure With Threshold' represent. The only explanation I've seen is here: https://forum.tvpaint.com/viewtopic.php?p=65756#p65756 , but that's too hidden. Most people will never find it. It should be covered in the User Manual and even better with a video demonstrating the results when the different values in 'Recompute Exposure With Threshold' are applied.
Animator, TVPaint Beta-Tester, Animation Educator and Consultant.
MacOS 12.7.1 Monterey , Mac Mini (2018) , 3.2 GHz 6-Core Intel Core i7,
16 GB RAM , TVPaint PRO 11.7.1 - 64bit , Wacom Cintiq 21UX 2nd Gen.
,Wacom Intuos Pro 5 , Wacom driver version 6.3.39-1