[Cin] Cingg bg render crash video scenario
Andrew Randrianasulu
randrianasulu at gmail.com
Fri Sep 1 09:41:35 CEST 2023
пт, 1 сент. 2023 г., 09:43 Andrew Randrianasulu <randrianasulu at gmail.com>:
>
>
> пт, 1 сент. 2023 г., 09:38 Andrea paz <gamberucci.andrea at gmail.com>:
>
>> In my opinion, one possible source of BR problems is when we use CinGG
>> as normal users, but the default BR folder is in /tmp and thus
>> requires root privileges. Perhaps it would be better if CinGG created
>> a default folder in .../cinelerra5/cinelerra-5.1/.
>>
>
> or may be in .bcast5/brender_dir/ ?
>
While after/during dog walk I recall there is renderfarm + background
render feature, so may be having some commonly-accessible place (for all
users) still might be good idea.?
Anyway, path itself easy to change (even in code if you want)
in cinelerra/preferences.C
// Default brender asset
<------>brender_asset = new Asset;
<------>brender_asset->audio_data = 0;
<------>brender_asset->video_data = 1;
<------>sprintf(brender_asset->path, "/tmp/brender");
<------>brender_asset->format = FILE_JPEG_LIST;
<------>brender_asset->jpeg_quality = 80;
but default socket patch also lives there, I redefined it for termux, but
for generic unix/Linux distro .... may be somewhere in /var ?
Not sure if having two places to control for permissions better than one
.....
>
> My other request: is it possible to create a button that deletes all
>> BG image files from inside CinGG? Maybe near the input window for the
>> path of such files.
>
>
> Yeah, I hope to make something like this, just a bit scared about
> accidently deleting too much (like, if I just put rm -rf there and user
> pointed brender dir at their $home ....). I hope to reuse idea/code from
> deleting indexes.
>
>
>
> In fact, I believe that even the permanence of
>> files of one format are problematic when you want to change formats.
>> This is not an important request because when you use a format you
>> continue to use that format; however, it can prevent possible crashes.
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20230901/a942c6db/attachment-0001.htm>
More information about the Cin
mailing list