[Cin] HDV formats patch
Terje J. Hanssen
terjejhanssen at gmail.com
Fri Nov 13 20:32:40 CET 2020
Den 13.11.2020 17:27, skrev Andrew Randrianasulu:
> В сообщении от Friday 13 November 2020 19:03:24 вы написали:
>> Den 13.11.2020 09:40, skrev Andrew Randrianasulu:
>>> В сообщении от Friday 13 November 2020 07:05:19 вы написали:
>>>> Den 12.11.2020 13:57, skrev Andrew Randrianasulu:
>>>>> For cinelerra/defaultformats.h
>>>>>
>>>>> I de-capitalized "I" in presets, but I'm not sure about overall aesthetics of "P" vs "p" or how I added "(HDV)" to some presets (because I think those 720p presets can be used outside of HDV material?)
>>>>>
>>>>> Terje, can you try to pull cinGG sources from git, apply my patch
>>>>> (git apply PATCH from source tree) and build with "--with-single-user", so there will be no danger to your Cin isntallation and see if patch actually gives workable settings for your real footage?
>>>> Here I reach my limit :
>>>> Though I've worked with civil engineering, I'm not familiar with
>>>> building, compiling and patching computer software :)
>>>> Actually, almost five years ago, GG guided me step by step by email to
>>>> compile my first Cin5.0 on openSUSE 42.1.
>>>> Since then I've just installed pre-build rpm packages, included the
>>>> current Cin-GG 5.1 on Leap 15.2.
>>>>
>>>> So to do it now, I will need the detailed command procedure, step by
>>>> step again ;)
>>> :}
>>>
>>> there is big script in cinelerra/cinelerra-5.1/blds/bld_prepare.sh
>>>
>>> I'll copy-paste part of it so you can copy/paste it into terminal (konsole, xterm ..) and execute as root (or use gui for isntalling all those packages, but I think it will be more time consuming):
>>>
>>> zypper -n install nasm gcc gcc-c++ zlib-devel texinfo libpng16-devel \
>>> freeglut-devel libXv-devel alsa-devel libbz2-devel ncurses-devel \
>>> libXinerama-devel freetype-devel libXft-devel giflib-devel ctags \
>>> bitstream-vera-fonts xorg-x11-fonts-core xorg-x11-fonts dejavu-fonts \
>>> openexr-devel libavc1394-devel festival-devel libjpeg8-devel libdv-devel \
>>> libdvdnav-devel libdvdread-devel libiec61883-devel libuuid-devel \
>>> ilmbase-devel fftw3-devel libsndfile-devel libtheora-devel flac-devel \
>>> libtiff-devel inkscape cmake patch libnuma-devel lzma-devel udftools git \
>>> yasm autoconf automake rpm-build libjbig-devel libvdpau-devel libva-devel \
>>> gtk2-devel libusb-1_0-devel libpulse-devel libtool python
>>>
>>> after this you should have 'git' command available.
>> I got the following output:
>>
>> ==============
>>
>> Retrieving repository 'multimedia:apps' metadata
>> ...................................................................................................[done]
>> Building repository 'multimedia:apps' cache
>> ........................................................................................................[done]
>> Retrieving repository 'Packman Repository' metadata
>> ................................................................................................[done]
>> Building repository 'Packman Repository' cache
>> .....................................................................................................[done]
>> Retrieving repository 'Hovedpakkebrønn for oppdateringer' metadata
>> .................................................................................[done]
>> Building repository 'Hovedpakkebrønn for oppdateringer' cache
>> ......................................................................................[done]
>> Retrieving repository 'Hovedpakkebrønn for oppdateringer' metadata
>> .................................................................................[done]
>> Building repository 'Hovedpakkebrønn for oppdateringer' cache
>> ......................................................................................[done]
>> Loading repository data...
>> Reading installed packages...
>> 'gcc' is already installed.
>> No update candidate for 'gcc-7-lp152.4.114.x86_64'. The highest
>> available version is already installed.
>> 'zlib-devel' is already installed.
>> No update candidate for 'zlib-devel-1.2.11-lp152.8.6.1.x86_64'. The
>> highest available version is already installed.
>> 'python' is already installed.
>> There is an update candidate for 'python' from vendor
>> 'obs://build.opensuse.org/home:deltafox', while the current vendor is
>> 'openSUSE'. Use 'zypper install python-2.7.18-lp152.177.1.x86_64' to
>> install this candidate.
>> 'dejavu-fonts' is already installed.
>> No update candidate for 'dejavu-fonts-2.37-lp152.3.2.noarch'. The
>> highest available version is already installed.
>> 'xorg-x11-fonts' is already installed.
>> No update candidate for 'xorg-x11-fonts-7.6-lp152.7.3.1.noarch'. The
>> highest available version is already installed.
>> 'xorg-x11-fonts-core' is already installed.
>> No update candidate for 'xorg-x11-fonts-core-7.6-lp152.7.3.1.noarch'.
>> The highest available version is already installed.
>> 'lzma-devel' not found in package names. Trying capabilities.
>> Resolving package dependencies...
>> 5 Problems:
>> Problem: alsa-devel-1.2.4-lp152.338.3.x86_64 requires libasound2 =
>> 1.2.4, but this requirement cannot be provided
>> Problem: fftw3-devel-3.3.8-lp152.104.2.x86_64 requires libfftw3-3 =
>> 3.3.8-lp152.104.2, but this requirement cannot be provided
>> Problem: flac-devel-1.3.3-lp152.231.4.x86_64 requires libFLAC8 = 1.3.3,
>> but this requirement cannot be provided
>> Problem: libpng16-devel-1.6.37-lp152.126.3.x86_64 requires libpng16-16 =
>> 1.6.37, but this requirement cannot be provided
>> Problem: giflib-devel-5.2.1-lp152.121.3.x86_64 requires libgif7 = 5.2.1,
>> but this requirement cannot be provided
>>
>> Problem: alsa-devel-1.2.4-lp152.338.3.x86_64 requires libasound2 =
>> 1.2.4, but this requirement cannot be provided
>> not installable providers:
>> libasound2-1.2.4-lp152.338.3.x86_64[https-download.opensuse.org-6b55971e]
>> Solution 1: install libasound2-1.2.4-lp152.338.3.x86_64 (with vendor
>> change)
>> openSUSE --> obs://build.opensuse.org/multimedia
>> Solution 2: do not install alsa-devel-1.2.4-lp152.338.3.x86_64
>> Solution 3: break alsa-devel-1.2.4-lp152.338.3.x86_64 by ignoring some
>> of its dependencies
>>
>> Choose from above solutions by number or skip, retry or cancel
>> [1/2/3/s/r/c/d/?] (c): c
>>
>> ===========
>>
>> 1 or 2 ?
>>
>> Terje J. H
>>
> One, I think ..or "3" because not installing it will lead to no ALSA i/o (nowadays there is pulseaudio in CinGG , but I'm not sure how well it work)
=============
Andrew,
There was something above that put a 'c' and 'cr' at the end, and exited
to the prompt as shown above.
I had to install several packages Solution 1 from the open build service
obs://.......
before the build script ran through and installed 2321 packages.
Now I'm here :
terje at alfa:~/src/cin5>
terje at alfa:~/src/cin5> du -sh
546M .
terje at alfa:~/src/cin5>
Could you add the command "to pull cinGG sources from git, apply my patch"
(git apply PATCH from source tree) and build with "--with-single-user", so there will be no danger to your Cin isntallation and see if patch actually gives workable settings for your real footage?
=========
Terje J. H
More information about the Cin
mailing list