22 октября, 2017

Компиляция Cinelerra-HV 7

13.10.2017 выпущен релиз Cinelerra-HV 7  (оригинальной Cinelerra от Adam Williams).



Optimized playback of large format video. 
H.265 decoding. 
Optimized screen capturing. 
Spherical camera blending. 
Eyedropper can show the maximum value. 
Interpolating CR2 images always white balances. 
Tracks->Concatenate tracks 
Adam Williams демонстрирует  новшества релиза в этом видео.

Среди незадекларированных новшеств Cinelerra-HV 7:

Textboxes have a "right mouse click" popup that gives you the choice to "cut, copy, paste".

Max color for the eyedropper when checked sets the color to the max value within the chosen area.
Deglitch for audio was added.
Asynchronous disappeared in layout.
MotionHV uses cache now.
Reverb majorly changed.
Interpolate Pixels changed and is now called Interpolate Bayer.
Timestretch  changed but not sure what was not tested.
The clock has changed from segmented numbers to real numbers.

Recording has some good improvements.  There is a boundary box to use to position around the area you wish to use in the screencapture, you can turn "video monitor on", and you can include monitoring the cursor as regular or large sized.

Default factory presets have been added for Compressor, Lens, Spectrogram, Downsample, Scale, MotionHV, , Reverb, Interpolate Video, Chroma key (HSV), Histogram, EQ parametric, ReframeRT, and Sphere Cam.
X11 driver speed-up for large format files was added.  It uses a different, direct methodology.  X11 is now the default driver AND there is a checkbox to ensure that you do or do not want to "use direct X11 render if possible".

Описание нововведений HV 7 представлено разработчиком Cinelerra-GG 5.1
Все изменения в  HV 7 уже портированы в git Cinelerra-GG 5.1  
Пакеты CinGG были обновлены в конце октября 2017.

--------------------

Для компиляции Cinelerra-HV 7 на 32-bit Ubuntu потребовался ряд манипуляций (было бы просто удивительно, если бы он не потребовался).

Прежде всего следует сказать, что использование 'make -jN' приводит к большому количеству ошибок. Потому -    'make'

В файле /cinelerra-7/build/Makefile.cinelerra   в строках
cp libmpeg3/x86_64/mpeg3dump libmpeg3/x86_64/mpeg3peek libmpeg3/x86_64/mpeg3toc  libmpeg3/x86_64/mpeg3cat bin

cp quicktime/x86_64/make_streamable bin

 x86_64 заменяем соответственно вашей системе. В рассматриваемом случае это i686

В противном случае возникнут ошибки:


cp: cannot stat «libmpeg3/x86_64/mpeg3dump»: No such file or directory
cp: cannot stat «libmpeg3/x86_64/mpeg3peek»: No such file or directory
cp: cannot stat «libmpeg3/x86_64/mpeg3toc»: No such file or directory
cp: cannot stat «libmpeg3/x86_64/mpeg3cat»: No such file or directory
make[1]: *** [install] Error 1 


--------------------

В файле /cinelerra-7/cinelerra/quicktime/Makefile   добавляем '&&'
в 292 строку 'ar x ../../../$(FFMPEG_DIR)/libavutil/libavutil.a \'
и приводим её к виду 


в противном случае возникнет ошибка:

        ar x ../../../thirdparty/ffmpeg-3.3.3/libavutil/libavutil.a \
        cd ../avutil && \
        ar x ../../../thirdparty/ffmpeg-3.
3.3/libswresample/libswresample.a
no entry cd in archive
no entry ../avutil in archive
make[2]: Leaving directory `/home/user/cinelerra-7/
quicktime'
 --------------------------------
 В файле  /cinelerra-7/cinelerra/Makefile  
 добавил  -lvdpau -lva-x11 -lva


--------------------------------------------------

 В файле /cinelerra-7/quicktime/Makefile  в строку
LIBS := $(OUTPUT) $(MPEG3_DIR)/$(OBJDIR)/libmpeg3.a -lpng -lz -lpthread -ldl -lm -llzma -lrt
добавил     -lX11 -lvdpau -lva-x11 -lva  

 
в противном случае возникнут ошибки:

make[2]: Entering directory `/home/user/cinelerra-7/quicktime'
find thirdparty/ffmpeg-3.3.3/libavcodec/ -name *.o >> i686/objs
gcc -o i686/qtinfo i686/qtinfo.o i686/libquicktime.a ../libmpeg3/i686/libmpeg3.a -lpng -lz -lpthread -ldl -lm -llzma -lrt
gcc: i686/libquicktime.a: No such file or directory
make[2]: *** [i686/qtinfo] Error 1
make[2]: *** Waiting for unfinished jobs...
find thirdparty/ffmpeg-3.3.3/libavformat/ -name *.o >> i686/objs
find thirdparty/ffmpeg-3.3.3/libavutil/ -name *.o >> i686/objs
find thirdparty/ffmpeg-3.3.3/libswresample/ -name *.o >> i686/objs
ar rcs i686/libquicktime.a `cat i686/objs`
make[2]: Leaving directory `/home/user/cinelerra-7/quicktime'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/user/cinelerra-7'
make: *** [all] Error 2
cinelerra-7$  


make[2]: Entering directory `/home/user/cinelerra-7/quicktime'
gcc -o i686/qtdump i686/dump.o i686/libquicktime.a ../libmpeg3/i686/libmpeg3.a -lpng -lz -lpthread -ldl -lm -llzma -lrt
i686/libquicktime.a(hwcontext_vdpau.o): In function `vdpau_device_create':
/home/user/cinelerra-7/quicktime/thirdparty/ffmpeg-3.3.3/libavutil/hwcontext_vdpau.c:431: undefined reference to `XOpenDisplay'
/home/user/cinelerra-7/quicktime/thirdparty/ffmpeg-3.3.3/libavutil/hwcontext_vdpau.c:437: undefined reference to `XDisplayString'
/home/user/cinelerra-7/quicktime/thirdparty/ffmpeg-3.3.3/libavutil/hwcontext_vdpau.c:439: undefined reference to `XDefaultScreen'
/home/user/cinelerra-7/quicktime/thirdparty/ffmpeg-3.3.3/libavutil/hwcontext_vdpau.c:439: undefined reference to `vdp_device_create_x11'
/home/user/cinelerra-7/quicktime/thirdparty/ffmpeg-3.3.3/libavutil/hwcontext_vdpau.c:433: undefined reference to `XDisplayName'
i686/libquicktime.a(hwcontext_vdpau.o): In function `vdpau_device_free':
/home/user/cinelerra-7/quicktime/thirdparty/ffmpeg-3.3.3/libavutil/hwcontext_vdpau.c:410: undefined reference to `XCloseDisplay'
collect2: ld returned 1 exit status
make[2]: *** [i686/qtdump] Error 1

/home/user/cinelerra-4.6.1/quicktime/thirdparty/ffmpeg-0.6.1/libavcodec/vaapi.c:57: undefined reference to `vaUnmapBuffer'
../quicktime/i686/libquicktime.a(vaapi.o): In function `commit_slices':
/home/user/cinelerra-4.6.1/quicktime/thirdparty/ffmpeg-0.6.1/libavcodec/vaapi.c:97: undefined reference to `vaCreateBuffer'
/home/user/cinelerra-4.6.1/quicktime/thirdparty/ffmpeg-0.6.1/libavcodec/vaapi.c:106: undefined reference to `vaCreateBuffer'
collect2: ld returned 1 exit status
make[2]: *** [../bin/cinelerra] Error 1


-----------

Если при компиляции возникает ошибка 

 from bits.c:28:
/usr/include/bits/mathcalls.h:326: error: conflicting types for 'lrintf'
common.h:313: note: previous definition of 'lrintf' was here


то исправить ее можно так,  как я описывал ранее здесь  
---------------

Для компиляции Cinelerra-HV 7 на Slackware 14.2 можно использовать patches. Там же находится  cinelerra-hv.SlackBuild
Готовый 64-bit пакет для Ubuntu, не требующий установки в систему, можно скачать отсюда .

Комментариев нет:

Отправить комментарий