Saving project in quicktime compressed format?

A forum dedicated to George scripting questions
User avatar
NathanOtano
Posts: 1209
Joined: 01 Apr 2014, 07:07
Location: Biarritz, France
Contact:

Saving project in quicktime compressed format?

Post by NathanOtano »

Hey :)
There is no tv_savemode to save in a quicktime compressed format right? Is it something not too hard to implement? It's the lightest video format in tvpaint that we use for review and I can't find a way to export it with george
Working on Windows 10
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.
User avatar
Thierry
Site Admin
Posts: 2780
Joined: 07 Jan 2013, 08:28

Re: Saving project in quicktime compressed format?

Post by Thierry »

There isn't indeed, because the way we export in mov/mp4 is different from the other formats (due to some FFmpeg licensing rights).

It is stil on our radar to allow George export for those formats, but it won't be for 11.5.3.
User avatar
NathanOtano
Posts: 1209
Joined: 01 Apr 2014, 07:07
Location: Biarritz, France
Contact:

Re: Saving project in quicktime compressed format?

Post by NathanOtano »

Ok thanks :)
Working on Windows 10
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.
User avatar
Hironori Takagi
Posts: 313
Joined: 14 May 2018, 10:15
Location: Tokyo, Japan
Contact:

Re: Saving project in quicktime compressed format?

Post by Hironori Takagi »

NathanOtano wrote: 03 Sep 2021, 17:11 Hey :)
There is no tv_savemode to save in a quicktime compressed format right? Is it something not too hard to implement? It's the lightest video format in tvpaint that we use for review and I can't find a way to export it with george
Earlier I asked Thierry about this and was told that it was difficult to specify some types of compression.
(Although we can select directly on the export screen ...)

I will attach the source file of my custom panel for reference.
Attachments
ExportMOV_useCN_190719.grg
(3.66 KiB) Downloaded 477 times
TVPaint 11.7.2(Nov 14 2023), Windows11 Pro, HP Spectre x360 Convertible 14-ea0xxx / TVPaint 11.7.1(Dec 22 2022) Mac OS 11.6, Apple MacBookPro M1 2020
User avatar
NathanOtano
Posts: 1209
Joined: 01 Apr 2014, 07:07
Location: Biarritz, France
Contact:

Re: Saving project in quicktime compressed format?

Post by NathanOtano »

Does your geroge script exports in the quicktime compressed format? I'm not sure to understand your post sorry :)
Working on Windows 10
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.
User avatar
Hironori Takagi
Posts: 313
Joined: 14 May 2018, 10:15
Location: Tokyo, Japan
Contact:

Re: Saving project in quicktime compressed format?

Post by Hironori Takagi »

My post is
・ .mov (ffmpeg) can be selected.
・ However, Prores / mpeg-4 / PNG cannot be selected. (keep the previous state only.)
It was the above intention.
Sorry for the lack of words (maybe due to automatic translation).
TVPaint 11.7.2(Nov 14 2023), Windows11 Pro, HP Spectre x360 Convertible 14-ea0xxx / TVPaint 11.7.1(Dec 22 2022) Mac OS 11.6, Apple MacBookPro M1 2020
User avatar
NathanOtano
Posts: 1209
Joined: 01 Apr 2014, 07:07
Location: Biarritz, France
Contact:

Re: Saving project in quicktime compressed format?

Post by NathanOtano »

No problem for the translation, I'm already so glad you come to help on the english forum!
Your script is greatly appreciated, i understand now and it helps me understand the problem I had
Best,
Working on Windows 10
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.
jeremyb
Posts: 31
Joined: 31 Jul 2020, 08:52

Re: Saving project in quicktime compressed format?

Post by jeremyb »

Hi,

On windows 10 (10.0.19044 Build 19044) and tvpaint (11.5.3-64bit dec 3 2021) isn't working.

Code: Select all

tv_FirstImage
FrameStart = result
tv_LastImage
FrameEnd = result

tv_SaveMode "Mode=1015"

tv_LockDisplay "Export Mov..."
tv_ProjectSaveSequence playblastPath FrameStart FrameEnd
tv_UnLockDisplay
There is another way to export MOV ?
WINDOWS 10 : 10.0.19044 Build 19044
TVPAINT : 11.5.3-64bit dec 3 2021
CPU : i9-9900
RAM : 64Go
CG: RTX 2080 SUPER 8go
User avatar
Hironori Takagi
Posts: 313
Joined: 14 May 2018, 10:15
Location: Tokyo, Japan
Contact:

Re: Saving project in quicktime compressed format?

Post by Hironori Takagi »

I don't know why, but in the script I wrote

tv_SaveMode "Mode = 1015"

after,

tv_SaveMode

It worked when I added.
Again, I don't know why.
TVPaint 11.7.2(Nov 14 2023), Windows11 Pro, HP Spectre x360 Convertible 14-ea0xxx / TVPaint 11.7.1(Dec 22 2022) Mac OS 11.6, Apple MacBookPro M1 2020
Xavier
Posts: 1855
Joined: 01 Oct 2019, 11:08

Re: Saving project in quicktime compressed format?

Post by Xavier »

Hironori Takagi wrote: 27 Jan 2022, 08:24 tv_SaveMode "Mode = 1015"
Have you been told by someone to do this ?

When trying to match the command result in the code, 1015 seems to activate the external saver aka FFmpeg.

You may try to use Mode=1010 instead, which would in theory activate the internal QT saver.
jeremyb
Posts: 31
Joined: 31 Jul 2020, 08:52

Re: Saving project in quicktime compressed format?

Post by jeremyb »

Hironori Takagi wrote: 27 Jan 2022, 08:24 I don't know why, but in the script I wrote

tv_SaveMode "Mode = 1015"

after,

tv_SaveMode

It worked when I added.
Again, I don't know why.
Exactly, is working now !

thanks
WINDOWS 10 : 10.0.19044 Build 19044
TVPAINT : 11.5.3-64bit dec 3 2021
CPU : i9-9900
RAM : 64Go
CG: RTX 2080 SUPER 8go
jeremyb
Posts: 31
Joined: 31 Jul 2020, 08:52

Re: Saving project in quicktime compressed format?

Post by jeremyb »

If i want to transpose this export settings
tempsnip.png
tempsnip.png (29.42 KiB) Viewed 10497 times
to george code, should be :

Code: Select all

FUNCTION exportMp4()
    tv_LockDisplay "Export..."
    tv_SaveMode
    tv_SaveMode "Mode=1016"
    tv_SaveMode
    tv_ProjectSaveSequence playblastPath frameIn frameOut
    tv_UnLockDisplay
END
In other way, tv_ProjectSaveSequence equal to Export Footage > Clip:Display ?

regards,
WINDOWS 10 : 10.0.19044 Build 19044
TVPAINT : 11.5.3-64bit dec 3 2021
CPU : i9-9900
RAM : 64Go
CG: RTX 2080 SUPER 8go
User avatar
NathanOtano
Posts: 1209
Joined: 01 Apr 2014, 07:07
Location: Biarritz, France
Contact:

Re: Saving project in quicktime compressed format?

Post by NathanOtano »

good news :)
Working on Windows 10
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.
jeremyb
Posts: 31
Joined: 31 Jul 2020, 08:52

Re: Saving project in quicktime compressed format?

Post by jeremyb »

hum, not at all...still a question...because if i run this script i've got en .mov but is totaly white or black with NaN value...
same with mode=1015
WINDOWS 10 : 10.0.19044 Build 19044
TVPAINT : 11.5.3-64bit dec 3 2021
CPU : i9-9900
RAM : 64Go
CG: RTX 2080 SUPER 8go
User avatar
NathanOtano
Posts: 1209
Joined: 01 Apr 2014, 07:07
Location: Biarritz, France
Contact:

Re: Saving project in quicktime compressed format?

Post by NathanOtano »

argh T_T
Have you tried =1010 like xavier suggested?
Working on Windows 10
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.
Post Reply