Re: [CinCVS] Re: A better MPEG-2 encoding than HDV
On Mon, 2007-06-11 at 17:39 +0200, Terje J. Hanssen wrote: No response on this topic so far. Therefore I try again with two follow-up questions: 1) Is Cinelerra capable to preserve mpeg2 with 4:2:2 color space throughout the editing process? Yes, cinelerra internally works in 4:4:4. 2) Which types of video/audio formats can be edited with Cinelerra? (a list of all) ... a lot, but not all work perfectly, you should experiment a bit and read old discussions on the mailnig list bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Synchronism between audio and video
On Sat, 2007-04-28 at 21:04 +0100, Alan Chandler wrote: On Saturday 28 Apr 2007, Alan Chandler wrote: I am very new to using Cinelerra so I am struggling with what is probably the simplest thing. I have copied a .vob file from a dvd and renamed it as an .mpg When I play it natively (under linux) using kaffeine the audio and video are in sync. When I import this file into cinelerra (as a resource) and then play it in the viewer window (looking for a point where I want to start and end a clip) the audio and video are no longer in sync. Is there a setting somewhere that shifts the relationship between audio and video? OK I found the nudge capability - but thats not the issue. I used the nudge to align the video with audio and rendered my video only to find the result was out of sync. I took the nudge out and re-rendered and all was in sync. I am not sure whats wrong, but if you can't view clips with accurate syncing, how could you possible use the nudge capability to line things up if the only way to see if it has is after rendering? change from oss to alsa sound driver and make your sound buffers in cinelerra smaller... ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Compilation options
On Tue, 2007-04-17 at 10:59 +0200, Philippe Ribet wrote: Hello, It looks like cinelerra is compiled without OpenGL option.Cinelerra's documentation advise to use OpenGL as many effects can be rendered in real time thanks to computing done by the graphic chip instead of the main processor. Is it by intention that OpenGL is not activated? yes, it works everywhere bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
[CinCVS] [Fwd: ubuntu feisty packages]
Forwarded Message From: Jure Cuhalev [EMAIL PROTECTED] To: Andraž Tori [EMAIL PROTECTED] Subject: ubuntu feisty packages Date: Sun, 15 Apr 2007 02:58:08 +0200 Hej Andraz, can you please forward the message that I've built packages of Cinelerra for Feisty to Cinelerra dev mailing list? Ubuntu Feisty is going to be released in next few days, so you can tell your cutting edge ubuntu users that they can use my packages. Full announcement in my blog: http://www.kiberpipa.org/~gandalf/blog/? p=77 thanks, jure ___ Cinelerra mailing list [EMAIL PROTECTED] https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] razor
what you are describing is intermediate step to something else you want to do (intermediate step needed in programs you are used to, but not in cinelerra). what is that you really want to do? what is the end situation you want to get to? bye andraz On Mon, 2007-04-09 at 22:24 +1000, mark stavar wrote: Actually, the primary use I have made of the razor tool is to choose a point in a clip on the timeline and then to split it (i.e. slice it with the razor). This can be a very useful feature. Ciao, marks On 4/9/07, Herman Robak [EMAIL PROTECTED] wrote: On Mon, 2007-04-09 at 03:48 -0700, Chris Reynolds wrote: Is there a razor function in cinelerra for trimming video in the timeline? I'm used to using programs like adobe premiere and pinnacle studio where I can trim out a section in the timeline but I haven't figured out how to do that in cinelerra. When you ask the question that way you limit the audience to those who already have used Adobe Premiere or Pinnacle Studio, which is unfortunate. What exactly do you want to do? If you want to select a region on the timeline and cut that away, you select it and cut it away, like this: 1) Make sure that Cinelerra is in cut and paste mode, by clicking on the button with a beam shaped icon.(*) 2) Drag the mouse over the region to be selected (now displayed with inverted colours) 3) Pressing the 'x' key for cut. 4) The selected region vanishes, and what was to the right of it shifts to the left to fill the gap, just like the text in a text editor would. Do you want something else? If so, what? If you describe it concisely, we can explain how to do it in Cinelerra. *) Was the mode puzzling to you? You're not alone! -- Herman Robak ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra -- Mark Stavar Swan Dancer Productions Email: [EMAIL PROTECTED] Mobile: 0410 638 671 http://www.the-writers-retreat.com/ ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Color processing
One suggestion for quality would be to use floating point color mode! bye andraž On Fri, 2007-04-06 at 11:39 +1200, Edouard Chalaron wrote: Hi all It is more a general matter than specific to cinelerra. But if someone has the same situation it may be useful. Here I am transferring Super8 movies using a 422 8 bit camera, I end up with raw files with no gamma correction. Sometimes movies are turning dark with age (chemical instability or just plain underexposure). Now my question would be : In order to bright the frames up, I use the following plugins in this order : gamma, Hue, color, bright / contrast, eventually videoscope to control. I sometimes use the histogram but it tends to flatten out some colours... I need to learn more about this one Is there any suggestion as per the order of the plugins I am using (e.g. would it be better to do the gamma at then end rather than the beginning etc ) Thanks a lot Edouard ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] rotate video effect
You know what keyframes are? just turn on automatic keyframing and set the angle at the beginning and at end. everything inbetween should be interpolated. ... i strongly suggest that you read the fine manual, since you obviously haven't. bye andraz On Wed, 2007-04-04 at 15:26 +, [EMAIL PROTECTED] wrote: Guys, I have transparent graphic of a compass that I would like to overlay on a video. I would like to smoothly rotate this graphic either continuously (loop) or using a set rotation arc (like 0 to 180 degrees). The existing rotate effect in Cinelerra is very basic..it does a rotate of a set or custom degree arc incrementally, one rotation at a time. As a test, I created a project with a transparent image (png file) stretched to 60 frames. I set a rotate effect every five frames with a degree change of 5 degrees each. So the image would rotate 5 degrees every 5 seconds..5, 10, 15, 20 degrees up to 60 degrees. It worked, but the output was choppy and the procedure is obviously very labor intensive for what should be a somewhat simple task. I also tried the motion effect, trying to do the reverse of rotation correction. However, the motion effect is difficult to work with and I haven't had enough time to fully test this method. Is there an easier way to accomplish what I want? Or perhaps I am just not seeing something simple. Again, the goal is to rotate a graphic or video smoothly, just like we do today with camera/projector automation of X, Y and Z coordinates. If rotation was implemented in the same manner, we could also using keyframes and bezier curves to do rotations. scott ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] rotate video effect
i really tried to be as polite as possible :) anyway, have fun with new discoveries :) bye andraz On Wed, 2007-04-04 at 15:59 +, [EMAIL PROTECTED] wrote: Ayyy! Take it easy on me Andraz! Sorry, I thought keyframes only applied to the projector/camera automation. :) scott -- Original message -- From: Andraž Tori [EMAIL PROTECTED] You know what keyframes are? just turn on automatic keyframing and set the angle at the beginning and at end. everything inbetween should be interpolated. ... i strongly suggest that you read the fine manual, since you obviously haven't. bye andraz On Wed, 2007-04-04 at 15:26 +, [EMAIL PROTECTED] wrote: Guys, I have transparent graphic of a compass that I would like to overlay on a video. I would like to smoothly rotate this graphic either continuously (loop) or using a set rotation arc (like 0 to 180 degrees). The existing rotate effect in Cinelerra is very basic..it does a rotate of a set or custom degree arc incrementally, one rotation at a time. As a test, I created a project with a transparent image (png file) stretched to 60 frames. I set a rotate effect every five frames with a degree change of 5 degrees each. So the image would rotate 5 degrees every 5 seconds..5, 10, 15, 20 degrees up to 60 degrees. It worked, but the output was choppy and the procedure is obviously very labor intensive for what should be a somewhat simple task. I also tried the motion effect, trying to do the reverse of rotation correction. However, the motion effect is difficult to work with and I haven't had enough time to fully test this method. Is there an easier way to accomplish what I want? Or perhaps I am just not seeing something simple. Again, the goal is to rotate a graphic or video smoothly, just like we do today with camera/projector automation of X, Y and Z coordinates. If rotation was implemented in the same manner, we could also using keyframes and bezier curves to do rotations. scott ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] rotate video effect
you need just one effect (one red strip) and two keyframes on it. bye andraz On Wed, 2007-04-04 at 19:56 +, [EMAIL PROTECTED] wrote: Guys, I've experimented with the rotate effect on a transparent image. Though I've read the section on keyframing a couple of times now, I must be doing something wrong, because the interpolation between the two rotate effects that I have applied to the video track is not happening. I especially read the part where it says: Effects are only key-framable in automatic mode because of the number of parameters in each individual effect Here is what I am doing: 1) the transparent gif is stretched to 120 frames on a video track 2) I apply a rotate effect on the first five frames of the track 3) I apply a rotate effect on the last five frames of the track 4) I turn on automatic keyframing by selecting the key icon on the command bar of the timeline 5) I set the rotate parameter on the first applied rotate effect to 0 degrees 6) I set the rotate parameter on the second applied rotate effect to 180 degrees 7) I hit play to watch 8) I then render out the final to confirm what I am seeing. And what I am seeing is that the interpolation does not happen and the image rotates only when the insertion point hits the second rotate effect. Here is what my timeline looks like: http://content.serveftp.net/video/rotateapart.png Here is a sample of the rotate param tweak: http://content.serveftp.net/video/rotateparam.png I've also tried applying the first rotate effects to the first and last halves of the video so that they are adjacent to each other (http://content.serveftp.net/video/rotatetogether.png) I then turn on auto keyframing and make my param changes as before. Unfortunately, this yields the same result. Hopefully, someone with more experience with auto keyframing with effects can help me out. thanks, scott -- Original message -- From: Andraž Tori [EMAIL PROTECTED] i really tried to be as polite as possible :) anyway, have fun with new discoveries :) bye andraz On Wed, 2007-04-04 at 15:59 +, [EMAIL PROTECTED] wrote: Ayyy! Take it easy on me Andraz! Sorry, I thought keyframes only applied to the projector/camera automation. :) scott -- Original message -- From: Andraž Tori [EMAIL PROTECTED] You know what keyframes are? just turn on automatic keyframing and set the angle at the beginning and at end. everything inbetween should be interpolated. ... i strongly suggest that you read the fine manual, since you obviously haven't. bye andraz On Wed, 2007-04-04 at 15:26 +, [EMAIL PROTECTED] wrote: Guys, I have transparent graphic of a compass that I would like to overlay on a video. I would like to smoothly rotate this graphic either continuously (loop) or using a set rotation arc (like 0 to 180 degrees). The existing rotate effect in Cinelerra is very basic..it does a rotate of a set or custom degree arc incrementally, one rotation at a time. As a test, I created a project with a transparent image (png file) stretched to 60 frames. I set a rotate effect every five frames with a degree change of 5 degrees each. So the image would rotate 5 degrees every 5 seconds..5, 10, 15, 20 degrees up to 60 degrees. It worked, but the output was choppy and the procedure is obviously very labor intensive for what should be a somewhat simple task. I also tried the motion effect, trying to do the reverse of rotation correction. However, the motion effect is difficult to work with and I haven't had enough time to fully test this method. Is there an easier way to accomplish what I want? Or perhaps I am just not seeing something simple. Again, the goal is to rotate a graphic or video smoothly, just like we do today with camera/projector automation of X, Y and Z coordinates. If rotation was implemented in the same manner, we could also using keyframes and bezier curves to do rotations. scott ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https
Re: [CinCVS] New anti-patented algorithm for better Y'CbCr
yes, you did.. however we have no developer resources to dedicate to this, so if you send a patch we would probably integrate it. though alogrithm should be switchable on/off, since it slightly changes the colours (brightness) of the ouput in general. bye andaz On Sat, 2007-03-17 at 12:22 +0100, Karel Kulhavy wrote: I think I have already sent you an e-mail about Twibright Hyperluma. I have developed two even better algorithms that reach amazing SNR concerning colour detail distortion when encoding into 4:2:0 or 4:2:2 Y'CbCr. The are called Hyperluma 2 and Luminaplex. See http://ronja.twibright.com/hyperluma.php That's something Cinelerra could benefit from. The output video then looks not like in a TV, but like in a cinema. Doesn't increase the output file size and is beneficial for virtually any end distibution video format that exists - all usually use 4:2:0 or 4:2:2 Y'CbCr Time for free software to produce better video than the commercial ones. CL ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] SoC 2007
We are just submitting Kiberpipa to be mentoring organisation, should we put these projects underneeth. i need answer ASAP since today is the deadline bye andraz On Sat, 2007-03-10 at 15:21 +0100, giskard wrote: Il giorno ven, 09/03/2007 alle 17.18 +0100, giskard ha scritto: Il giorno mer, 07/03/2007 alle 21.30 +0100, Johannes Sixt ha scritto: On Wednesday 07 March 2007 17:34, giskard wrote: i will start reading SoC docs, Johannes (and * project guys) do you are ok? I think I'm ok. I'm hoping that mentoring a project is not too time consuming. My favorite project is to make X11, X11-XV, and X11-GL drivers into a single driver which decides at runtime which accelerations are available and dynamically load GL libraries. That way it's not necessary to have separate builds for OpenGL and non-OpenGL support. And it's also possible to make ATI drivers work. hello, yesterday we had a meeting in #cinelerra. We talked about all possible project we can mentor for SoC 2007. Here is a final list: summary: opengl (j6t), firewire (j6t), unicode (j6), huffyyuv , media/footage management and tagging/filtering (cehteh) (don't sure if this i doable), transparent proxy (herman), And DVD-ready MPEG. (hermanr) i wrote final..but afaik minmax has some idea which wanted tell us. i will send another (bigger) mail today evening. If you want you can read irclogs.. :) i've setup a web pages for the SoC projects: http://cvs.cinelerra.org/soc.php here all people who proposed project(s) should write something about them. please do it ASAP. Mentors should give me theyr gmail address: cehteh do you have a gmail account? please do you have an answer at this questions: Il giorno ven, 09/03/2007 alle 17.18 +0100, giskard ha scritto: Il giorno mer, 07/03/2007 alle 21.30 +0100, Johannes Sixt ha scritto: On Wednesday 07 March 2007 17:34, giskard wrote: i will start reading SoC docs, Johannes (and * project guys) do you are ok? I think I'm ok. I'm hoping that mentoring a project is not too time consuming. My favorite project is to make X11, X11-XV, and X11-GL drivers into a single driver which decides at runtime which accelerations are available and dynamically load GL libraries. That way it's not necessary to have separate builds for OpenGL and non-OpenGL support. And it's also possible to make ATI drivers work. hello, yesterday we had a meeting in #cinelerra. We talked about all possible project we can mentor for SoC 2007. Here is a final list: summary: opengl (j6t), firewire (j6t), unicode (j6), huffyyuv , media/footage management and tagging/filtering (cehteh) (don't sure if this i doable), transparent proxy (herman), And DVD-ready MPEG. (hermanr) i wrote final..but afaik minmax has some idea which wanted tell us. i will send another (bigger) mail today evening. If you want you can read irclogs.. :) i've setup a web pages for the SoC projects: http://cvs.cinelerra.org/soc.php here all people who proposed project(s) should write something about them. please do it ASAP. Mentors should give me theyr gmail address: cehteh do you have a gmail account? do you have an answer to this questions? What steps will you take to encourage students to interact with your project's community before, during and after the program? What will you do to ensure that your accepted students stick with the project after GSoC concludes? -- ciao, giskard ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] [DRAFT] SoC 07
i don't think CinelerraCV is considered an organization probably we willh ave to use something like Kiberpipa as cover organization (which we can) or some other formal organization bye andraz On Wed, 2007-03-07 at 18:56 +0100, giskard wrote: hello *, this is the mail that i will send to google SoC administrator :) it needs more work, please modify it when it's necessary :) the deadline is mon 12/03! Q: What is your Organization's Name? A: Cinelerra CV Q: What is your Organization's Homepage? A: http://cv.cinelerra.org Q: Describe your organization. A: This is an unofficial SVN repository and community home page for Cinelerra, the non-linear video editor and compositor for Linux. Why 2 versions of cinelerra? Cinelerra is developed upstream by an entity (guy/girl/group) we'll call HV that is a sharing but not a community sort of entity. HV likes to work on its own copy of cinelerra on its own, releasing code on a periodical basis (every 6 months or so). Some developers decided that it would be nice to develop in a community fashion, (public svn access) but did not really want to fork (which is seen as being nasty). Basically we maintain a copy that is fairly similar to the official release, (i.e. we don't do code-tidying patches). But apply our bug fixes, compiler compliance fixes, and enhancements to the svn. We do try to send the patches upstream, (but it sucks having to apply a patch to two systems, but that's life!) Thus the CV has a number of features that the official version does not have. Q: Why is your organization applying to participate in GSoC 2007? What do you hope to gain by participating? A: 1) Interest in Cinelerra 2) More people involved in free video editor 3) improove cinelerra Yes, i need to phrase this in a better way. Q: What license does your project use? A: GPL (i'm wrong?) Q: URL for your ideas page A: i have to setup it, but i need to know if someone want ask (and can mentor) other features. Q: What is the main development mailing list for your organization? A: cinelerra@skolelinux.no Q: Where is the main IRC channel for your organization? A: #cinelerra on freenode Q: What criteria did you use to select these individuals as mentors? Please be as specific as possible. A: Developer of the project and? minmax jsixt could you please help me answer this question ;) thank you Q: Who will your mentors be? Please enter their Google Account address separated by commas. If your organization is accepted we will email each mentor to invite them to take part. (optional) A: mentors can please open an account on gmail. I know there will be a lot of problem with this request..please don't blame me :( Q: What is your plan for dealing with disappearing students? A: kill them all? ;) If the project is started we will try to continue it, if not..no problems. Q: What is your plan for dealing with disappearing mentors? A: This will be a problem, as mentors == main developers ;) Q: What steps will you take to encourage students to interact with your project's community before, during and after the program? A: dunno no idea yet Q: What will you do to ensure that your accepted students stick with the project after GSoC concludes? A: same..no idea yet. ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] SoC 2007
On Wed, 2007-03-07 at 01:21 +0100, giskard wrote: hello, it's a long time i don't contribute to cinelerra,but i'm always interested in it. Yesterday i wondered why cinelerra cannot be part of SoC 2007 (SoC as in Summer of Code a project sponsored by google) Why not, we could... Kiberpipa can be mentoring organisation, and myself and Johannes Sixt and maybe someone else as mentors... but the final decision is on google... I have some ideas, but for most of them i can't be the mentor (maybe for all). 1) write a GUI in gtk2 this is wy beyond SoC project 2) re-write cinelerra-cv as a modular program I was thinking about smaller scale projects... we have to decide if partecipate or not to SoC 2007. i am all for it minmax, hermanr, * ? what do you think about this? ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Trying to record from MiniDV camera.
Please use Kino for recording. Recording is broken in Cinelerra. bye andraz On Mon, 2007-03-05 at 18:50 -0500, Fred Williams wrote: Hello People, I am running cinelerra on Ubuntu Linux with a Core 2 Duo processor and 2 Gigabytes of memory. I have it installed and was able to play with some video files (.avi) from my still camera the other day. Now I need to load some Mini DV tapes for editing so today I bought a JVC GR-D750U camera and a Firewire PCI card. Unfortunately when I try to record from the camera there seems to be no connection although all the wires are connected. When I choose File--Record, I get the Cinelerra Recording box, but then when I click on the red button the window freezes and nothing gets recorded. The camera is playing the tape, but nothing comes through and I can't stop the recording in Cinelerra...It won't close the window while it is recording and it's not recording anything. So far the only way I can close cinelerra is to log out, or shut down the system. The camera manual says that it won't download the date and time info to the computer anyway. Should I take the camera back? ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Trying to record from MiniDV camera.
On Tue, 2007-03-06 at 01:19 +0100, Herman Robak wrote: On Tue, 2007-03-06 at 00:58 +0100, Andraž Tori wrote: Please use Kino for recording. Recording is broken in Cinelerra. Possibly the same bug as... http://bugs.cinelerra.org/show_bug.cgi?id=334 Any progress on that, by the way? Only that i am seriously thinking of disabling record menu entry.. bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Status of GPL Headers
There can be a directory-wide filename that specifies licence for all .C files in directory... It does not need to be in every file separately (altough some people like it that way, but it is not mandatory) bye andraz On Fri, 2007-03-02 at 16:04 -0300, flavio wrote: I am following the previous thread's discussion that stated it as I wrote. Thanks for the reply, but it still doesn't answer my question: how to do it? 2007/3/2, Holger Levsen [EMAIL PROTECTED]: Hi, On Wednesday 28 February 2007 19:34, flavio wrote: when scanning, then, if there is a header saying it is GPL, LGPL or if there is no header at all, the file is fine, no reports. if it says anything else, post a report for further investigation. is that it? As I understand it, no header means no copyright+licence information, ergo normal (=non copyleft) copyright applies, ergo not ok for distribution. regards, Holger ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] first posting
On Sat, 2007-02-24 at 20:16 -0500, Fred Williams wrote: you sure you added the right repo? deb http://giss.tv/~vale/ubuntu32 ./ Tried that the other day. It's still there in my Synaptic package manager, but I find no Cinelerra there. I downloaded the deb package independently. no wonder it does not work. you have to reload the sources first (there's a button for this action), so changes take effect (yes, i agree synaptic is problematic regarding this) bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Status of GPL Headers
when somebody finds a file that he thinks there are issues with, we'll take a careful look into it. i expect those that want to get cinelerra into ubuntu to do the checking and report issues on this mailing list. after all that talk i really expected something to happen by now bye andraz On Sat, 2007-02-24 at 22:19 -0500, Nathan Kidd wrote: [I started writing this as a reply to the previous GPL thread, but since I hadn't made significant progress so I didn't bother to post. The draft mail has now been sitting in my mailbox for 3+ weeks so I'd better just send what I have now.] Jeroen van de Nieuwenhof wrote: I was wondering what te current status is of the intention to get Cinelerra in the Ubuntu repositories by checking all the licenses of each file? The previous gpl headers thread left us with a few questions. Question 1: How many files in Cinelerra? svn export hvirtual hvirtual-ex; cd hvirtual-ex; for dir in `find hvirtual-ex -maxdepth 1 -type d`; do echo -n $dir: ; find $dir -type f | grep -c .; done; .: 5238 # total number of files ./mplexlo: 3 ./m4: 23 ./plugins: 2433 # almost half of them are in plugins ./image: 3 ./debian: 20 ./admin: 1 ./toolame-02l: 57 ./quicktime: 486 ./guicast: 630 ./mpeg2enc: 54 ./libmpeg3: 88 ./cinelerra: 1015 ./doc: 389 ./po: 22 Question 2: What files are non-GPL license? This is what needs to be checked. I propose that anyone interested in this license issue go to the wiki collaboration page I just created http://cvs.cinelerra.org/docs/wiki/doku.php?id=cinelerrafileslicensestatus And follow the instructions there to volunteer to audit a particular subdirectory. An automated grep would probably be 98%+ accurate, but to truly guarantee correctness I think the files need manual scanning. My understanding is some of those directories are not cinelerra proper, but 3rd party support libraries. They probably have a blanket license. -Nathan ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Status of GPL Headers
On Sun, 2007-02-25 at 09:48 -0500, Cory K. wrote: The Ubuntu Studio project has set up Cinelerra on Bzr so we can have multiple people work on it. The plan is to submit our changes back upstream when we're done hopefully they're accepted. I hope we get some help because it honestly feels like nobody on this list or IRC cares. I do care and will be extremely happy when effort succeeds. However i can dedicate no resources to it. But as soon as you rise any issue on this mailng list i can assure you we(and me personaly) will take a look at it. But until any issues are rised there wont be much discussion about it. All I ask is not to modify every file by adding a licence header to it. Put all the necessary licence info in separate files in appropriate directories. Also don't wait and then send us one big patch, send us small patches that slowly make cinelerra compliant with ubuntu policies. The sooner you start sending them, the sooner patches will get reviewed and possibly accepted. If you would like to help out please stop by our IRC channel. #ubuntustudio I really don't have time to hang on irc... bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Make cinelerra work with swscaler enabled ffmpeg
On Sun, 2007-02-25 at 16:10 +0100, Alexis Ballier wrote: Hi, I've made two small patches to let cinelerra make use of swscale from ffmpeg when possible. This should fix bug #390. There are two patches : the core one, swscale_ffmpeg.patch that applies to cinelerra/ffmpeg.{C,h} and uses swscale api rather than the old img_convert one, that has been declared as deprecated by ffmpeg devs lately. This will allow cinelerra to use newest ffmpeg's versions with swscaler enabled, which seems to be the way ffmpeg is going. With this patch, cinelerra scales finely yuv4mpeg imported files ;) looks nice, but my question is is this enough? there are also calls from quicktime/*.c directly to ffmpeg... (i believe The other one, applies to configure.in and adds the needed checks : if swscale is enabled in ffmpeg, it will not be possible to link against img_convert, thus it defines HAVE_SWSCALER if (and only if) img_convert is not present. Those ugly checks are not needed with recent ffmpeg versions, it is sufficient to always enable swscale because even if it has been disabled at ffmpeg compile time, ffmpeg wraps swscale calls to the old img_convert api. But I think those checks are better for now rather than always enabling swscale with external ffmpeg because older ffmpeg versions might not wrap, or not correctly, swscale calls. yes, this is cool bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Status of GPL Headers
On Sat, 2007-02-24 at 23:38 +0100, Jeroen van de Nieuwenhof wrote: Hi there, I was wondering what te current status is of the intention to get Cinelerra in the Ubuntu repositories by checking all the licenses of each file? Well, have you done anything about it? Do you have a list of files that you checked and are alright and a list of files you found problematic so we can clear up the issues? Also i would like to comment that LGPL licenced code is no problem for Ubuntu. I found out today that the core of the Gstreamer framework is also LGPL. no shit, Sherlock! :) bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] first posting
On Sat, 2007-02-24 at 18:02 -0500, Fred Williams wrote: Hello everybody, I am running ubuntu, the Edgy Eft version 6.10, and this is my first posting to the group. I have tried a couple of times to get Cinelerra up and running on my new core 2 duo processor with 2 Gigs of memory. My latest attempt involved getting the .deb package and trying to install it with a debian package installer which completes without complaining and tells me that cinelerra is installed, but when I try to run it, I get, cinelerra: error while loading shared libraries: libmjpegutils-1.8.so.0: cannot open shared object file: No such file or directory well check in /usr/lib/ what kind of mjpegutils you have and link them if necessarily.. or just apt-get them are you sure you installed proper version of cinelerra for edgy eft? I just upgraded to Edgy because I believed that it was necessary for the installation of Cinelerra, and now it doesn't work. It's very frustrating My scanner no longer works either. well, i can assure you cinelerra has nothing to do with your scanner you sure you added the right repo? deb http://giss.tv/~vale/ubuntu32 ./ bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
[CinCVS] summer of code
... what do you think if this year we somehow try to get involved in Summer of Code ? http://trends.newsforge.com/article.pl?sid=07/02/22/160212from=rss bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] file formats question
On Sun, 2007-02-18 at 13:02 -0600, Tom Poe wrote: I am using FC5 and want to load .avi file for editing. It appears that's not possible. it depends on what you have inside avi...? and which tool you use for creating it. I have begun to explore how to create .mov file from .png images, and have successfully created an .avi movie using .png images and .ogg sound file. My next step is to convert to a .mov file, and it looks like I can create a .mpeg4 file. Does Cinelerra load .mpeg4 files? i don't know bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
[CinCVS] quicktime memory overflow
zero length allocation in stsz.c and the writing over first four bytes... the calculation was wrong for first 'sample' corrected. stsc.c had very similar code, so i applied the same fix to it too, even maybe it does not need it, but it cannot hurt --This line, and those below, will be ignored-- i noticed this while encoding mp3s inside .mov while observing it with valgrind bye andraz --- hvirtual-svn/quicktime/stsz.c 2006-10-12 12:07:46.0 +0200 +++ hvirtual-2.1/quicktime/stsz.c 2007-02-18 21:44:13.0 +0100 @@ -142,7 +142,7 @@ { if(sample = stsz-entries_allocated) { - stsz-entries_allocated = sample * 2; + stsz-entries_allocated = (sample + 1) * 2; //printf(quicktime_update_stsz 1 %d %d\n, sample, sample_size); stsz-table = (quicktime_stsz_table_t *)realloc(stsz-table, sizeof(quicktime_stsz_table_t) * stsz-entries_allocated); --- hvirtual-svn/quicktime/stsc.c 2006-10-12 12:07:46.0 +0200 +++ hvirtual-2.1/quicktime/stsc.c 2007-02-18 21:45:28.0 +0100 @@ -123,7 +123,7 @@ if(chunk stsc-entries_allocated) { - stsc-entries_allocated = chunk * 2; + stsc-entries_allocated = (chunk + 1) * 2; stsc-table =(quicktime_stsc_table_t*)realloc(stsc-table, sizeof(quicktime_stsc_table_t) * stsc-entries_allocated); }
[CinCVS] mp3 export bitrate setting
fix mp3 bitrate setting... oneliner ... --- hvirtual-svn/cinelerra/filempeg.C 2007-02-09 13:29:11.0 +0100 +++ hvirtual-2.1/cinelerra/filempeg.C 2007-02-18 22:28:43.0 +0100 @@ -452,7 +452,7 @@ if(asset-ampeg_derivative == 3) { lame_global = lame_init(); - lame_set_brate(lame_global, asset-ampeg_bitrate / 1000); + lame_set_brate(lame_global, asset-ampeg_bitrate); lame_set_quality(lame_global, 0); lame_set_in_samplerate(lame_global, asset-sample_rate);
Re: [CinCVS] Support for a fast decoding lossless codec ?
On Sun, 2007-02-18 at 22:48 +0100, toby wrote: Hi, how about adding input support for a fast decoding lossless codec ? Since ffmpeg is already used for some other codecs, I would love to see support for one of the lossless codecs contained in ffmpeg/lavc. MPNG would be very high quality with 24-bit colorspace support, but it's not the fastest one in terms of decoding speed, which would imply additional resources for decoding during editing. After playing around with all lossless or nearly lossless codecs, FFV1 seems to be pretty fast. Restricting it to a target colorspace of YV12 can speed up things,too. Is there any faster decoding lossless codec out there ? The ffmpeg wavelet based SNOW codec looks promising, too. But it's still experimental. What do other people on this list think about lossless codec support in cinelerra ? I'm talking about source footage, and not export ... great idea, does your message mean that you are willing to implement it? huffyuv is also on the wishlist... bye andarz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Patch for faad 2.5 compatibility
This is very good, but in order to include it into cinelerra main svn, the difference between old/new one should be ifdefed, so it can be switched depending on the build environment b ye andaz On Wed, 2007-02-14 at 11:01 +0200, Mikko Huhtala wrote: The FreshRPMS-packaged Cinelerra contains the following patch to make Cinelerra use the new function names in the faad 2.5 library (NeAACDec* instead of faacDec*). Stock faad 2.5 still contains the old names for compatibility, but they have been removed from the FreshRPMS faad2 package and as I understand the old function names are deprecated. I have successfully applied the patch against revision 998. The patch was written by Matthias Saou matthias rpmforge net, the maintainer of the Cinelerra rpm. Mikko --- diff -Naupr cinelerra-2.1.orig/quicktime/ffmpeg/libavcodec/faad.c cinelerra-2.1/quicktime/ffmpeg/libavcodec/faad.c --- cinelerra-2.1.orig/quicktime/ffmpeg/libavcodec/faad.c 2005-09-28 20:39:56.0 +0200 +++ cinelerra-2.1/quicktime/ffmpeg/libavcodec/faad.c 2007-01-09 14:46:42.0 +0100 @@ -54,42 +54,42 @@ typedef struct { int flags; /* faad calls */ -faacDecHandle FAADAPI (*faacDecOpen)(void); -faacDecConfigurationPtr FAADAPI (*faacDecGetCurrentConfiguration)(faacDecHandle hDecoder); +NeAACDecHandle FAADAPI (*NeAACDecOpen)(void); +NeAACDecConfigurationPtr FAADAPI (*NeAACDecGetCurrentConfiguration)(NeAACDecHandle hDecoder); #ifndef FAAD2_VERSION - int FAADAPI (*faacDecSetConfiguration)(faacDecHandle hDecoder, - faacDecConfigurationPtr config); - int FAADAPI (*faacDecInit)(faacDecHandle hDecoder, + int FAADAPI (*NeAACDecSetConfiguration)(NeAACDecHandle hDecoder, + NeAACDecConfigurationPtr config); + int FAADAPI (*NeAACDecInit)(NeAACDecHandle hDecoder, unsigned char *buffer, unsigned long *samplerate, unsigned long *channels); - int FAADAPI (*faacDecInit2)(faacDecHandle hDecoder, unsigned char *pBuffer, + int FAADAPI (*NeAACDecInit2)(NeAACDecHandle hDecoder, unsigned char *pBuffer, unsigned long SizeOfDecoderSpecificInfo, unsigned long *samplerate, unsigned long *channels); - int FAADAPI (*faacDecDecode)(faacDecHandle hDecoder, + int FAADAPI (*NeAACDecDecode)(NeAACDecHandle hDecoder, unsigned char *buffer, unsigned long *bytesconsumed, short *sample_buffer, unsigned long *samples); #else - unsigned char FAADAPI (*faacDecSetConfiguration)(faacDecHandle hDecoder, - faacDecConfigurationPtr config); - long FAADAPI (*faacDecInit)(faacDecHandle hDecoder, + unsigned char FAADAPI (*NeAACDecSetConfiguration)(NeAACDecHandle hDecoder, + NeAACDecConfigurationPtr config); + long FAADAPI (*NeAACDecInit)(NeAACDecHandle hDecoder, unsigned char *buffer, unsigned long buffer_size, unsigned long *samplerate, unsigned char *channels); - char FAADAPI (*faacDecInit2)(faacDecHandle hDecoder, unsigned char *pBuffer, + char FAADAPI (*NeAACDecInit2)(NeAACDecHandle hDecoder, unsigned char *pBuffer, unsigned long SizeOfDecoderSpecificInfo, unsigned long *samplerate, unsigned char *channels); - void *FAADAPI (*faacDecDecode)(faacDecHandle hDecoder, - faacDecFrameInfo *hInfo, + void *FAADAPI (*NeAACDecDecode)(NeAACDecHandle hDecoder, + NeAACDecFrameInfo *hInfo, unsigned char *buffer, unsigned long buffer_size); - char* FAADAPI (*faacDecGetErrorMessage)(unsigned char errcode); + char* FAADAPI (*NeAACDecGetErrorMessage)(unsigned char errcode); #endif -void FAADAPI (*faacDecClose)(faacDecHandle hDecoder); +void FAADAPI (*NeAACDecClose)(NeAACDecHandle hDecoder); } FAACContext; @@ -112,13 +112,13 @@ static int faac_init_mp4(AVCodecContext int r = 0; if (avctx-extradata) - r = s-faacDecInit2(s-faac_handle, (uint8_t*) avctx-extradata, + r = s-NeAACDecInit2(s-faac_handle, (uint8_t*) avctx-extradata, avctx-extradata_size, samplerate, channels); -// else r = s-faacDecInit(s-faac_handle ... ); +// else r =
Re: [CinCVS] Patch for faad 2.5 compatibility
On Wed, 2007-02-14 at 13:10 +0200, Mikko Huhtala wrote: Andra$,1!(B Tori writes: This is very good, but in order to include it into cinelerra main svn, the difference between old/new one should be ifdefed, so it can be switched depending on the build environment b ye andaz I could try to fix this. There already a macro named FAAD2_VERSION, which is used to select between faad versions 1 and 2. Is it ok to drop support for faad 1 or should I just add version 2.5 to the pile? i'd just add another one bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] New transition: Variation of ShapeWipe transition
yes we are interested in new plugins. ... what you should submit is the gzip of the directory and diff of changes to Makefile.am the code should be by cinelerra's standards, but i guess you just modified existing plugin, so that shouldn't be a problem. then you can send it to this list ... ah, you must also make sure it works correctly in all six colormodes. bye andraz On Fri, 2007-02-09 at 19:25 +, Carlos Azevedo wrote: Greetings, For a project of mine I needed a particular transition that Cinelerra didn't have: a ShapeFade. It's similar to ShapeWipe but instead of doing a hard cut between the two sources it does a selective fade between them, using the same masks. So I coded it. Now, I'm asking if the maintainers of this project are interested in this code. If so I need instructions on how and were to submit it. Thanks, Carlos A. R. Azevedo ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] mpeg decoding leak crush
As long as VIRT memory size does not go constantly up during some speical kind of use of cinelerra, there is no leak. slowly different caches will get filled in cinelerra during different uses, which will mean that memory consumption should go up, but not constantly and it should top at some number. if it does not top, then there is a leak. as long as you are not experiencing extreme swapping due to memory exhaustion, why are you bothered at all? bye andraz On Mon, 2007-02-12 at 22:27 -0500, Scott C. Frase wrote: Hannes, After a fresh reboot, I started Cinelerra and the system was using 500MB memory at that time. I then performed some operations within Cinelerra including rendering which used up to 1367MB of memory. I then exited Cinelerra and the system memory usage was 1139MB. During the experiment, I used no other programs..no browser, no mail, nothing. Just Cinelerra and Gnome window manager. So you are saying then is that the extra 639MB of memory was used by system resources that we triggered by Cinelerra and that the 639MB is not indicative of any memory leak within Cinelerra, correct? scott without using any other programs (other than rendering using Cinelerra On Mon, 2007-02-12 at 21:25 +0100, Johannes Sixt wrote: On Friday 09 February 2007 22:42, Scott C. Frase wrote: apply histogram and play 30s 1367MB quit cinelerra 1139MB That's good news. It means that cinelerra used only ~230MB. Everything else must be other applications or cached file data. -- Hannes ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Slow load of media thumbnails
if your photos are actually a sequence, you might want to create a list out of them and then importing a listfile into cinelerra bye andraz On Sun, 2007-02-11 at 05:47 +0100, Thanatermesis wrote: Im working in a project to has around 600 photos (1600x1200), cinelerra crash sometimes when im working on it, this is not a real problem since i save everytime, but cinelerra take's around 4-5 minutes in load the thumbnails on the Media directory (where the files of the project is). Is not posible to make cinelerra to remembers the thumbnails of the files ? Thanatermesis ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Slow load of media thumbnails
ah.. other option is disabling generation of thumbnails in preferences.. On Sun, 2007-02-11 at 12:29 +0100, Andraž Tori wrote: ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
[CinCVS] keyboard control in vwindow/cwindow
(re)enable navigation by up/down/left/right keys in Viewer and Composer windows... left/right is mapped to 1 second leapse, up/down to 10 second ... this nicelly compliments the numerical keypad keys for moving around content. bye andraz diff -ru --exclude-from exclude hvirtual-svn/cinelerra/cwindowgui.C hvirtual-2.1/cinelerra/cwindowgui.C --- hvirtual-svn/cinelerra/cwindowgui.C 2007-01-06 12:26:19.0 +0100 +++ hvirtual-2.1/cinelerra/cwindowgui.C 2007-02-11 12:56:08.0 +0100 @@ -724,6 +724,7 @@ this-mwindow = mwindow; this-cwindow = cwindow; set_precision(0.1); + set_pagination(1.0, 10.0); } CWindowSlider::~CWindowSlider() diff -ru --exclude-from exclude hvirtual-svn/cinelerra/vwindowgui.C hvirtual-2.1/cinelerra/vwindowgui.C --- hvirtual-svn/cinelerra/vwindowgui.C 2007-01-06 12:26:19.0 +0100 +++ hvirtual-2.1/cinelerra/vwindowgui.C 2007-02-11 12:56:11.0 +0100 @@ -675,6 +675,7 @@ this-vwindow = vwindow; this-gui = gui; set_precision(0.1); + set_pagination(1.0, 10.0); } VWindowSlider::~VWindowSlider() diff -ru --exclude-from exclude hvirtual-svn/guicast/bcslider.C hvirtual-2.1/guicast/bcslider.C --- hvirtual-svn/guicast/bcslider.C 2006-10-12 12:08:14.0 +0200 +++ hvirtual-2.1/guicast/bcslider.C 2007-02-11 12:52:43.0 +0100 @@ -206,11 +206,11 @@ switch(get_keypress()) { case UP: - increase_value(); + increase_value_big(); result = 1; break; case DOWN: - decrease_value(); + decrease_value_big(); result = 1; break; case LEFT: @@ -456,6 +456,22 @@ int BC_ISlider::decrease_value() { + value-=10; + if(value minvalue) value = minvalue; + button_pixel = value_to_pixel(); + return 0; +} + +int BC_ISlider::increase_value_big() +{ + value+=10; + if(value maxvalue) value = maxvalue; + button_pixel = value_to_pixel(); + return 0; +} + +int BC_ISlider::decrease_value_big() +{ value--; if(value minvalue) value = minvalue; button_pixel = value_to_pixel(); @@ -544,6 +560,8 @@ this-maxvalue = maxvalue; this-value = value; this-precision = 0.1; + this-small_change = 0.1; + this-big_change = 1.0; } int BC_FSlider::value_to_pixel() @@ -604,7 +622,7 @@ int BC_FSlider::increase_value() { - value += precision; + value += small_change; if(value maxvalue) value = maxvalue; button_pixel = value_to_pixel(); return 0; @@ -612,7 +630,23 @@ int BC_FSlider::decrease_value() { - value -= precision; + value -= small_change; + if(value minvalue) value = minvalue; + button_pixel = value_to_pixel(); + return 0; +} + +int BC_FSlider::increase_value_big() +{ + value += big_change; + if(value maxvalue) value = maxvalue; + button_pixel = value_to_pixel(); + return 0; +} + +int BC_FSlider::decrease_value_big() +{ + value -= big_change; if(value minvalue) value = minvalue; button_pixel = value_to_pixel(); return 0; @@ -678,6 +712,12 @@ this-precision = value; } +void BC_FSlider::set_pagination(float small_change, float big_change) +{ + this-small_change = small_change; + this-big_change = big_change; +} + BC_PercentageSlider::BC_PercentageSlider(int x, @@ -709,22 +749,3 @@ return caption; } -int BC_PercentageSlider::increase_value() -{ - value += precision; - if(value maxvalue) value = maxvalue; - button_pixel = value_to_pixel(); -//printf(BC_PercentageSlider::increase_value %f\n, value); - return 0; -} - -int BC_PercentageSlider::decrease_value() -{ - value -= precision; - if(value minvalue) value = minvalue; - button_pixel = value_to_pixel(); -//printf(BC_PercentageSlider::decrease_value %f\n, value); - return 0; -} - - diff -ru --exclude-from exclude hvirtual-svn/guicast/bcslider.h hvirtual-2.1/guicast/bcslider.h --- hvirtual-svn/guicast/bcslider.h 2006-10-12 12:08:15.0 +0200 +++ hvirtual-2.1/guicast/bcslider.h 2007-02-11 12:53:56.0 +0100 @@ -44,6 +44,8 @@ int deactivate(); virtual int increase_value() { return 0; }; virtual int decrease_value() { return 0; }; + virtual int increase_value_big() { return 0; }; + virtual int decrease_value_big() { return 0; }; virtual char* get_caption() { return caption; }; private: @@ -100,6 +102,8 @@ int64_t get_length(); int increase_value(); int decrease_value(); + int increase_value_big(); + int decrease_value_big(); virtual int handle_event(); virtual char* get_caption(); @@ -133,8 +137,11 @@ float get_length(); virtual int increase_value(); virtual int decrease_value(); + virtual int increase_value_big(); + virtual int decrease_value_big(); virtual char* get_caption(); void set_precision(float value); + void set_pagination(float small_change, float big_change); private: int value_to_pixel(); @@ -142,6 +149,7 @@ int update_selection(int cursor_x, int cursor_y); float minvalue, maxvalue, value; float precision; + float small_change, big_change; }; class BC_PercentageSlider : public BC_FSlider @@ -158,8 +166,6 @@ int use_caption = 0, VFrame **data = 0); - virtual
Re: [CinCVS] still pictures out of a video
a) you don't need to do freeze frame, just render only one frame to jpg b) you have plugin to do deinterlace... use it bye andraz On Sun, 2007-02-11 at 18:38 +0100, Raffaella Traniello wrote: Ciao Joe! I guess just try it and judge it for your needs :-) Well,... I tried to take a single frame out of my video (rendering a single frame, with freeze frame effect, with loop effect set on one frame only) but anyway I judge the quality of the picture much lower than the quality of the video (sharpness especially). Too low. I only suspect it being caused by interlace. So I'm going to have a desperate cry for half a minute and to grieve over the loss of stills in my poor video for the other half of the minute. Unless I'm missing something... Thanks and bye bye Raffella Is it clever to try to take a nice and sharp still picture out of an interlaced video? :-/ transcode has worked for me in the past what about the quality of your still pictures? I've used them to make animated thumbnail menus for dvds, and I was happy with the results. I didn't do any PSNR analysis on the original size, so I don't have any quantitative data for you. ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
[CinCVS] cinelerra patches
Few small leak fixes and one fix for wrongly creating new edits - instead of being vedit and aedit ... it was simple Edit The third patch is fix for wrong transitions being applyed - reuse of cached plugin servers was not done correctly. bye andraz diff -ru --exclude-from exclude hvirtual-svn/cinelerra/fileogg.C hvirtual-2.1/cinelerra/fileogg.C --- hvirtual-svn/cinelerra/fileogg.C 2006-10-12 23:17:43.0 +0200 +++ hvirtual-2.1/cinelerra/fileogg.C 2007-02-09 22:23:20.0 +0100 @@ -62,6 +62,10 @@ vorbis_info_clear(tf-vi); vorbis_comment_clear(tf-vc); } + if (tf-vpage) + free(tf-vpage); + if (tf-apage) + free(tf-apage); delete tf; } if (temp_frame) delete temp_frame; diff -ru --exclude-from exclude hvirtual-svn/cinelerra/packagerenderer.C hvirtual-2.1/cinelerra/packagerenderer.C --- hvirtual-svn/cinelerra/packagerenderer.C 2006-10-12 12:09:08.0 +0200 +++ hvirtual-2.1/cinelerra/packagerenderer.C 2007-02-09 22:20:24.0 +0100 @@ -77,6 +77,7 @@ delete audio_cache; delete video_cache; delete vconfig; + delete aconfig; } // PackageRenderer::initialize happens only once for every node when doing rendering session diff -ru --exclude-from exclude hvirtual-svn/cinelerra/trackcanvas.C hvirtual-2.1/cinelerra/trackcanvas.C --- hvirtual-svn/cinelerra/trackcanvas.C 2007-02-09 13:20:47.0 +0100 +++ hvirtual-2.1/cinelerra/trackcanvas.C 2007-02-09 22:19:09.0 +0100 @@ -2117,6 +2117,7 @@ auto_colors[i], auto_keyframe, autogrouptype); +delete dummy; } break; diff -ru --exclude-from exclude hvirtual-svn/cinelerra/tracksedit.C hvirtual-2.1/cinelerra/tracksedit.C --- hvirtual-svn/cinelerra/tracksedit.C 2007-02-10 12:52:58.0 +0100 +++ hvirtual-2.1/cinelerra/tracksedit.C 2007-02-10 12:50:26.0 +0100 @@ -280,7 +280,7 @@ Edit *dest_edit = dest_track-edits-shift(position_i, source_length); Edit *result = dest_track-edits-insert_before(dest_edit, - new Edit(edl, dest_track)); + dest_track-edits-create_edit()); result-copy_from(source_edit); result-startproject = position_i; result-length = source_length; @@ -316,7 +316,7 @@ // ONLY edit is moved, all other edits stay where they are { // Copy edit to temp, delete the edit, insert the edit - Edit *temp_edit = new Edit(edl, dest_track); + Edit *temp_edit = dest_track-edits-create_edit(); temp_edit-copy_from(source_edit); // we call the edits directly since we do not want to move keyframes or anything else source_track-edits-clear(source_startproject, @@ -328,7 +328,7 @@ position_i + source_length); Edit *dest_edit = dest_track-edits-shift(position_i, source_length); Edit *result = dest_track-edits-insert_before(dest_edit, - new Edit(edl, dest_track)); + dest_track-edits-create_edit()); result-copy_from(temp_edit); result-startproject = position_i; result-length = source_length; diff -ru --exclude-from exclude hvirtual-svn/cinelerra/module.C hvirtual-2.1/cinelerra/module.C --- hvirtual-svn/cinelerra/module.C 2006-10-12 12:09:08.0 +0200 +++ hvirtual-2.1/cinelerra/module.C 2007-02-10 12:13:25.0 +0100 @@ -237,13 +237,18 @@ // If the current transition differs from the previous transition, delete the // server. - if ((transition - transition_server - strcmp(transition-title, transition_server-plugin-title))) + if (transition + transition_server) { - transition_server-close_plugin(); - delete transition_server; - transition_server = 0; + if (strcmp(transition-title, transition_server-plugin-title)) + { + transition_server-close_plugin(); + delete transition_server; + transition_server = 0; + } else + { + transition_server-plugin = transition; + } } if(transition !transition_server)
[CinCVS] pluggin dragging
Two fixes for pluggin dragging one in tracksedit.C actually fixes a crush - pluginset editlist was not kept in correct state and it was behaving wrong anyway (on screen highlights were different than the true actions move_effect took..., i changed actions to match highlights) one in trackcanvas.C that makes sure that we have WYSIWYG in one of the cases ... unbelievably both fixes remove more code than they add bye andraz diff -ru --exclude-from exclude hvirtual-svn/cinelerra/trackcanvas.C hvirtual-2.1/cinelerra/trackcanvas.C --- hvirtual-svn/cinelerra/trackcanvas.C 2007-02-09 22:24:39.0 +0100 +++ hvirtual-2.1/cinelerra/trackcanvas.C 2007-02-10 17:08:49.0 +0100 @@ -377,18 +377,6 @@ mwindow-session-current_operation = NO_OPERATION; // Insert shared plugin in source -if(mwindow-session-track_highlighted != mwindow-session-drag_plugin-track - !mwindow-session-plugin_highlighted - !mwindow-session-pluginset_highlighted) -{ -// Move plugin if different startproject - mwindow-move_effect(mwindow-session-drag_plugin, - 0, - mwindow-session-track_highlighted, - 0); - result = 1; -} -else // Move source to different location if(mwindow-session-pluginset_highlighted) { diff -ru --exclude-from exclude hvirtual-svn/cinelerra/tracksedit.C hvirtual-2.1/cinelerra/tracksedit.C --- hvirtual-svn/cinelerra/tracksedit.C 2007-02-10 12:53:20.0 +0100 +++ hvirtual-2.1/cinelerra/tracksedit.C 2007-02-10 17:11:30.0 +0100 @@ -370,27 +370,8 @@ else // Create a new plugin set { - double length = 0; - double start = 0; - if(edl-local_session-get_selectionend() - edl-local_session-get_selectionstart()) - { - start = edl-local_session-get_selectionstart(); - length = edl-local_session-get_selectionend() - -start; - } - else - if(dest_track-get_length() 0) - { - start = 0; - length = dest_track-get_length(); - } - else - { - start = 0; - length = dest_track-from_units(plugin-length); - } - + double start = dest_track-from_units(dest_position); + double length = dest_track-from_units(plugin-length); result = dest_track-insert_effect(, plugin-shared_location, @@ -399,8 +380,8 @@ start, length, plugin-plugin_type); - } + } result-copy_from(plugin);
Re: [CinCVS] compiling from cvs failed
really delete cinelerra from system and install it again you have remains of old libraries lying around bye andraz On Sat, 2007-02-10 at 13:31 -0500, patrick wrote: hey guys, after compiling from svn (following this documentation: http://cvs.cinelerra.org/docs/cinelerra_cv_manual_en.html) - having all the libs (found everything). i have this error when starting cinelerra: cinelerra: undefined symbol: _ZN5MutexC1EPci pat ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] keyboard question
you can't. key bindings are hardcoded inside the sourcecode and splashed all over it. OTOH if you want to take it up as a coding project, it would be really cool to have configurable keybindings. However this really is quite some work. bye andraz On Sun, 2007-02-11 at 02:23 +0100, el_jay wrote: i just had a question.. how would i go about to create a costum keyboard setting? ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] mpeg decoding leak crush
please try out new builds so we will know if this fixes your problems or not... report back please. bye andraz On Fri, 2007-02-09 at 15:00 +, [EMAIL PROTECTED] wrote: Andraz, As I have been suffering from the consequences of mpeg decoding leak, I am very excited to test this when I get home this afternoon. Thanks! One question: what is a crush? scott -- Original message -- From: Andraž Tori [EMAIL PROTECTED] This is a fix for obvious leak when reopening mpeg from index files. Previous fd was not released in all cases. Now it is. This leak also caused crushes due to memory exaustion and creating extreme number of waiting threads eventually... The way it crushed is not completely obvious to me, but now the crush is gone. Opening mpeg files that have index is still awfully inefficient, since every file that already has TOC created is opened twice - first time just to read the number of video streams present. This could be done better... bye andraz email message attachment Forwarded Message From: Andraž Tori [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Cc: cinelerra@skolelinux.no cinelerra@skolelinux.no Subject: [CinCVS] mpeg decoding leak crush Date: Fri, 9 Feb 2007 12:44:02 + ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] mpeg decoding leak crush
I don't know wat exactly you want to tell me... btw: total memory used in top is wrong metric by any means. you should just be looking at VIRT and RES columns for each application, cinelerra in this case... if virt number goes up to a gig or more and keeps going up, then something is wrong, if not, cinelerra is working ok... yes, it needs quite some memory bye andraz On Fri, 2007-02-09 at 16:42 -0500, Scott C. Frase wrote: Hi Andraz, I compiled v989. I did a warm reboot of the box for a fresh start. My computer configuration specs are here: http://content.serveftp.net/video/qtcompatibility.ods.html I am using my project that I had described in my audio sync problem post. It has one 720P HDV (MPEGTS) video track with two stereo audio tracks (one wav/one mp2) at 48kHz. You can refer to my previous post for the exact details of the project format stats. I monitored top while I performed a few operations in Cinelerra. I only used Cinelerra during the test interval: operation mem used before starting cinelerra 297MB after starting cinelerra500MB open project605MB play first 30s of vid 681MB click and play diff 10s of vid 742MB click and play diff 10s of vid 756MB click and play diff 20s of vid 800MB click and play last minute 915MB select all in timeline 918MB rendered audio as WAV 1036MB click and play diff 30s of vid 1113MB click and play diff 30s of vid 1165MB render video using ffmpeg (cancel after five minutes)1342MB apply histogram and play 30s 1367MB quit cinelerra 1139MB * 1139MB still used after quitting cinelerra Here is the top output after quitting cinelerra: Tasks: 117 total, 1 running, 116 sleeping, 0 stopped, 0 zombie Cpu(s): 1.5% us, 1.0% sy, 0.0% ni, 96.8% id, 0.0% wa, 0.3% hi, 0.3Mem: 2070884k total, 1143208k used, 927676k free,18604k buffersSwap:0k total,0k used,0k free, 978248k cached PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 2695 root 15 0 42668 17m 8684 S 1.7 0.8 0:04.27 gnome-termi 2588 root 14 -1 67572 26m 8304 S 1.3 1.3 1:18.39 X oops..just realized swap not enabled on reboot. I will fix that. if you need a test MPEGTS file from my cam to work with, here's one: http://content.serveftp.net/video/jvchd10u_output.m2t 27MB scott After starting Cinelerra, my used memory read 590K. As I clicked in the timeline and played back (about four times), the memory used grew to about 720K. I then selected the entire track and hit shift-R to render. My memory usage shot up to about 1.8MB. I rendered the audio to wav. After rendering the wav audio, On Fri, 2007-02-09 at 22:00 +0100, Andraž Tori wrote: please try out new builds so we will know if this fixes your problems or not... report back please. bye andraz On Fri, 2007-02-09 at 15:00 +, [EMAIL PROTECTED] wrote: Andraz, As I have been suffering from the consequences of mpeg decoding leak, I am very excited to test this when I get home this afternoon. Thanks! One question: what is a crush? scott -- Original message -- From: Andraž Tori [EMAIL PROTECTED] This is a fix for obvious leak when reopening mpeg from index files. Previous fd was not released in all cases. Now it is. This leak also caused crushes due to memory exaustion and creating extreme number of waiting threads eventually... The way it crushed is not completely obvious to me, but now the crush is gone. Opening mpeg files that have index is still awfully inefficient, since every file that already has TOC created is opened twice - first time just to read the number of video streams present. This could be done better... bye andraz email message attachment Forwarded Message From: Andraž Tori [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Cc: cinelerra@skolelinux.no cinelerra@skolelinux.no Subject: [CinCVS] mpeg decoding leak crush Date: Fri, 9 Feb 2007 12:44:02 + ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] constant hangs on HDV project
i suspect there is some kind of a race where circular reference is created in cachebase.C and in function get_oldest it runs around till some other thread does something to the structure... i'd put a simple loop catching algorithm there and see if it catches an 'endless' loop bye andraz On Tue, 2007-02-06 at 20:28 -0500, Scott C. Frase wrote: Hannes, Well, this was instructive. I was grabbing and moving the wav file around quite a bit, perhaps 10 times. I replicated the hang. In order to find the hanging thread, I started gdb (gdb cinelerra 5647). I found the offending thread: Thread 65 (Thread -1520473168 (LWP 5674)): #0 0x0813fceb in CacheBase::get_oldest (this=0x8c04068) at cachebase.C:106 #1 0x081f00bb in MWindow::age_caches (this=0xbfc5a288) at mwindow.C:1569 #2 0x081f5e7b in MWindow::move_edits (this=0xbfc5a288, edits=0x8539b70, track=0x920f238, position=49.7249583, behaviour=1) at mwindowedit.C:830 #3 0x08289ed6 in TrackCanvas::drag_stop (this=0xa9e1e7e0) at trackcanvas.C:575 #4 0x0828a13d in TrackCanvas::drag_stop_event (this=0xa9e1e7e0) at trackcanvas.C:325 #5 0xb7b73029 in BC_WindowBase::dispatch_drag_stop (this=0xa9e1e7e0) at bcwindowbase.C:1316 #6 0xb7b7300e in BC_WindowBase::dispatch_drag_stop (this=0x8c44da0) at bcwindowbase.C:1311 #7 0xb7b73122 in BC_WindowBase::dispatch_button_release (this=0x8c44da0) at bcwindowbase.C:1162 #8 0xb7b778b1 in BC_WindowBase::dispatch_event (this=0x8c44da0) at bcwindowbase.C:787 #9 0xb7b78739 in BC_WindowBase::run_window (this=0x8c44da0) at bcwindowbase.C:614 #10 0xb7b88bb8 in Thread::entrypoint (parameters=0xbfc5a288) at thread.C:48 #11 0x00da0b80 in start_thread () from /lib/libpthread.so.0 #12 0x00c11dee in clone () from /lib/libc.so.6 I then exited gdb and found that the process hang was still occurring. So I started up kdbg (kdbg -p 5647 /usr/local/bin/cinelerra) and selected View - Threads. I then used an alternating combination of F8 and F10 to step in and out of the code. I found that kdbg hung at this line of code: MWindow.C:1561. It took a while, maybe five minutes for kdbg to free up. After the release, I continued for a bit, stepping in and out of the code, but since kdbg did exactly what you said it would do, I gave up and thought to report my results back to you. This is the snippet of hvirtual/cinelerra/mwindow.C code starting at line 1561: if(memory_usage preferences-cache_size) { int target = 1; int oldest1 = audio_cache-get_oldest(); int oldest2 = video_cache-get_oldest(); if(oldest2 oldest1) target = 2; int oldest3 = frame_cache-get_oldest(); if(oldest3 oldest1 oldest3 oldest2) target = 3; int oldest4 = wave_cache-get_oldest(); if(oldest4 oldest3 oldest4 oldest2 oldest4 oldest1) target = 4; switch(target) { case 1: audio_cache-delete_oldest(); break; case 2: video_cache-delete_oldest(); break; case 3: frame_cache-delete_oldest(); break; case 4: wave_cache-delete_oldest(); break; } } I'm no big C programmer, but inferring from the if statement, it looks like I only go into this control structure if cin's memory usage is greater than the value stated in Preferences - Cache Size. I have it set to the default value of 10MB. Is this a code bug or do I just need to set the Cache Size to something larger than 10MB? Did I do good? scott On Tue, 2007-02-06 at 21:06 +0100, Johannes Sixt wrote: On Tuesday 06 February 2007 02:29, Scott C. Frase wrote: Thread 10 (Thread 2047089584 (LWP 6752)): #0 0x082a634c in WaveCacheItem::get_size (this=0x981d220) at wavecache.C:18 #1 0x0813fded in CacheBase::get_memory_usage (this=0x8c04068) at cachebase.C:152 #2 0x081eff7b in MWindow::age_caches (this=0xbfc5a288) at mwindow.C:1559 #3 0x081f08d3 in MWindow::update_project (this=0xbfc5a288, load_mode=3) at mwindow.C:1852 #4 0x081f301c in MWindow::load_filenames (this=0xbfc5a288, filenames=0x7a0413e8, load_mode=3, update_filename=0, reel_name=0x82eb360 none, reel_number=-1, overwrite_reel=0) at mwindow.C:1133 #5 0x081c8276 in LoadFileThread::run (this=0x8c68020) at loadfile.C:149 #6 0xb7b88bb8 in Thread::entrypoint (parameters=0x8c68020) at thread.C:48 #7 0x00da0b80 in start_thread () from /lib/libpthread.so.0 #8 0x00c11dee in clone () from /lib/libc.so.6 This is the interesting piece. Your last post also showed that a thread was working in MWindow::age_caches(). Next time, you have a hang can you please go to this thread and see which
Re: [CinCVS] gpl headers
On Fri, 2007-02-02 at 10:01 +0100, Jeroen van de Nieuwenhof wrote: muzzol schreef: So how will it be possible then to find out what license a file has? theorically you must watch it one by one. practically this is impossible, at least for one person. how many files contains the cinelerra source package? I found already one file that is LGPL: ladspa.h in /cinelerra. great, this is progress! Mark it as such ... And what about the fonts (like arial)? as far as i can guess they are from MS core fonts package. they are definitely not under licence that would be DFSG compatible, so they should probably be excluded from main debian/ubuntu version. which directly means crippling cinlerra from titling capabilities in those versions. bye andraž ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] gpl headers
On Fri, 2007-02-02 at 11:57 +0100, muzzol wrote: Or maybe you can make it possible for people to install them manually or let Cin use the fonts installed on the system. If someone has msttcorefonts installed, he/she can use them in cin. that sounds great. what are the default paths that cinelerra search for fonts? is that configurable? /usr/lib/cinlerra/fonts no, it is not configurable... bye andraž -- ^ ^ O O (_ _) muzzol(a)gmail.com jabber id: muzzol(a)jabber.dk No atribueixis qualitats humanes als ordinadors. No els hi agrada. El gobierno español sólo habla con terroristas, homosexuales y catalanes, a ver cuando se decide a hablar con gente normal Jiménez Losantos echelon spamming bomb terrorism bush aznar teletubbies /echelon spamming )ޕjf)+- )ޕj(bgmx)鮉ff(bgbا~܊wz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Heroine Statue Movie ?
On Wed, 2007-01-31 at 16:48 +, Tom wrote: Hi, How to make a movie like the HEROINE STATUE (on http://heroines.sourceforge.net/movies.php3), a slideshow with a kind of KenBurns effect ? Is Tracking Motion involved here ? If yes does anyone know where I could find a tutorial to realize such thing ? Ideally with resources to try. I'm not sure to understand doc about TM feature. all you need is camera and projector automation, look into wiki under that topic. it is very simple to do bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Cinelerra flash and video training demos?
On Sun, 2007-01-28 at 10:37 +0100, Terje J. Hanssen wrote: Recognizing that flash demos and video training have become usual and useful not at least for work with video editing systems, I wonder: yes. they indeed are useful. Are there already available or planned something like this for Cinelerra? no Are the required tools and documented use to make them available? probably Wouldn't it be cool if flash demos could be linked into the wiki and manual? Larger video files could be downloaded and possibly collected on a training or live DVD. Just some thoughts. you volunteering? Terje J. Hanssen ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] (no subject)
On Thu, 2007-01-25 at 20:11 +0100, [EMAIL PROTECTED] wrote: Dear Cinelerra Crew, it is very important (for us): How important? Source material is S-VHS-C and normal VHS-C So we would be very happy to have a plugin for Line Timebase Correction to get rid of Timbase-Errors on videotapes. and what exacly is that? Cinelerra is wonderful! yes..., we know :) bye andraz Yours Sincerely Daniel Moskowicz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Multi-camera split-screen
On Thu, 2007-01-11 at 19:20 +, Gordan Bobic wrote: Hi, I'm looking for a video editing tool that can do this, and it seems to be a feature that is either missing in all the tools I've looked at so far (including some pretty major commercial ones), or is so difficult/obscure to achieve that I've failed to find any reference to it in any documentation I have found. Can Cinerella be used to achieve this? Here's what I'm after in a bit more detail. I have a quad multiplexer that puts 4 camera inputs into a PAL stream. I then use something like mplayer/mencoder to split this up into 4 separate quarter PAL videos. What I would like to be able to do then is have parts of the final directed sequence be in split-screen mode, with two or even three videos showing at the same time (i.e. 2-3 sectors on the screen), with some arbitrary cut between them. For example in the case of a 2-way split, I'd like to have the screen cut in two, diagonally, from bottom left to top right, with one video showing in the top/left sector and one video showing in the bottom/right sector. I would also like to arbitrarily resize/move the video in each sector so as to best show the relevant part of the picture. How would I go about achieving this in Cinerella? multiple video tracks, projector and camera automation and masks... check the manual about these topics. bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] muzzol... any news on edgy?
CAN YOU PLEASE STOP SENDING EVERY MAIL 15 TIMES!!! On Wed, 2007-01-10 at 12:48 +0100, Kurt Georg Hooss wrote: well... according to synaptic, i have libfaad2-0 version 2.5-0.1 installed, so is there another one i should use instead? if so, what can i do to get it? second, i have also wondered why i get my posts back so many times even when i sent them only once... so i sent a test mail to myself, and i got it back only once. strange isn't it? something must happen on the way... thanks georg On Tuesday, 9. January 2007 12:45, Valentina Messeri wrote: Kurt Georg Hooss [EMAIL PROTECTED] ha escrito: thanks vale, i could install yours without problems. however it does not start :-( instead i get the following: [EMAIL PROTECTED]:~$ cinelerra cinelerra: symbol lookup error: /usr/lib/libquicktimehv-1.6.0.so.1: undefined symbol: faacDecOpen [EMAIL PROTECTED]:~$ this a knonw errormwrong version of libfaad btw, when you post to the list, you post 10 mails :))) enjoy da day Vale On Saturday, 6. January 2007 01:42, Valentina Messeri wrote: Quoting Kurt Georg Hooss [EMAIL PROTECTED]: i made some provisionally ubuntu package without marillat stuff deb http://labbs.net/~vale/ubuntu ./ waiting for muzzol appears ciao vale -- dr.k.g.hooss schoepfung wandel wissenschaftliche medienberatung breite strasse 6-8, d-23617 luebeck www.schoepfung-und-wandel.de ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra encosianima.net This message was sent using IMP, the Internet Messaging Program. ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] multiple postings
stop using the mail program and the smtp server you are using (or go through debugging process, but not on this mailng list...) I suggest using gmail or hotmail account and there will be no more troubles for or from you. bye andraz On Wed, 2007-01-10 at 14:27 +0100, Kurt Georg Hooss wrote: On Wednesday, 10. January 2007 14:06, Andraž Tori wrote: CAN YOU PLEASE STOP SENDING EVERY MAIL 15 TIMES!!! sorry i can not, otherwise i would! andraz please don't shout at me. i got yours twice, by the way. i sent them only once and got back many copies through the list. i really don't know why and i don't think i can change it. as i wrote, when i test-mailed to myself i got it back only once, very correctly. so obviously it's not my fault. :-/ georg ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] multiple postings
On Thu, 2007-01-11 at 08:07 +0900, Timothy White wrote: Next time something like this happens, please have some patience, and kindly ask the user to look into the problem, and if you have 10 minutes spare time, offer that to help the user fix it. You never know, that user you scared off with a harsh word, may just have had the best fix for a long term problem, and they keep it to themselves because you scared them off. Thanks for advice. I actually checked that it is his SMTP server's guilt before posting the message... Well if he is a venture capitalist looking for way to sink funds in free video software, he should say so before sending the same message 15 times ... You actually never know all the consequences of your actions. And it is impossible to discover them. Tough life it is. btw: i still much prefer seeing patches than good advices, but maybe that's just me. bye andraz Tim On 1/10/07, Andraž Tori [EMAIL PROTECTED] wrote: stop using the mail program and the smtp server you are using (or go through debugging process, but not on this mailng list...) I suggest using gmail or hotmail account and there will be no more troubles for or from you. bye andraz On Wed, 2007-01-10 at 14:27 +0100, Kurt Georg Hooss wrote: On Wednesday, 10. January 2007 14:06, Andraž Tori wrote: CAN YOU PLEASE STOP SENDING EVERY MAIL 15 TIMES!!! sorry i can not, otherwise i would! andraz please don't shout at me. i got yours twice, by the way. i sent them only once and got back many copies through the list. i really don't know why and i don't think i can change it. as i wrote, when i test-mailed to myself i got it back only once, very correctly. so obviously it's not my fault. :-/ georg ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Thanks! [motion tracking is very cool...]
On Sun, 2007-01-07 at 03:26 +0900, Miha Kitič wrote: I spent a lot of time this summer making render farm work... It did, but I figured out (someone correct me if I am wrong) that unless you are doing a huge production (hours of video a piece), you would be better off just to render clip no.1 on machine no.2 while editing clip no.2 on machine no. 1. ;) In my case the rendering (with farm) and then putting pices together took more time than the method explained above... ... Well not if you are doing Theora/Vorbis... theora is the only video codec that has automatic stiching... no need to put files together afterwards. bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Annoyance: changing media type changes file name
On Thu, 2006-12-21 at 22:48 +0100, Johannes Sixt wrote: In the Render dialogs the media type (.mov, .avi, RAW DV etc) can of course be changed. Cinelerra CV remembers a different file name for each media format. I find it most annoying that changing the media type also switches the file name, in particular, because when you work through the dialog top to bottom, the first thing to choose is the file name, then comes the media - but when you change it, it kills the file name that you have just selected. I'd like to kill the feature. Nate? You've added this 2 years ago. Has someone else been annoyed by this behavior? Has someone found this feature extremely useful? It would be extremely useful if just the extension would change, but not the full filename. bye andraž ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Manitoba Media Centre
Great david! Nice to se LMA doing well... bye andraz On Wed, 2006-12-20 at 09:29 -0800, david wrote: Linux Media Arts has announced the opening of a $20 Million Dollar Open Source Media Research Centre in Winnipeg, Manitoba, Canada. The Manitoba Media Centre was announced at a ceremony and reception at the Kodak Theatre in Hollywood, California by the Honourable Premeire of Manitoba, Mr. Gary Doer on December 15th, 2006. In attendance were numerous engineering executives from the post-production industries, as well as representatives from Linux Media Arts, the Manitoba Media Centre, and the Province of Manitoba. Mr. Adam Williams of Heroine Warrior and Cinelerrra fame was in attendance and presented to the audience, as well. Please refer to the press release for more information. Sincerely, Dave David Reidy Communications and Media Director [EMAIL PROTECTED] Linux Media Arts, Inc. Office - 800.341.5546 - This email (including attachments) is intended solely for the use of the individual to whom it is addressed and may contain information that is privileged, confidential or otherwise exempt from disclosure under applicable law. If you are not the intended recipient, please do not read, copy or re-transmit this communication. If you have received this message in error, please contact the sender immediately by return email and delete the original message and any attachments from your system. Thank you in advance for your cooperation and assistance. Linux Media Arts, Inc. - 2006 Reno, Nevada --- ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Concerning error message on compile
Maybe you could find a number that works on your system and is not too low..? btw: are you absolutely sure that this exact command caused the problem... is it reproducable? bye andraž On Sun, 2006-12-17 at 19:47 -0500, [EMAIL PROTECTED] wrote: Following a compile of Cinelerra-CVS from source, I recieved an error message saying: void MWindow::init_shm():WARNING: /proc/sys/kernel/shmmax is 0x20, which is too low. Before running Cinelerra do the following as root: echo 0x7 fff /proc/sys/kernel/shmmax Following these instructions, I found that I could not restart x.org and received an error message saying as such. In other words, x.org functioned fine until I attempted to log out. A reboot corrected it. Since this is an advisory error message that gives bad advice, please correct it soon. Animortis ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Can't copy text from error dialog window?
You are talking about custom built guicast gui toolkit library. every single piece of functionality has to be coded by someone. the question should be asked differently: why hasn't anyone coded that piece of functionality? well... follow the money. or something. bye andraz On Thu, 2006-12-14 at 20:25 +, Grant Edwards wrote: Why on earth would anybody design an error dialog window so that you can't copy/paste text from the error message? Are the error messages secret and proprietary? ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] bug in mask editing
program recieved SIGPIPE, broken pipe. this is really strange. Because cinelerra does not use pipes much, maybe you can change driver from x11-xv to x11 or vice versa... bye andraz On Wed, 2006-12-13 at 11:56 +0700, IL'dar AKHmetgaleev wrote: На Tue, 12 Dec 2006 22:41:26 +0100 Johannes Sixt [EMAIL PROTECTED] записано: On Tuesday 12 December 2006 18:01, IL'dar AKHmetgaleev wrote: when I undo a vector mask editing cinelerra goes down Even when no video footage loaded in project I cannot reproduce this. Please fire up cinelerra in gdb and post the result of 'thread apply all bt' -- Hannes Here is gdb output (see attaches) ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] bug in mask editing
i can't reproduce this... you will have to use gdb and at least try to report which thread in which function crushes... if you can compile it with debug symbols , then even better i currently don't have time for this, even if it is analyzed, so maybe someone else can fix this bye andraz On Wed, 2006-12-13 at 00:01 +0700, IL'dar AKHmetgaleev wrote: when I undo a vector mask editing cinelerra goes down Even when no video footage loaded in project It is critical for me. I need to do some compose till next week. ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Rendering hangs/crashes for multitrack composition
try to run it through gdb ... we'll at least have an idea where it crashes... though by the look of things this is some kind of memory trashing... so it's going to be hard to track it down. if you are familar with gdb, it might help bye andraz On Mon, 2006-12-04 at 12:24 +0100, Toby wrote: Hi, yesterday I worked on some DVD menus, where I placed 6 video tracks with DVD-MPEG2 footage (arrangement of animated previews) on top of an animated background. Except for some resource shortage there's no problem with playback, etc. But when it comes to rendering, it only worked sporadically for some of my compositions. Most of the time cinelerra hangs or crashes during rendering regardless which output format I chose. Looking at the projects that worked and the ones which didn't doesn't show any obvious difference. Exactly the same arrangements, where I just swaped all the source material. First, I thought the problem is related to a certain track or source footage, but disabling an arbitrary track helps most of the time. Now, is there a limit in video tracks that can be used for compositions in parallel ? (I'm talking about 2 full-size background tracks and 6 partial preview areas visible at the same time) Are there known problems with MPEG2 source footage ? Any other ideas ? Would it be worth analyzing the XML project files for some irregular stuff? By the way, I'm talking about the latest debian packages as well as an up-to-date SVN build as of 3/12/06. No matter whether utilizing OpenGL or not. Toby ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] use of internal quicktime code instead of external libquicktime
it is questionable if they provide the same level of functionality... if you can do the research, you are welcomed ... bye andraz On Wed, 2006-11-29 at 15:57 -0500, Dan Streetman wrote: I'm wondering, it seems that the internal quicktime code is quite a bit older than the external libquicktime project. Is there a reason why cinelerra is maintaining an internal quicktime codebase (still)? I realize cinelerra originally created the codebase, but wouldn't it be better to change to using the external library now? My point is, I can create a patch to use the external quicktime, unless there is some reason not to. ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] external dependencies ubuntu packages
On Mon, 2006-11-13 at 13:32 +0100, muzzol wrote: hi! im working on packages. i can see gandalf decided to repackage mjpegtools to create his packages. do you think is this necessary or can we stay with marillat's ones? if possible, use marillat. if you need any help, mail gandalf, he will probably help you b ye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Importing files recored with kino
can you create a small file, upload is somewhere and submit a bugreport? bye adnraz On Sat, 2006-11-11 at 12:59 +0100, Bernhard Frühmesser wrote: Andraž Tori wrote: two things. 1) use latest kino and latest svn cinelerra Yep, i do. 2) don't forget to have right extensions - .avi, .mov and .dv The extensions are automatically done by kino while recording. BF. On Fri, 2006-11-10 at 15:47 +0100, Bernhard Frühmesser wrote: Hello, I have recorded a movie from a miniDV camera using kino. But i can´t open / import the file in cinelerra. I then tested to record in kino with all format´s available (dv1, dv2, and raw dv) but none of these can be imported in cinelerra. Everytime when i try to load a file recorded with kino i get the dialog File format can not be recognized. Thanks for any hints/help. Cheers, BF. ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Importing files recored with kino
two things. 1) use latest kino and latest svn cinelerra 2) don't forget to have right extensions - .avi, .mov and .dv On Fri, 2006-11-10 at 15:47 +0100, Bernhard Frühmesser wrote: Hello, I have recorded a movie from a miniDV camera using kino. But i can´t open / import the file in cinelerra. I then tested to record in kino with all format´s available (dv1, dv2, and raw dv) but none of these can be imported in cinelerra. Everytime when i try to load a file recorded with kino i get the dialog File format can not be recognized. Thanks for any hints/help. Cheers, BF. ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] [Bug 360] New: consistent list of items in View Show Overlays
On Thu, 2006-11-09 at 19:14 +1030, Pierre Marc Dumuid wrote: Hey Andraz, Attached is a bit more work patch that makes it match now.. I'm wondering if some of the things I did are a non-standard way of doing things, so could you review the patch please? I haven't tried to compile this, but looking at the source: 1. using bitmasks using bitmasks has been largely avoided in cinelerra (i've seen it at one place only). Maybe it is not the wisest to start using it. 2. gettext... use gettextization please N_() around stuff that is not translated inplace and _() for all prints of translatable phrases... bye adnaz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] HDV workflow- to developers
On Wed, 2006-11-08 at 11:47 +0100, Marcin Kostur wrote: What would REALLY help would be selective background render zones, which one could apply to 10-15 frames around each cut/transition - the best would be to make it from some I-frame of clipA some I-frame of clip B ;-) It could make work with HDV really effective and would be a KILLER feature of cinelerra. well.. it always starts with just this one more feature and it would be perfect, it never is perfect. Cinelrra has many problems... bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] [Bug 360] New: consistent list of items in View Show Overlays
On Wed, 2006-11-08 at 23:27 +1030, Pierre Marc Dumuid wrote: I was having trouble making an attachment to bugzilla. I made a patch for this issue, but the ordering is kinda outa wack in the menu: Here is a patch that fixes the issue, but because of the way the overlay window is created, it can't easily be made to match the order of the menubar. Modifying the order of the menubar results in the numbers not being in order! Do people mind if we change the keyboard shortcuts so the numbering is in order? That's a bit nasty, couldn't we put a bit of extra more work and change the way overlay window works? and while we are at it: i think in overlay window, each checkbox should also have min and max range values there which should be editable... :) bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] ubuntu packaging
On Wed, 2006-11-08 at 18:18 +0100, muzzol wrote: bones! i want to mantain ubuntu packaging. YESS!! i have some experience compiling and im sure this is not really so hard once i put all pieces together. please point me to any docs that can help me. first we have to decide some points: - wich options we include in the package: OpenGL, etc I would like to see all your ./configure and find a reasonable standard configuration. from the viewpoint of mails on the list, opengl is not really generally useful, since bugs in drivers still haven't been dealt with universally... so opengl is the thing to worry after basic packages are being built. just compile with what you find in debian/rules currently... no science - parallel packaging: some packages distribute two (or more) variants with diferent specifications. for example apache/apache-ssl. maybe we can build cinelerra/cinelerra-opengl/cinelerra-cvs/cinelerra-mypuppyisgreen if you have time - where to host package: i know someone offered hosting but i can't remember now. pls, send me in private some account details to upload packages with ftp/scp. i did, you should get your account shortly - request for adding this package to official repos: if we can get a stable relase scheduling and people start using this packages we can consider send a request to debian/ubuntu teams to get cinelerra in their repos and gain popularity, users and world dominance. what might be more plausable is adding it to marillat repository, since it shares our values regarding what to include... when we have these points clear i'll start building/packaging. im sure there's a lot to discuss here so please, start. yes bye andraz wz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] [CINELERRA-CV MANUAL] Point of the situation
Don't you think discussions like this on the mailing list are primarily introducing noise? Not to mention that democracy is not what will bring the documentation forward - hard work will. And the one who does the major part of the work should have the say in how it is done. Pure and simple. Please try to get noise on this list down. bye andraz On Thu, 2006-11-02 at 19:48 +0100, Nicolas wrote: Hello, Here are the opinions about British English vs. American English: Kurt Georg Hooss: prefers British English Gour: has no preference Pierre Dumuid: prefers American English Stefan de Konink: prefers British English Mack Allison: prefers American English (doesn't he?) Julian Oliver: prefers British English Nicolas Maufrais: prefers British English - British English: 4 votes - American English: 2 votes - No preference: 1 votes So, we'll use British English for the documentation... unless more people give their opinion! Mack Allison wants to participate to the documentation. So, here is the list of people interested: - Nicolas Maufrais - gour - Mack Allison On Thu, Nov 02, 2006 at 09:08:51AM +0100, Gour wrote: Do we want to add more deps to Cinelerra build process or we can just ship produced pdf manual along with the html one from the doc branch? I am thinking that we won't immediately update manual with the every revision number, but, let's say, periodically when tagging some bigger release like e.g. 2.1-merge, quarterly...and therefore it is, imho, better to just have ready manual in doc/ which clearly states for which revision it is up to date. In such situation, there would not be need for adding additional dependencies. What do you think? IMO, we shouldn't ship pdf or html manuals with the source. Those manuals can be generated from the cinelerra.texi texinfo files, and the png images. Generating the manuals takes only a few seconds. IMO, the same principle than source distribution applies. I mean, does cinelerra-cv ships with binaries? It ships with sources, which can be compiled. We should use the same method for the documentation. We will upload the manual to the SVN official branch 1 time per month I think. On Thu, Nov 02, 2006 at 08:48:59PM +1030, Pierre Marc Dumuid wrote: I'd prefer to have a configure option configure --makedocumentation so dependencies depend on your configure arguments. That configure option is a good idea. We should use that. I could create one shell script to do all of these tasks. But I don't think that's the way to go. I assume make should handle the process. Can someone help me with that issue? That would avoid me to RTFM about makefiles, and I could concentrate my efforts on working on the manual's contents. This can be done with autoconf tools. Can you give me url where I can get manual's tarball? Here's the tarball: http://www.europephoto.com/info/cinelerra/200611/CV_Manual_20061102.tgz Instructions to generate the manual are in the README_MANUAL.txt file. Right now, I RTFM about the GPL licence, and how to make reference to it in the manual (precise rules apply). I ask Herman for an SVN account, in order to be able to upload the manual, 1 time per month approximately. Now, how can we work together on the manual? There're some possibilities: 1 - use SVN or git or another VCS 2 - set up a wiki, where people can edit the cinelerra.texi file directly (one chapter per page) 3 - set up a wiki, where people can edit the manual without formatting. I would regularly select the new parts added by people, and put them into the cinelerra.texi file. Solution 1 is the most rigorous. Solution 2 is fine but editing a texinfo file isn't as easy and beautiful than editing the manual in another form. Solution 3 is easy for people, but I (or someone else) will have to regularly update the cinelerra.texi file. That solution allows a better control over what's written in the texinfo file. I'd add typesetting commands, and correct possible texinfo errors. You can have a look at the cinelerra.texi file by downloading the .tgz (see URL below in this email). Do you think that's easy to edit? Do you prefer to edit a plain text page without formatting? Gour suggested on the ML to use DocBookWiki: http://doc-book.sourceforge.net/homepage/ However I'm not satisfied at all with the PDF manual quality it produces. And we use texinfo as Heroine Virtual Ltd does. I prefer solution 2. People can easily edit the manual, and me and other people who want to do it will select and format the contents into the cinelerra.texi file. However, if some of you think the texinfo file can easily be edited by *any* people (I mean people not really wishing to RTFM a bit about texinfo), we can edit the texinfo file directly. OK, that's a wiki. And there's already Alex's one. But its layout isn't appropriate for our need right now. We only need to edit 10 pages at
Re: [CinCVS] problems with recording
use kino and dvgrab for recording, _never_ cinelerra On Thu, 2006-11-02 at 12:39 -0200, [EMAIL PROTECTED] wrote: hi i've recently compiled cinelerra cv source code on a Celeron with 256MB RAM and a Pinnacle Studio DC10 capture board. I'm runing debian etch with recompiled 2.6.18 kernel. The program seems to be working just fine, but when i try to record from my camera (dv link) the record monitor just stops working. here's the output i get at this point when calling cinelerra from xterm AVC1394Control::initialize(): couldn't get handle RecordMonitorCanvas::RecordMonitorCanvas 1 0 0 295 500 what could it be? ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] [PATCH] Cinelerra paste and load with align cursor to frame will do paste so..
On Tue, 2006-10-31 at 19:35 +1030, Pierre Marc Dumuid wrote: 2. If I select from i1 to i4 and copy, then paste at i4, then it'll paste in V only up until i3. you may then say that when copy / pasting then something idfferent should be done.. may be this is an idea (i.e. if source is an xml file then past to ceil(maxlength_audio,maxlength_video)... Does this seem reasonable? actually no the only time autotrimming should come into play is when dragging _media_files_ from asset window (or in asset window rightclick+paste) or when loading _media_files_ directly into timeline. this way you have no problems with loading XMLs whatsoever. bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] ubuntu package maintainer
can you please prepare the ubuntu deb of the lastest svn version, i really need it fast- tell me where to find it. bye andraz On Sun, 2006-10-29 at 16:08 +0100, Bas Alphenaar wrote: I made a .deb some weeks ago and uploaded it somewhere but after that I didn't hear anything anymore from the person who offered me the FTP account. I still want to volunteer for this, I can compile for x386. If someone can help me hosting the packages or make a apt-get repository or whatever, I am willing to help. Jeroen van de Nieuwenhof wrote: There where some people who said they are willing to make debs and put them online. But they dn't repond to the ml anymore. Jeroen KenSentMe Wesley T Allen wrote: On Tuesday 24 October 2006 7:43 pm, Andraž Tori wrote: we really need ubuntu package maintainer. Andraz, I can barely make it compile and know nothing about compiling for other architectures - or I'd at least ATTEMPT it. I've also never created a .deb in my life. Didn't someone have some packages they were willing ot maintain a week or so ago? WEs bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra -- The only way to stay sane in an insane world is to be insane. --Me ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] [PATCH] Cinelerra paste and load with align cursor to frame will do paste so..
On Tue, 2006-10-31 at 18:06 +1030, Pierre Dumuid wrote: This is micromanagement. All you need is simple rule - if align cursor on track is set when putting assets to tracks, they are always 'rounded' to frame boundaries. yes but rounding to which frame boundaries? I have mpeg material that in units of video frames has 200 for video, and 209.3 for audio. do we round each to the closest frame, [200,209], the minimum of the two [200,200], the maximmum of the two [209,209]. I personally on loading an mpeg want it clipped to the minimum of the two. yes, i agree But when pasting a xml project, I'd want it pasted as the maximum to preserve the insertion of space! i don't quite get this. isn't this much more rare scenario in which you would simply turn off autotrimming and do what you want manually bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Loading mpeg2 eventually crashes cinelerra?
regarding the first problem... create a reproducable test case, upload videos, file a bug regarding the second, yes cinelerra is starting to need more and more memmory, memory upgrade will help regarding speed, but not stability bye adnraz On Sun, 2006-10-29 at 05:34 -0600, Andrew Leahy wrote: Hello, I've been using the latest CVS version of cinelerra on my FC5 system to clip together mpeg2 files for a DVD. My workflow consists of downloading DV files with Kino, converting the DV files to mpeg2 with ffmpeg, using gimp and ffmpeg to create some mpeg2 title clips, and then using cinelerra to merge them all together. However, dragging these mpeg2 files from the 'Media' clipboard to the timeline in Cinelerra is unstable. Eventually, after moving five or six clips, Cinelerra will either crash with a segmentation fault or simply hang. Is this a known problem? If so, are there any work-arounds? In particular, is there a better file format to work with when importing into Cinelerra? Also, a while back I used a 1.X version of Cinelerra to create mpeg2 videos and one problem I've noticed since I've downloaded and compiled the latest version of Cinelerra is that it is extremely sluggish and much more memory intensive. I have 500MB memory and I am well into swap whenever I do anything with Cinelerra. (I also don't have an OpenGL 2.0 video card, if that makes a difference.) I'm wondering if investing in more memory or better video will help (with stability as well as sluggishness) or if there are other tweaks to making Cinelerra run more efficiently. Thanks for your help. Andrew Leahy ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] ubuntu package maintainer
how good are you at package maintaining? how much time do you have on your hands - how often can you build it? would it be possible for you to build for x86_64 also? i do have space on kiberpipa.org for hosting. bye andraz On Sun, 2006-10-29 at 16:08 +0100, Bas Alphenaar wrote: I made a .deb some weeks ago and uploaded it somewhere but after that I didn't hear anything anymore from the person who offered me the FTP account. I still want to volunteer for this, I can compile for x386. If someone can help me hosting the packages or make a apt-get repository or whatever, I am willing to help. Jeroen van de Nieuwenhof wrote: There where some people who said they are willing to make debs and put them online. But they dn't repond to the ml anymore. Jeroen KenSentMe Wesley T Allen wrote: On Tuesday 24 October 2006 7:43 pm, Andraž Tori wrote: we really need ubuntu package maintainer. Andraz, I can barely make it compile and know nothing about compiling for other architectures - or I'd at least ATTEMPT it. I've also never created a .deb in my life. Didn't someone have some packages they were willing ot maintain a week or so ago? WEs bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra -- The only way to stay sane in an insane world is to be insane. --Me ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Fixing time format for BlueDot 2.1
What is the best way to adjust the time format in BlueDot theme ONLY? How this is the hard question. The easiest would be to make bluedot not need programatically different behaving cinelerra. Otherwise you add a theme-set property and change behaviour of the function that does output depending on that property. I would like to make it 11 digits but without leading 0's if possible. All suggestions and comments will be greatly appreciated. All the best and thank you for your help in advance! Miha P.S. For deeper understanding of the changes require please refer to the diff file posted to the list by me on 25th of Oct. yes, bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] small fix for entering timecodes
this is not acceptable kind of patch, since it changes the behaviour of other themes. you should create a one that does what you want for you but does not intrude in others bye andraz On Wed, 2006-10-25 at 17:54 +0900, Miha Kitič wrote: Hi again! I am posting a diff file now! All the best and thank you! Miha ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] ubuntu package maintainer
everyone wants to get their software in distirbution specific way... it's the easiest to manage. and full inclusion in most distros is not an option due to the fear of patented compression algorithms, which may or might not be real threat. however if someone is willing to create a static build of cinelerra, he has my _full_ support. we really really need that bye andraz On Wed, 2006-10-25 at 11:17 +0200, Marcin Kostur wrote: Dear Andraz, Don't you think that providing all the packages is a nonsense? Distros should do this if there is a common interest. In ubuntu it is a nonsense to have 1 apt-source for 1 program! I would rather prefer that cinelerra: 0) cinerella runs from its source dir e.g. cd hvirtual;./cinelerra works 1) there exists a binary tar - as static as possible (all video libs for sure as static) which you unpack and run. I notice that cin anyways contains most of libs inside- really good. 2) this tar is generated (semi)automatically after each svn revision, and all older tars are also preserved. I never used any ubuntu packages of cin because they where always too old. Cin is not in final shape and sometimes minor changes matters ;-) Also it would be nice to be able to use 2 versions at the same time which is rather difficult at the moment. .bcast should have also version number, event like .bcast2.1r945. I also never understood why make install spreads the program into few dirs across my system then e.g. running 2 versions is cumbersome. Just my 3 cents The best Marcin ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] MPEG, cache, playback
create a testcase, upload it somewhere, file a bug. bye andraz On Tue, 2006-10-24 at 09:40 +0200, Marcin Kostur wrote: Dear Cin-users. I have once reported about my problem with playback in 2.1. I can't play mpeg2 1080i, MP4 from Xacti, MPEG2 (SD) from JVC Eveiro properly IF cache is set to default 10MB. But at 1Mb 1080i is fine, but still MP4 freezes and ginves the same message as Bug 343. Do you experienced similar? I have latest CV (r945) with Nvidia on dual core 32bit system. It seems to be that the changes in entire GOP cache make this problem. It does not depend on video driver (X11/XV/OpenGL). The best Marcin ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] A V non matching
On Tue, 2006-10-24 at 08:29 -0400, Wesley T Allen wrote: For people in 29.97 countries, i'd suggest using 30fps frame rate and setting it to 29.97 only at the end when exporting Andraz - so changing to 29.97 after editing won't require me to change all my clips as well? no. the only possible negative consequence is that when viewing at 30fps, sometimes the same frame will be shown twice (approx 0.1% of the frames). But when you change to 29.97, this will be gone... So this might be annoying if you are doing for example frame-accurate keyframing of moving objects or something like that, but you probably aren't. bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Some LADSPA's weirdness in Cinelerra
probably the cinelerra is not getting the same environment variabiles, namely PATH this seems to be more of a problem of desktops than cinelerra itself. bye andraz On Tue, 2006-10-24 at 15:33 -0500, Matt Pfingsten wrote: I'm experiencing an odd but minor annoyance. I typically use KDE as my desktop, but also I've tried e17 so I know this isn't just a KDE issue. If I start Cinelerra from a terminal emulator like XTerm or Konsole, Cinelerra will detect and load all of my LADSPA effects. I use the command cinelerra which runs /usr/local/bin/cinelerra. However, if I launch Cinelerra from the menu, or from a .desktop icon on the desktop or on a dock, iBar or panel, Cinelerra DOES NOT load the LADSPA plugins. In all cases the command being issued by the desktop file is cinelerra, the same one that I type at the terminal. The same issue occurs even if I enter the cinelerra command at a Run command prompt. The commands appear to be the same but somehow the commands are getting different results. It's a minor annoyance, but I would certainly like to know why its happening. Any ideas? -- Matt Pfingsten www.GotWookiee.com ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
[CinCVS] small fix for entering timecodes
when entering timecodes that had more than one digit number of hours, timecodes got messed up. This directly hindered one user when working on his film project. bye andraz --- hvirtual-svn/cinelerra/assetedit.C 2006-10-13 12:05:59.0 +0200 +++ hvirtual-2.1/cinelerra/assetedit.C 2006-10-25 01:06:34.0 +0200 @@ -487,26 +487,30 @@ asset-sample_rate, asset-frame_rate); - tc[1] = '\0'; - tc[4] = '\0'; - tc[7] = '\0'; + char *tc_hours = tc; + char *tc_minutes = strchr(tc, ':') + 1; + *(tc_minutes - 1) = 0; + char *tc_seconds = strchr(tc_minutes, ':') + 1; + *(tc_seconds - 1) = 0; + char *tc_rest = strchr(tc_seconds, ':') + 1; + *(tc_rest - 1) = 0; - add_subwindow(new AssetEditTCStartTextBox(this, atoi(tc), x, y, + add_subwindow(new AssetEditTCStartTextBox(this, atoi(tc_hours), x, y, (int) (asset-frame_rate * 60 * 60))); x += 30; add_subwindow(new BC_Title(x, y, :)); x += 10; - add_subwindow(new AssetEditTCStartTextBox(this, atoi(tc + 2), x, y, + add_subwindow(new AssetEditTCStartTextBox(this, atoi(tc_minutes), x, y, (int) (asset-frame_rate * 60))); x += 30; add_subwindow(new BC_Title(x, y, :)); x += 10; - add_subwindow(new AssetEditTCStartTextBox(this, atoi(tc + 5), x, y, + add_subwindow(new AssetEditTCStartTextBox(this, atoi(tc_seconds), x, y, (int) (asset-frame_rate))); x += 30; add_subwindow(new BC_Title(x, y, :)); x += 10; - add_subwindow(new AssetEditTCStartTextBox(this, atoi(tc + 8), x, y, 1)); + add_subwindow(new AssetEditTCStartTextBox(this, atoi(tc_rest), x, y, 1)); y += 30;
Re: [CinCVS] Contributing to Cinelerra: Where do I begin?
Hello, well every help is welcome! I have to say that value of exporting to other EDL formats might be questionable. I wrote rudimentary export to CMX3600 just for the needs of concrete director that needed that to use cinelerra in his workflow. Now, i don't believe many people will exchange video projects between apple suits and cinelerra... do you? What i suggest is to work just on those import/export options that you are sure somebody will actually need in his/hers workflow. About drop frame timecode... cinelerra's CMX3600 export does not support that since it was written for a specific project of 25 fps. Where to start... well first thing you need to have is being able to compile cinelerra on your box. bye andraz On Tue, 2006-10-24 at 16:11 -0500, Matt Pfingsten wrote: I'm interested in contributing to Cinelerra. My experience in programming is limited. I've done plenty of web development (amateur and semi-pro) using ASP and PHP. I'm assuming that is mere kids stuff next to C and it won't help me much. I'm mainly interested in working on adding more support for exporting and/or importing EDL formats such as: AAF (there is an app on SourceForge that can convert CMX3600EDL's to AAF) Apple's XML Interchange Format v. 1, 2, and 3. Film Cut Lists Change Lists (I know how to make cut lists on paper and I am trained on an 16mm 8-plate Steenbeck and quite comfortable with the film editing process) Various others Does Cinelerra support Drop-Frame timecode? I know there was mention of this a while back when CMX3600 export was first added. I also want to try my hand at creating a new theme for Cinelerra and I have ideas for various little features that I want to try creating (like a New Region command similar to the one in ProTools, or a readout that displays the project's current TRT, sub-directories in Resources, etc.) Where should I start? -- Matt Pfingsten www.GotWookiee.com ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] AVI file impossible to load
i've taken a look at this file and while it is legal AVI, it is very unusual. it contains MPEG2 video and mpeg 2 layer 2 audio... (mp2). Those kind of things usually reside in mpeg files by themselves, not in avi containers. I've tried to just use ffmpeg for decoding the thing, but that does not work correctly (frames are decoded but it is obviously misdetecting keyframes) ... so if there is a bigger expert for mpeg2 and/or ffmpeg, please take a look at it, this is too much for me... otoh you can probably easily load the video if you convert it into plain mpeg without reencoding. bye andraz On Sat, 2006-10-21 at 13:41 +0200, Nicolas wrote: Hello, I tried to open that file in cinelerra, but that didn't work: http://www.europephoto.com/info/cinelerra/200610/tv_test.avi It's a file I got from my Hauppauge WinTV Nova-T PCI card using that command: nice -n -20 mencoder dvb://'ARTE' -ovc copy -oac copy -idx -o tv_test.avi It's an AVI file with mpeg video and mp3 audio. What is the problem? Do I have to convert it to another format, or is that a bug of cinelerra? Nicolas. ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] working with lower quality
On Mon, 2006-10-23 at 11:51 +0200, muzzol wrote: Also this method doesn't prevent me to store the uncompressed media in my HD for the final render. The conclusion is that I need more hardware :) no, i also think this would be a good feature. lot of professional work places uses this methodology to save resources. sometimes is refered as offline mode. for example, tele5, a spain tv channel, have a central editing room with lot of little booths. when an editor captures all material of a EDN and the system automatically generates low res clips. editor works in one of those little booths with low res clips and when he have the final edit sends a petition to central system to render it with high quality. it makes a lot of sense to me that a professional focused solution must implement something like this. im not sure, as you said, if this is easy to code, but im sure lot of people would be glad to use it. It is easy to code up something, but it is hard to code up smooth solution covering all the corner cases. ... unless someone who really plans to use this in profesional environment foots the bill. but talking about teoretical uses of these feature is waste of time. bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] merge editing modes
On Sat, 2006-10-21 at 10:18 +0930, Pierre Dumuid wrote: Thanks Andraz, BTW: Johannes mentioned this idea on IRC and I second it, To save on commits to the SVN these ideas can be placed in a git repo set up on pipapo for git users. This can provide a place for others to try your idea before commit. The branching system also I find really cool to in being able to keep commits which didn't in the end make it, and everyone can still see / find it easiliy. I really don't have time to play around with lengthened development process. I don't think we have issues with quality of patches and i don't think it is catastrophic if one 'bad' patch hits svn once a year. we also didn't have build breakage for a long time now. Another offtopic thing: i've communicated the bug reading cinelerra's DV +PCM avis to kino developer Dan Dennedy and he says that kino 0.9.3 will correctly read those cinelerra's avis ... (produced with at least r940... since cinelerra had a bug of itself before that) Kino already reads cinelerra's rawdv without problems. I havent tested for mov yet... bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] merge editing modes
On Fri, 2006-10-20 at 09:59 +0200, Kurt Georg Hooss wrote: folks, once i understood i found it makes sense to have the two modes. but having the issue on the agenda anyway... there is one closely related thing that really annoys me. in either mode, i found it problematic that cutting out some part (be it a complete clip or a drag--drop selection) automatically moves the rest of the track from the right, leaving no gap. i mean, would it not be more intuitive if cutting would just cut and moving would just move? sure, combining those two functionalities may be desirable in cases... but how can i just remove some part from some (but not all) tracks, leaving the rest synchronous with the remaining tracks? what you really are trying to do is copy'n'mute just press 'c' and then 'm' afterwards. as of when dragging clips by mouse, ... if you see as insertion point the clip will be cutout and inserted at the insertion point, if you don't see it, clip will be copymute and inserted at insertion point bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] merge editing modes
Yes, since everyone is so overhelmingly against this change, i'll find out some other solution ... Though i still think editing modes are something that confuses users... it's the same as emacs ... powerful but only handfull of people will master them. i'll try to code up something tomorrow bye andraž On Fri, 2006-10-20 at 14:30 +0200, Christian Thaeter wrote: Andraž Tori wrote: a patch that completely merges both editing modes of cinelerra into a single one, with shift key being the modifier ... editing modes are one of the hardest things for new learners of cinelerra to comprehend (by my experience) and there is really no reason not to merge them, since most of people expect to use shift for selecting. Compromise: Keep both editing modes as current but add the shift-key to toggle into the alternate mode. Then people can work like before AND the new single edit-mode work and anyone is happy. Christian (2nd try, first post stuck in a moderator approval) ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
[CinCVS] xlib race conditionsl
As we all know xlib handling of multithreaded programs is ... idiotic. The problem with current solution of using XLockDisplay ... is that XNextEvent should also be protected by the XLockDisplay Which obviously can not be done since always waiting inside XNextEvent and would prevent anything else from getting lock in-time. Using other functions (for example XTranslateCoordinates) while waiting inside XNextEvent is actually a race condition that makes cinelerra's window freeze! (as shown in bug http://bugs.cinelerra.org/show_bug.cgi?id=340) Attached is a braindead fix, that unfortunately includes... looping, which noone wants to do. The problem is that designing proper fix is hard, really HARD, because of the following reasons: 1. xlib does not have XTryLockDisplay - we will need to _completely_ implement XLockDisplay by ourselves in order to be able to know inside lock_window() if we should send a fake event for event loop to drop the lock 2. locking shemantic between lock_window() and BC_WindowEvent::run() will be very tricky to avoid race conditions (doable, but lots of thinking) 3. sending an event from lock_window to break out of event loop in BC_EventWindow will be have to be done by _separate_ x display connection since XSendEvent would also need XLockDisplay, which we naturally cannot get at that point! If someone is really persistent and has time to write proper solution, it would be nice, but for now i have applied suboptimal patch which is attached (r941) Adam, if you find a way to do it, please let me know as soon as possible - and before next mainline release. bye andraz --- hvirtual-svn/guicast/bcwindowevents.C 2006-10-14 17:42:10.0 +0200 +++ hvirtual-2.1/guicast/bcwindowevents.C 2006-10-18 14:00:48.0 +0200 @@ -1,5 +1,6 @@ #include bcwindowbase.h #include bcwindowevents.h +#include bctimer.h BC_WindowEvents::BC_WindowEvents(BC_WindowBase *window) : Thread(1, 0, 0) @@ -35,14 +36,31 @@ void BC_WindowEvents::run() { +// Can't cancel in XNextEvent because X server never figures out it's not +// listening anymore and XCloseDisplay locks up. XEvent *event; while(!done) { - event = new XEvent; -// Can't cancel in XNextEvent because X server never figures out it's not -// listening anymore and XCloseDisplay locks up. - XNextEvent(window-display, event); - window-put_event(event); +// XNextEvent should also be protected by XLockDisplay ... +// Currently implemented is a hackish solution, FIXME +// Impact of this solution on the performance has not been analyzed + +// The proper solution is HARD because of : +// 1. idiotic xlib does not have XTryLockDisplay - we will need to _completely_ implement XLockDisplay by ourselves (including cascaded locking - it is not the same as mutex!) +// 2. the locking shemantic inside new lock_window and here will be really tricky, we should: +// in lock_window check wheather BC_WindowEvents is in XNextEvent and it is send custom xevent to break out of the loop and make sure lock is not taken again if lock_window() is waiting on it +// 3. Send custom events from previous point through _separate_ xwindows display connection since XSendEvent would need to be protected by XLockDisplay which obviously can't be + + window-lock_window(); + while (XPending(window-display)) + { + event = new XEvent; + XNextEvent(window-display, event); + window-put_event(event); + } + + window-unlock_window(); + Timer::delay(20);// sleep 20ms } }
Re: [CinCVS] Cinelerra documentation
On Thu, 2006-10-19 at 01:05 +0200, Nicolas wrote: On Wed, Oct 18, 2006 at 05:43:47PM -0500, Alex Ferrer wrote: What makes the wiki not easy to read? Is there anything I can do to make it easier ? alx. Alex, The problem is that the information is split over a lot of pages. That makes it less convenient to read than say the Secrets of Cinelerra, which is a 1 page document (with links). There's also the fact that it's a bit redundant with the offical documentation. I think merging all the information into 1 document would be interesting. That doesn't mean the wiki should be closed at all. But regular merges of the Secrets and the wiki would allow the users to find all the information they need in 1 document. maybe wiki can be convinced to display the list of pages as one document... - one after another inside the same page bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] cwindowgui forgotten lock
This backtrace dumps of all threads are useful when you have multiple threads waiting on eachother to finish - so called deadlocks. Naturally it also helps if you have stuff compiled with -g (to include debug symbols), but even without that, problem can be diagnosed. If you are not a progamer familar with the source code in question there is probably no way to diagnose the problem through stack traces. But that kind of trace might help the original developer to understand a problem. More importantly deadlocks are just one of the reasons why application freezes. They happen only in multithreaded applications. Other reasons could be stalls in system calls, infinite loops, waiting for events that never happen... bye andraz On Sun, 2006-10-15 at 17:01 +0900, Miha Kitič wrote: Hi Andraž! Sorry to interrupt with potentially dumb question but... I have another application (qdvdauthor) which is constantly freezing on any text imput from the keyboard. I am trying to figure out why this is happening, but I just can't get hold onto a problem. I sense that there are some similarities between Scott's and my own problem. So I would just like to ask you... How do you figure out from gdb entering thread apply all bt why an app. is freezing? How do you read the output? You may feel that my question is too wide and can not be answered easily. In that case I will be very grateful if you could point me to a good manual or suggest a place where I could start searching for the answers. Thanks in advance! Miha On sob, 2006-10-14 at 22:14 +0200, Andraž Tori wrote: Thanks for debug info, but what i really need is this: When cinelerra freezes, go to other terminal and type ps aux ... now you can read the process id of cinelerra, then you should type gdb cinelerra 12345 (12345 being the proper process id), after that you should run thread apply all bt and report the whole output you get... bye andraz On Sat, 2006-10-14 at 15:51 -0400, Scott C. Frase wrote: Andraz, I compiled the latest svn. At first, I thought your new code had fixed my hang problem. However, upon loading an older project it hung. I looked at the terminal window and noticed that I got a message: mpeg3io_open_file: No such file or directory Note that this message was not captured in the new Cinelerra Error dialog box. I CTRL-C'd out of the project and have included the output below. Since most of the hangs that I'm getting occur on projects that were originally 2.0 projects that I've since migrated to 2.1 format, I will create a pure 2.1 project and see if I get hangs. thanks for the help, scott mpeg3io_open_file: No such file or directory signal_entry: got SIGINT my pid=22773 execution table size=16: mwindowedit.C: paste_edls: 1435 mwindowedit.C: paste_edls: 1439 mwindowedit.C: paste_edls: 1480 mwindowedit.C: paste_edls: 1562 mwindowedit.C: paste_edls: 1591 mwindowedit.C: paste_edls: 1595 mwindowedit.C: paste_edls: 1606 mwindowedit.C: paste_edls: 1609 filempeg.C: open_file: 164 filempeg.C: open_file: 496 filempeg.C: read_frame: 1174 vrender.C: run: 414 vrender.C: process_buffer: 103 vrender.C: process_buffer: 113 filempeg.C: read_frame: 1180 filempeg.C: read_frame: 1209 signal_entry: lock table size=19 0x84b8c58 BC_Synchronous::next_command BC_Synchronous::run 0xace1fe98 BC_WindowBase::event_condition BC_WindowBase::get_event 0xacea37b0 Cinelerra: 20060627newgarbage.xml BC_Repeater::run 0x8b29400 TransportQue::output_lock PlaybackEngine::run 0xacea37b0 Cinelerra: 20060627newgarbage.xml MWindow::paste_edls * 0xacea37b0 Cinelerra: 20060627newgarbage.xml MainIndexes::run 1 0xb6592138 RotateEngine::input_lock RotateEngine::run 0xb657daa0 RotateEngine::input_lock RotateEngine::run 0xacea37b0 Cinelerra: 20060627newgarbage.xml BC_Repeater::run 0xace76028 Canvas::canvas_lock VDeviceX11::new_output_buffer * 0xace20cf0 Cinelerra: Song 6 - heavy VDeviceX11::new_output_buffer 1 0xacea2790 TransportQue::output_lock PlaybackEngine::run 0xacea37b0 Cinelerra: 20060627newgarbage.xml ResourceThread::do_video 0xace20cf0 Cinelerra: Song 6 - heavy BC_Repeater::run 0x8a5b418 BC_WindowBase::event_condition BC_WindowBase::get_event 0xaa43b2a0 BC_WindowBase::event_condition BC_WindowBase::get_event 0x893ab80 BC_WindowBase::event_condition BC_WindowBase::get_event 0x8b2ac88 BC_WindowBase::event_condition BC_WindowBase::get_event 0x8ad1e50 BC_WindowBase::event_condition BC_WindowBase::get_event BC_Signals::dump_buffers: buffer table size=0 BC_Signals::delete_temps: deleting 0 temp files SigHandler::signal_handler total files=0 Aborted On Sat, 2006-10-14 at 18:47 +0200, Andraž Tori wrote: This might
[CinCVS] one more ffmpeg fix
ffmpeg bails out if you want to use mutlithreaded encoding/decoding when codec doesn't support it. ... add a check bye andraz diff -ru --exclude-from exclude hvirtual-svn/quicktime/mpeg4.c hvirtual-2.1/quicktime/mpeg4.c --- hvirtual-svn/quicktime/mpeg4.c 2006-10-15 20:32:40.0 +0200 +++ hvirtual-2.1/quicktime/mpeg4.c 2006-10-16 01:50:50.0 +0200 @@ -698,7 +698,8 @@ context-flags |= CODEC_FLAG_H263P_UMV; context-flags |= CODEC_FLAG_AC_PRED; - +// All the forbidden settings can be extracted from libavcodec/mpegvideo.c of ffmpeg... + // Copyed from ffmpeg's mpegvideo.c... set 4MV only where it is supported if(codec-ffmpeg_id == CODEC_ID_MPEG4 || codec-ffmpeg_id == CODEC_ID_H263 || @@ -708,7 +709,12 @@ // Not compatible with Win // context-flags |= CODEC_FLAG_QPEL; - if(file-cpus 1) + if(file-cpus 1 +(codec-ffmpeg_id == CODEC_ID_MPEG4 || + codec-ffmpeg_id == CODEC_ID_MPEG1VIDEO || + codec-ffmpeg_id == CODEC_ID_MPEG2VIDEO || + codec-ffmpeg_id == CODEC_ID_H263P || + codec-ffmpeg_id == CODEC_FLAG_H263P_SLICE_STRUCT)) { avcodec_thread_init(context, file-cpus); context-thread_count = file-cpus; diff -ru --exclude-from exclude hvirtual-svn/quicktime/qtffmpeg.c hvirtual-2.1/quicktime/qtffmpeg.c --- hvirtual-svn/quicktime/qtffmpeg.c 2006-10-12 12:07:45.0 +0200 +++ hvirtual-2.1/quicktime/qtffmpeg.c 2006-10-16 01:51:21.0 +0200 @@ -86,7 +86,12 @@ context-extradata = avcc-data; context-extradata_size = avcc-data_size; } - if(cpus 1) + if(cpus 1 +(ffmpeg_id == CODEC_ID_MPEG4 || + ffmpeg_id == CODEC_ID_MPEG1VIDEO || + ffmpeg_id == CODEC_ID_MPEG2VIDEO || + ffmpeg_id == CODEC_ID_H263P || + ffmpeg_id == CODEC_FLAG_H263P_SLICE_STRUCT)) { avcodec_thread_init(context, cpus); context-thread_count = cpus;
[CinCVS] cwindowgui forgotten lock
A small fix that adds locking of cwindowgui where it was forgotten previously. I got at least one freeze because of this. bye andraz diff -ru --exclude-from exclude hvirtual-svn/cinelerra/mwindow.C hvirtual-2.1/cinelerra/mwindow.C --- hvirtual-svn/cinelerra/mwindow.C 2006-10-13 12:05:59.0 +0200 +++ hvirtual-2.1/cinelerra/mwindow.C 2006-10-14 10:15:32.0 +0200 @@ -1848,8 +1848,10 @@ vwindow-update(1); } + cwindow-gui-lock_window(Mwindow::update_project); cwindow-gui-slider-set_position(); cwindow-gui-timebar-update(1, 1); + cwindow-gui-unlock_window(); cwindow-playback_engine-que-send_command(CURRENT_FRAME, CHANGE_ALL, edl,
Re: [CinCVS] cwindowgui forgotten lock
This might be it or it might not be. Recompiling from SVN is the only way to be sure. Please do it and report results ASAP (while i still have time to fix stuff :). I don't plan any new fixes right now. bye andraz On Sat, 2006-10-14 at 12:01 -0400, Scott C. Frase wrote: Thanks Andraz, Because I've been plagued by the freezes, can I recompile now with a svn update or do you think you'll have more fixes coming? scott On Sat, 2006-10-14 at 17:48 +0200, Andraž Tori wrote: A small fix that adds locking of cwindowgui where it was forgotten previously. I got at least one freeze because of this. bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] auto keyframe stretching?
On Sat, 2006-10-14 at 12:03 -0400, Scott C. Frase wrote: Hey guys, I have a project that has about seven video tracks and is about 1m30s long. It has a number of fade and projector/camera keyframes defined for each track. I'd like to stretch the video to about 2x as long as it is now, to about 3 minutes. After I stretch the videos in the tracks, I notice the keyframes just stay in the same positions after I stretch. Is there a way to stretch all the keyframes along with the stretched video? no, there isn't any bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] cwindowgui forgotten lock
Thanks for debug info, but what i really need is this: When cinelerra freezes, go to other terminal and type ps aux ... now you can read the process id of cinelerra, then you should type gdb cinelerra 12345 (12345 being the proper process id), after that you should run thread apply all bt and report the whole output you get... bye andraz On Sat, 2006-10-14 at 15:51 -0400, Scott C. Frase wrote: Andraz, I compiled the latest svn. At first, I thought your new code had fixed my hang problem. However, upon loading an older project it hung. I looked at the terminal window and noticed that I got a message: mpeg3io_open_file: No such file or directory Note that this message was not captured in the new Cinelerra Error dialog box. I CTRL-C'd out of the project and have included the output below. Since most of the hangs that I'm getting occur on projects that were originally 2.0 projects that I've since migrated to 2.1 format, I will create a pure 2.1 project and see if I get hangs. thanks for the help, scott mpeg3io_open_file: No such file or directory signal_entry: got SIGINT my pid=22773 execution table size=16: mwindowedit.C: paste_edls: 1435 mwindowedit.C: paste_edls: 1439 mwindowedit.C: paste_edls: 1480 mwindowedit.C: paste_edls: 1562 mwindowedit.C: paste_edls: 1591 mwindowedit.C: paste_edls: 1595 mwindowedit.C: paste_edls: 1606 mwindowedit.C: paste_edls: 1609 filempeg.C: open_file: 164 filempeg.C: open_file: 496 filempeg.C: read_frame: 1174 vrender.C: run: 414 vrender.C: process_buffer: 103 vrender.C: process_buffer: 113 filempeg.C: read_frame: 1180 filempeg.C: read_frame: 1209 signal_entry: lock table size=19 0x84b8c58 BC_Synchronous::next_command BC_Synchronous::run 0xace1fe98 BC_WindowBase::event_condition BC_WindowBase::get_event 0xacea37b0 Cinelerra: 20060627newgarbage.xml BC_Repeater::run 0x8b29400 TransportQue::output_lock PlaybackEngine::run 0xacea37b0 Cinelerra: 20060627newgarbage.xml MWindow::paste_edls * 0xacea37b0 Cinelerra: 20060627newgarbage.xml MainIndexes::run 1 0xb6592138 RotateEngine::input_lock RotateEngine::run 0xb657daa0 RotateEngine::input_lock RotateEngine::run 0xacea37b0 Cinelerra: 20060627newgarbage.xml BC_Repeater::run 0xace76028 Canvas::canvas_lock VDeviceX11::new_output_buffer * 0xace20cf0 Cinelerra: Song 6 - heavy VDeviceX11::new_output_buffer 1 0xacea2790 TransportQue::output_lock PlaybackEngine::run 0xacea37b0 Cinelerra: 20060627newgarbage.xml ResourceThread::do_video 0xace20cf0 Cinelerra: Song 6 - heavy BC_Repeater::run 0x8a5b418 BC_WindowBase::event_condition BC_WindowBase::get_event 0xaa43b2a0 BC_WindowBase::event_condition BC_WindowBase::get_event 0x893ab80 BC_WindowBase::event_condition BC_WindowBase::get_event 0x8b2ac88 BC_WindowBase::event_condition BC_WindowBase::get_event 0x8ad1e50 BC_WindowBase::event_condition BC_WindowBase::get_event BC_Signals::dump_buffers: buffer table size=0 BC_Signals::delete_temps: deleting 0 temp files SigHandler::signal_handler total files=0 Aborted On Sat, 2006-10-14 at 18:47 +0200, Andraž Tori wrote: This might be it or it might not be. Recompiling from SVN is the only way to be sure. Please do it and report results ASAP (while i still have time to fix stuff :). I don't plan any new fixes right now. bye andraz On Sat, 2006-10-14 at 12:01 -0400, Scott C. Frase wrote: Thanks Andraz, Because I've been plagued by the freezes, can I recompile now with a svn update or do you think you'll have more fixes coming? scott On Sat, 2006-10-14 at 17:48 +0200, Andraž Tori wrote: A small fix that adds locking of cwindowgui where it was forgotten previously. I got at least one freeze because of this. bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
[CinCVS] async awindow updates #2
hehe, i did a mistake of using virtual function in constructor, which was naturally not called. this fixes the previous patch. keymasks.diff is just a simple problem noticed by valgrind .. we were calling get_key_masks on events which are not xkey. diff -ru --exclude-from exclude hvirtual-svn/cinelerra/awindowgui.C hvirtual-2.1/cinelerra/awindowgui.C --- hvirtual-svn/cinelerra/awindowgui.C 2006-10-13 12:05:59.0 +0200 +++ hvirtual-2.1/cinelerra/awindowgui.C 2006-10-14 00:36:30.0 +0200 @@ -473,6 +473,7 @@ //printf(AWindowGUI::create_objects 2\n); SET_TRACE + create_custom_xatoms(); return 0; } diff -ru --exclude-from exclude hvirtual-svn/cinelerra/awindowgui.h hvirtual-2.1/cinelerra/awindowgui.h --- hvirtual-svn/cinelerra/awindowgui.h 2006-10-13 12:05:59.0 +0200 +++ hvirtual-2.1/cinelerra/awindowgui.h 2006-10-14 00:18:56.0 +0200 @@ -147,7 +147,7 @@ int allow_iconlisting; // Create custom atoms to be used for async messages between windows - virtual int create_custom_xatoms(); + int create_custom_xatoms(); // Function to overload to recieve customly defined atoms virtual int recieve_custom_xatoms(xatom_event *event); diff -ru --exclude-from exclude hvirtual-svn/guicast/bcwindowbase.C hvirtual-2.1/guicast/bcwindowbase.C --- hvirtual-svn/guicast/bcwindowbase.C 2006-10-13 12:05:59.0 +0200 +++ hvirtual-2.1/guicast/bcwindowbase.C 2006-10-14 00:19:49.0 +0200 @@ -1494,10 +1494,6 @@ return 0; } -int BC_WindowBase::create_custom_xatoms() -{ - return 0; -} int BC_WindowBase::recieve_custom_xatoms(xatom_event *event) { return 0; @@ -1534,7 +1530,6 @@ DelWinXAtom = create_xatom(WM_DELETE_WINDOW); if(ProtoXAtom = create_xatom(WM_PROTOCOLS)) XChangeProperty(display, win, ProtoXAtom, XA_ATOM, 32, PropModeReplace, (unsigned char *)DelWinXAtom, True); - create_custom_xatoms(); return 0; } diff -ru --exclude-from exclude hvirtual-svn/guicast/bcwindowbase.h hvirtual-2.1/guicast/bcwindowbase.h --- hvirtual-svn/guicast/bcwindowbase.h 2006-10-13 12:05:59.0 +0200 +++ hvirtual-2.1/guicast/bcwindowbase.h 2006-10-14 00:19:14.0 +0200 @@ -559,8 +559,6 @@ int get_screen(); virtual int initialize(); int get_atoms(); -// Create custom atoms to be used for async messages between windows - virtual int create_custom_xatoms(); // Function to overload to recieve customly defined atoms virtual int recieve_custom_xatoms(xatom_event *event); diff -ru --exclude-from exclude hvirtual-svn/guicast/bcwindowbase.C hvirtual-2.1/guicast/bcwindowbase.C --- hvirtual-svn/guicast/bcwindowbase.C 2006-10-14 00:45:32.0 +0200 +++ hvirtual-2.1/guicast/bcwindowbase.C 2006-10-14 00:52:17.0 +0200 @@ -688,7 +688,6 @@ switch(event-type) { case ClientMessage: - get_key_masks(event); // Clear the resize buffer if(resize_events) dispatch_resize_event(last_resize_w, last_resize_h); // Clear the motion buffer since this can clear the window
Re: [CinCVS] cinelerra 2.1 debian packages
On Tue, 2006-09-19 at 19:41 +0200, streumix wrote: Hi Andraz, do you have any plans to release packages with opengl support ? Toby i don't have any such plans currently... no time bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] cinelerra 2.1 debian packages
On Tue, 2006-09-19 at 19:26 +0200, Toby wrote: Hi Andraz, do you have any plans to release packages with opengl support ? no, no time for that bye andraz Toby Andraž Tori wrote: debian packages of 2.1 have been uploaded to the http://www.kiberpipa.org/~minmax/cinelerra repository they are not linked to the opengl... please report problems/submit fixes :) bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] External Video Effects and Transitions?
On Tue, 2006-09-19 at 00:22 +0200, Herman Robak wrote: On Tue, 19 Sep 2006 00:02:26 +0200, Bernhard Frühmesser [EMAIL PROTECTED] wrote: Hello, Is it possible to get more (external) video effects/transitions from the internet and import http://www.cinelerra.org/ into cinelerra like it can be done with external audio effects/plugins? You mean like Cinelerra's support for LADSPA plugins? Not for now. Andraz: How is Livido support coming along? livido is 99% finished and clinically dead. it is a nice standard on paper, but so much effort went into standardisation that everyone was so fed up with it at the end of the process, that noone actually implemented it in their own product. maybe something happens at piksel06, but i wouldn't count on it, and i won't be there. bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Pipes question ...
On Wed, 2006-09-13 at 18:30 +0200, Richard Rasker wrote: Good GUI design is not an easy thing at all - especially if it's technicians who know the ins and outs doing the designing. What's totally obvious to them, is often quite mystifying to novice users. And then you have the hardcore Linux users, who go running to the command line at the first appearance of the word pipe - Ceci n'est pas une pipe - or is it? :-) Anyway, I have everything working nicely now, so I'm one happy camper (or should I say: camp moviemaker) :-) The problem is that is considerably harder to implement this in easy-GUI way, even if this way is known. Cinelerra's guicast library is not what you need for quickly creating simple guis. bye andraz ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra