[CinCVS] Mpeg2 encoding
Hi everyone This is my 1st post on this list and I'm hoping that you may be able to help me. I have Cinelerra installed and working well. I have read as much as I can on the net but I am stumped on a few topics but the 1st one 1st. I am trying to render from the timeline to an Mpeg2 Video file. I am using the standard DVD settings in the Video rendering gui. But when I go to start the render, I get the error on the terminal that the mpeg2enc.plugin cannot be found in /usr/lib/cinelerra/ I found the plugin in /usr/bin/ and copied it over and everything seemed to work. But in reality, nothing seems to happen at all. I don't get any errors but after many hours the render completion figure remains on 0% Can anyone help me on this or suggest what I could do please?? Thanks very much in advance Vaughan ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Mpeg2 encoding
On Mon, 07 Aug 2006 17:15:38 +1000 Vaughan Famularo [EMAIL PROTECTED] wrote: I am trying to render from the timeline to an Mpeg2 Video file. I am using the standard DVD settings in the Video rendering gui. as amazing as it seems, cinelerra doesn't support DVD compatible MPEG-2 output. you need to save to another format and then use another application to do the conversion. ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Mpeg2 encoding
I don't think that's the case. There are two ways to produce DVD compatible MPEG-2 output through Cinelerra. The easiest way is the mpeg2enc plugin. If you copied the mpeg2enc binary from /usr/bin to /usr/lib/cinelerra, you're almost there. You need to make sure that the file is named mpeg2enc.plugin in the cinelerra directory. If that doesn't work, try posting the exact error message you are getting.A second way to get mpeg2 video is to render to a pipe and let ffmpeg do the work. There is a preset for this in the render dialog. ffmpeg can be 40% faster than mpeg2enc, though the quality is typically lower. As a matter of practice, I use ffmpeg to render 'snapshots' and rough cuts, then mpeg2enc to produce my final video. On 8/7/06, Dimitrios [EMAIL PROTECTED] wrote: On Mon, 07 Aug 2006 17:15:38 +1000 Vaughan Famularo [EMAIL PROTECTED] wrote: I am trying to render from the timeline to an Mpeg2 Video file. I am using the standard DVD settings in the Video rendering gui.as amazing as it seems, cinelerra doesn't support DVD compatible MPEG-2 output.you need to save to another format and then use another application to do the conversion. ___Cinelerra mailing listCinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra-- http://ThreeWayNews.blogspot.comYour source. For everything. Really.
Re: [CinCVS] Cinelerra on Ubuntu
Raffaella, I also had some problems getting Cinelerra to work on Ubuntu 6.06. You can check out my blog post with a link to the solution that worked for me here: http://www.thesourceshow.org/blog/1 Hope this helps! On 8/6/06, Ichthyostega [EMAIL PROTECTED] wrote: Raffaella Traniello wrote: I'm using Cinelerra HV on Ubuntu. I'm a very beginner with Linux. I'm starting to assume that something is not working properly. Can it be that Cinelerra HV is made for Fedora and not for Ubuntu? Do you suggest to install Cinelerra CV instead? Hi Rafaella, Cinelerra is not made for a specific distribution. I saw people here using it on Slackware, Fedora, Gentoo, SuSE, and I am on Debian (you probably know that Ubuntu is a derivative of Debian and uses the same package manager). Do you know the Wikipedia entry on Cinelerra? Pierre Dumuid recently added a paragraph on the two different Versions of Cinelerra there: http://en.wikipedia.org/wiki/Cinelerra#The_Community_Version Many of us here (including myself) are using the CV-Version; this version gets additional Fixes and small improvements over the time, so /we/ believe it to me more stable and usable. You should note though, that from time to time, when there are larger modifications, it can get more instable. So it's probably a good idea to have a look at this mailing list in order to know what's going on. Recently, there was a new Version (2.1) released by HeroineWarrior. The Community just started to integrate this changes into the CV-Version, so you can expect some destabilizing of the CV-Version for some time in the Future. So I would advice everyone not immediately interested in the new Features of HV-2.1 to stick to the last CV-Version before this transition until you see people positively reporting they are successfully using the upcoming new CV-Versions. The Community-Verson uses a Version Management Tool called Subversion to manage the different code versions. The aforementioned last 2.0-CV-Version has the Revision Number 836 in the Subversion. At http://www.kiberpipa.org/~minmax/cinelerra/builds/sid/ you will find Debian Packages of the CV-Version, the last beeing from 6.Jun.2006 See also: http://cvs.cinelerra.org/getting_cinelerra.php Reuben Firmin just wrote an Blog Article comparing Cinelerra and Main Actor. In one of this entries he covered the Installation of Cinelerra-CV on Ubuntu, probably of some interest to you http://flavor8.com/index.php/2006/07/15/mainactor-vs-cinelerra-installing/ Raffaella Traniello wrote: These are my problems: 1. Randomly (1 out of 10) the compositor is dark (no image, sound only). There are no disabled buttons in the patch/control area. This sounds strange, like a bug. To help more, it would be necessary to know what media format you are using (DV-Avi, raw DV, quicktime, mpeg ts...). 2. Double clicking between two labels on the timeline doesn't highlights the region between the labels. Instead it highlights the whole edit I'm clicking on. Yes, that's the way cinelerra does this... If you want to select the range between two lables: click at one lable and then shift-click on the second. You could enter values into the position-display in the status line as well in order to select a very precise range (e.g. 3 Frames). And another very important command for editing is the paste silence from the edit menu!! 3. Trimming: when I move the cursor I don't see the changing in the compositor window. It keeps showing the same still image and I can't decide the extent of my trimming. Yes, that's a well known shortcomming. You have to utilize lables as a workaround... Hint: you can move the locator by single frames using the numpad keys. 4. Trimming: sometimes (randomly?) when i drag the margin of an edit in the video track the audio track won't follow. All the tracks are armed. In this way I miss the match between audio and video in the edits. Make sure you have selected the align cursor to frames in the settings menu. Cinelerra uses a trick to keep sync between audo and video: the edit actions manipulate /all/ clips on all armed tracks /which start at exactly the same position/. If you don't align cursor to frames, then the audio clip can start on every location in between frames. You can see this effect by zooming in to the level of single frames. One last question: How can I split and edit in two on the timeline (trimming)? This one is surprisingly difficult (or am I missing something obvious??) You can select a part and cut it away (to clipboard), but if you re-insert it immediately, cinelerra will automatically join it together to be one single clip again. (Unter certain other circumstances this behaviour is helpfull, but here it's rather not). But you can always paste the part cut off on a different location. For trimming you use the mouse at the border of the edit. It is important to note from wich side of the cut you are aproaching. The three mouse buttons by default have different
Re: [CinCVS] Missing rule for chromakey.C
Thanks, guys. I was able to compile the old version successfully. On 8/4/06, Ichthyostega [EMAIL PROTECTED] wrote: Greg Mekkes wrote: Is there an svn tag for r836, or is there another way to get svn to grab only r836 rather than latest-greatest? svn checkout -r 836 or on a alredy existing working copy svn update -r 836 Hermann PS: and allways, if uncertain: try svn help or esp. svn help checkout -- Thanks, Aaron Newcomb http://www.thesourceshow.org ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
[CinCVS] Audio Clipping in RAW DV
I am having some trouble rendering to RAW DV. The video looks fine, but I have some clipping in my audio. I get a clip about once a second. Has anyone seen this before or know how I should start narrowing down the issue? Rendering to other formats like Quicktime for Linux or Theora works fine with no clipping. I typically use RAW DV as my master copy so this affects all of the transcoded copies I make from my master. -- Thanks, Aaron Newcomb http://www.thesourceshow.org ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Mpeg2 encoding
On 8/7/06, *Dimitrios* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On Mon, 07 Aug 2006 17:15:38 +1000 Vaughan Famularo [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I am trying to render from the timeline to an Mpeg2 Video file. I am using the standard DVD settings in the Video rendering gui. as amazing as it seems, cinelerra doesn't support DVD compatible MPEG-2 output. you need to save to another format and then use another application to do the conversion. jim scott wrote: I don't think that's the case. There are two ways to produce DVD compatible MPEG-2 output through Cinelerra. The easiest way is the mpeg2enc plugin. If you copied the mpeg2enc binary from /usr/bin to /usr/lib/cinelerra, you're almost there. You need to make sure that the file is named mpeg2enc.plugin in the cinelerra directory. If that doesn't work, try posting the exact error message you are getting. The method you mention Jim worked for me. I have found the default Cinelerra settings for MPEG-2 at fault however. Settings which work for me in producing DVD which will play well on my TV are: YUV 4:2:0 Generic MPEG-2 MPEG-2 1 fixed bitrate Quantization 12 (an unused setting) I frame distance 45 P frame distance 0 The field flag depends on your source material Progressive frames will generally be unchecked The denoiser works but is optional I don't check Sequence start codes in every GOP I seem to remember that some really logical choices like Format Preset: DVD led to render errors. For me the options given above worked and I generally only fiddle with the Bitrate. Of course you will need to render your audio seperately and then mplex the streams together. There is plenty of information around on how to do this. good luck Graham E. A second way to get mpeg2 video is to render to a pipe and let ffmpeg do the work. There is a preset for this in the render dialog. ffmpeg can be 40% faster than mpeg2enc, though the quality is typically lower. As a matter of practice, I use ffmpeg to render 'snapshots' and rough cuts, then mpeg2enc to produce my final video. On 8/7/06, *Dimitrios* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On Mon, 07 Aug 2006 17:15:38 +1000 Vaughan Famularo [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I am trying to render from the timeline to an Mpeg2 Video file. I am using the standard DVD settings in the Video rendering gui. as amazing as it seems, cinelerra doesn't support DVD compatible MPEG-2 output. you need to save to another format and then use another application to do the conversion. ___ Cinelerra mailing list Cinelerra@skolelinux.no mailto:Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra -- http://ThreeWayNews.blogspot.com Your source. For everything. Really. ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Audio Clipping in RAW DV
Aaron Newcomb wrote: I am having some trouble rendering to RAW DV. The video looks fine, but I have some clipping in my audio. I get a clip about once a second. Has anyone seen this before or know how I should start narrowing down the issue? Rendering to other formats like Quicktime for Linux or Theora works fine with no clipping. I typically use RAW DV as my master copy so this affects all of the transcoded copies I make from my master. known bug ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Mpeg2 encoding
Graham,I think you do have to change the defaults for mpeg2video encoding to get any output. I agreed that setting the fixed bitrate should work. Fixed quantization doesn't seem to work. On 8/7/06, Graham Evans [EMAIL PROTECTED] wrote: On 8/7/06, *Dimitrios* [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] wrote: On Mon, 07 Aug 2006 17:15:38 +1000 Vaughan Famularo [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I am trying to render from the timeline to an Mpeg2 Video file. I am using the standard DVD settings in the Video rendering gui. as amazing as it seems, cinelerra doesn't support DVD compatible MPEG-2 output. you need to save to another format and then use another application to do the conversion.jim scott wrote: I don't think that's the case. There are two ways to produce DVD compatible MPEG-2 output through Cinelerra. The easiest way is the mpeg2enc plugin. If you copied the mpeg2enc binary from /usr/bin to /usr/lib/cinelerra, you're almost there. You need to make sure that the file is named mpeg2enc.plugin in the cinelerra directory. If that doesn't work, try posting the exact error message you are getting.The method you mention Jim worked for me.I have found the defaultCinelerra settings for MPEG-2 at fault however.Settings which work for me in producing DVD which will play well on my TV are:YUV 4:2:0Generic MPEG-2MPEG-21 fixed bitrateQuantization 12 (an unused setting)I frame distance 45P frame distance 0The field flag depends on your source materialProgressive frames will generally be unchecked The denoiser works but is optionalI don't check Sequence start codes in every GOPI seem to remember that some really logical choices like Format Preset:DVD led to render errors.For me the options given above worked and I generally only fiddle with the Bitrate.Of course you will need to render your audio seperately and then mplexthe streams together.There is plenty of information around on how todo this.good luck Graham E. A second way to get mpeg2 video is to render to a pipe and let ffmpeg do the work. There is a preset for this in the render dialog. ffmpeg can be 40% faster than mpeg2enc, though the quality is typically lower. As a matter of practice, I use ffmpeg to render 'snapshots' and rough cuts, then mpeg2enc to produce my final video. On 8/7/06, *Dimitrios* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On Mon, 07 Aug 2006 17:15:38 +1000 Vaughan Famularo [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I am trying to render from the timeline to an Mpeg2 Video file. I am using the standard DVD settings in the Video rendering gui. as amazing as it seems, cinelerra doesn't support DVD compatible MPEG-2 output. you need to save to another format and then use another application to do the conversion. ___ Cinelerra mailing list Cinelerra@skolelinux.no mailto:Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra -- http://ThreeWayNews.blogspot.com Your source. For everything. Really.___ Cinelerra mailing listCinelerra@skolelinux.nohttps://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra -- http://ThreeWayNews.blogspot.comYour source. For everything. Really.
Re: [CinCVS] Mpeg2 encoding
Graham Evans wrote: I seem to remember that some really logical choices like Format Preset: DVD led to render errors. For me the options given above worked and I generally only fiddle with the Bitrate. One needs to use DVD-NAV (Type 8) rather than the DVD (Type 9) variant. Type 8 is the mpeg format that DVDs actually use (For instance, when using mplex, one uses mplex -f 8 to combine audio and video for a DVD compatible mpeg). If I post a patch for this, will somebody with svn write access check it in? -Brendan ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Mpeg2 encoding
On Mon, Aug 07, 2006 at 05:15:38PM +1000, Vaughan Famularo wrote: Hi everyone This is my 1st post on this list and I'm hoping that you may be able to help me. I have Cinelerra installed and working well. I have read as much as I can on the net but I am stumped on a few topics but the 1st one 1st. I am trying to render from the timeline to an Mpeg2 Video file. I am using the standard DVD settings in the Video rendering gui. But when I go to start the render, I get the error on the terminal that the mpeg2enc.plugin cannot be found in /usr/lib/cinelerra/ I found the plugin in /usr/bin/ and copied it over and everything seemed to work. But in reality, nothing seems to happen at all. I don't get any errors but after many hours the render completion figure remains on 0% Can anyone help me on this or suggest what I could do please?? Thanks very much in advance Vaughan Hello, If you use the CV version : Export as an YUV4MPEG stream and use a pipe to encode the YUV stream : yuvcorrect -v 0 -T INTERLACED_BOTTOM_FIRST | mpeg2enc -v 0 -r 32 -4 1 -2 1 -D 10 -g 15 -G 15 -q 5 -b 9400 -f 8 -o $1 Export an AC3 sound stream at 224 kbps Mplex everything with : mplex -f 8 -V audio.ac3 video.m2v -o movie.mpeg The mpeg2 stream is 100% stand-alone DVD player compatible. I never found a DVD player not able to play those files. Nicolas, Paris. ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Audio Clipping in RAW DV
On Mon, 7 Aug 2006, Aaron Newcomb wrote: I am having some trouble rendering to RAW DV. The video looks fine, but I have some clipping in my audio. I get a clip about once a second. Has anyone seen this before or know how I should start narrowing down the issue? Rendering to other formats like Quicktime for Linux or Theora works fine with no clipping. I typically use RAW DV as my master copy so this affects all of the transcoded copies I make from my master. Seen this too, I have a nasty feeling this is because 44.1kHz audio. I don't remember if saving to pcm worked without problems. Stefan ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Audio Clipping in RAW DV
Stefan, So do you think changing to 48kHz would fix the problem? I can't test it right now since I am rendering a large file at the moment. On 8/7/06, Stefan de Konink [EMAIL PROTECTED] wrote: On Mon, 7 Aug 2006, Aaron Newcomb wrote: I am having some trouble rendering to RAW DV. The video looks fine, but I have some clipping in my audio. I get a clip about once a second. Has anyone seen this before or know how I should start narrowing down the issue? Rendering to other formats like Quicktime for Linux or Theora works fine with no clipping. I typically use RAW DV as my master copy so this affects all of the transcoded copies I make from my master. Seen this too, I have a nasty feeling this is because 44.1kHz audio. I don't remember if saving to pcm worked without problems. Stefan ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra -- Thanks, Aaron Newcomb http://www.thesourceshow.org ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Audio Clipping in RAW DV
On Mon, 7 Aug 2006, Aaron Newcomb wrote: So do you think changing to 48kHz would fix the problem? I can't test it right now since I am rendering a large file at the moment. I guess it is broken by 44.1 because all the things that went wrong were '12bit' instead of '16bit' audio. What I did was rendering individual audia/video in two file. Then combining it in ffmpeg. This was very nasty, but in the end I did got the right files. This is a thing that I like to see fixed too... I don't think there are other 'lossless' conversions possible. Stefan ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Mpeg2 encoding
On Tue, 08 Aug 2006 00:17:46 +0800 Graham Evans [EMAIL PROTECTED] wrote: 1 fixed bitrate wasn't the maximum bitrate at 8000 (official dvd spec)? i could be wrong... ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Mpeg2 encoding
I think the spec is around 1 for video + audio. If you're using AC3 audio at 128 kbps, you should be able to go 9800 kbps for video.On 8/7/06, Dimitrios [EMAIL PROTECTED] wrote:On Tue, 08 Aug 2006 00:17:46 +0800 Graham Evans [EMAIL PROTECTED] wrote: 1 fixed bitratewasn't the maximum bitrate at 8000 (official dvd spec)? i could be wrong...___ Cinelerra mailing listCinelerra@skolelinux.nohttps://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra -- http://ThreeWayNews.blogspot.comYour source. For everything. Really.
Re: [CinCVS] Audio Clipping in RAW DV
Stefan de Konink wrote: On Mon, 7 Aug 2006, Aaron Newcomb wrote: So do you think changing to 48kHz would fix the problem? I can't test it right now since I am rendering a large file at the moment. I guess it is broken by 44.1 because all the things that went wrong were '12bit' instead of '16bit' audio. No i don't think any of this is the problem. The problem is intermitent static and is not known to relate to specific formats or settings. It began occurding when the DV render code (which never worked) was being repaired. The job was not quite finished. It was reported to Richard Baverstock who was doing that work. He agreed there was a problem but obviously has had no time to fix it. On the other hand the video component of DV output now works really well thanks to his efforts. Graham E. ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCVS] Mpeg2 encoding
jim scott wrote: I think the spec is around 1 for video + audio. If you're using AC3 audio at 128 kbps, you should be able to go 9800 kbps for video. On 8/7/06, *Dimitrios * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On Tue, 08 Aug 2006 00:17:46 +0800 Graham Evans [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: 1 fixed bitrate wasn't the maximum bitrate at 8000 (official dvd spec)? i could be wrong... ...All of which explains why 50 minutes of footage ended up only just fitting on a single layer dvd. My dvd player did play the footage but I obviously got lucky. I will tone down those settings - thanks for the info dimitrios and jim. Vaughan I have never had success with the YUV4MPEG pipe commands despite many months of wrestling with them and seeking assistance. Yet my system (Fc4_64 bit) seems to function well with all the other aspects of cinelerra cv. On the other hand MPEN2ENC works as described. Obviously most users here have lots of success with the pipe commands but I just thought I would let you know in case you suffer further problems... Graham ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra