[CinCV TNG] [PATCH] Removed can_copy_from from file* sources

Andrew Randrianasulu randrianasulu at gmail.com
Sat Jul 15 23:10:53 CEST 2017


В сообщении от Saturday 15 July 2017 22:40:26 Einar Rc3bcnkaru написал(а):
> On 07/15/2017 10:11 PM, igor_ubuntu wrote:
> > АFAIU
> > If a user want to get directly copied frames, he should set:
> > 1 video track, no effects, input and output have the same size, input
> > and output media is all I-frames.
> >
> > Then he goes to File/Render and set the same parameters as in original.
> > If the parameters are not exactly the same (or (for example) if he had a
> > effect on track), the user will get reencoded result.
> >
> > Right ?
>
> Yes. When cinelerra decides to copy frame, rendering parameters
> affecting the result are ignored. DV hasnt any.

It seems to work with DV (input: dv in avi, output - quicktime/dv)
and with mjpeg (mjpeg/quicktime -> photo jpeg/quicktime)

(I looked at how fast rendering happened on slowed-down CPU, for ~8 sec. long DV 
cut down clip)

mjpeg file was encoded with ffmpeg 2.8.11:

ffmpeg -i /dev/shm/tmp/ud_04102010-small.mov -acodec copy -vcodec 
mjpeg /dev/shm/tmp/ud_04102010-small_mjpeg.mov

I also tried DNxHD, but there seems to be no such  codec at CinelerraCV's 
encoding side. Test file was encoded with this ffmpeg command:

 ffmpeg -i ~/New_hdd/new_my_videos_magic_eye_cam/20150811_180635.MOV -vcodec 
dnxhd -b:v 90M -s 1920x1080 -pix_fmt yuv422p -acodec 
copy /dev/shm/tmp/dxnhd.mov

parameters for ffmpeg converter were copied from this post to ffmpeg-users ML:
https://lists.ffmpeg.org/pipermail/ffmpeg-user/2015-January/025056.html

But I found it quite sad  cinelerraCV (main branch) can't be compiled with 
external ffmpeg 2.8.x (I saw few patches in 
https://git.cinelerra-cv.org/gitweb?p=einar/cinelerra.git;a=shortlog;pg=4 but 
not dared to try and apply them to main branch ....)

This brings interesting question - when next version of Cinelerra will be 
released? (from main branch). internal ffmpeg in main branch very old ....(like 
pre-0.5, from changelog). Is Cinelerra-CV-E not quite ready for replacing main 
version? Because I don't think moving forward TWO versions by basically 1 and 
1/2 developer is good idea ... so, if new release from main branch will be done 
soon -> CVE can become new main version, and old quicktime-based Cinelerra 
moved to branch ....


>
> Einar
> _______________________________________________
> Cinelerra mailing list
> Cinelerra at lists.cinelerra-cv.org
> http://lists.cinelerra-cv.org/cgi-bin/mailman/listinfo/cinelerra




More information about the Cinelerra mailing list