[Cin] Images sequence

Andrew Randrianasulu randrianasulu at gmail.com
Mon Mar 7 21:26:07 CET 2022


attached simple 3-line script hardcoded to dpx sequence transformation.

does it work (for Natron input) as good as your hand-editing, Andrea?

On Monday, March 7, 2022, Andrew Randrianasulu <randrianasulu at gmail.com>
wrote:

>
>
> On Monday, March 7, 2022, Phyllis Smith via Cin <
> cin at lists.cinelerra-gg.org> wrote:
>
>> The ffmpeg TOC file does not need to contain the list of files.
>>
>> Here is how to test this for TIFF files:
>> 1) render using options: ffmpeg / tif
>> 2) for ease of use, put the files in /tmp/test/test%5d.tif   (so create
>> /tmp/test directory first)
>> 3) do the render and you will see that test%5d.tiff will contain ONLY:
>>  IMAGE2
>> # Frame rate: 29.970030
>> # Width: 352
>> # Height: 240
>> and all of the test00###.tiff files exist in the /tmp/test directory
>> 4) now just add a video track and drag the test%5d.tiff from the Media
>> folder of the Resources window and it works correctly
>>     or later just load /tmp/test%5d.tiff and it works.
>>
>> Now for the interesting part, yesterday and this morning DPX was working
>> on my builds and AppImages from October, November, and December UNTIL I
>> switch to using TIFF instead of DPX.  Now DPX no longer works so there is
>> something going on and I have not figured it out yet.
>>
>
>
> I think in my case (i tried ffmpeg/bmp seq) Cin just created bmps instead
> of dpx!
>
> for scripting..
>
> I first
>
>  cp dpx%6d.dpx dpx.dpxs
> (copied cingg's header/toc into new file)
>
> then
>
>  ls *.dpx > dpx.list
> (will list all dpx files in current dir including cingg's header/toc one)
>
> then
>
> cat dpx.list >> dpx.dpxs
> (glue two files together)
> then
>
> sed  '/%d*/d' -i dpx.dpxs
> (remove cin-gg's header/toc file from resulting file in-place)
>
> but because dpx really bmp in my case it failed to work...
>
>
>
>>
>>
>>
>>
>>
>>   Also, yesterday, I tried it on Arch dated 10/30/2020 and DPX did not
>> work (have to check to see if TIFF does).  The correct contents of the dpx
>> file is:
>> IMAGE2
>> # Frame rate: 29.970030
>> # Width: 352
>> # Height: 240
>> with NO listing of each individual dpx files needed.
>>
>>>
>>> I tried to do a dpx render; it came with all the images and a TOC file
>>>> that doesn't have the links to the images. Then I created a second TOC
>>>> file using imagelist.sh. A TOC came up with the links to the dpx
>>>> images. This doesn't work when imported into CinGG; it's obvious
>>>> because imagelist.sh uses only jpeg images and not dpx.
>>>> So I took the first TOC and pasted in the links from the second TOC.
>>>> This TOC+ works in CinGG and Natron; it doesn't work in Kdenlive and
>>>> OpenShot (but I don't know if these programs support DPX).
>>>
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220307/c07066f1/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffcin2cin.sh
Type: text/x-sh
Size: 89 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220307/c07066f1/attachment-0001.bin>


More information about the Cin mailing list