Mack Allison wrote:
You are correct about the audio crackling on raw DV output. In
general, I would of course like DVD compliant output, or any standard
high quality format I can find a toolchain to convert to DVD and other
compressed formats. Perhaps If I could find a sort of 'universal'
lossless output render I could then run through encoders to get
distributable formats?
It has been a long trip getting cinelerra up and running, if for no
other reason than because I have recompiled and tried all sorts of
things regsarding this SIGSEGV, when perhaps it was just a dramatic
response to unworkable render options?
Yes, I think in retrospect that might be the case.
If your troubles prompted you to move to the latest stable CV version
you have been going in the right direction - although perhaps this was
your starting point. The pain it takes to get going in Cinelerra comes
in many varieties. Hopefully yours was not fatal. Once you get a
workflow going Cinelerra is a great tool. There are many methods that
work to get the result you want and also a lot that don't. In my
experience the effort to develop a workflow was well and truly worth it.
A few other gotchas I experienced:
*getting the aspect ratios wrong in the project settings means crashed
renders
*using default settings means crashed renders
*lack of understanding of interlacing formats leads to chaotic results
(tip raw DV comes in as bottom-field first interlaced)
*generally knowing nothing about broadcast formats makes it much harder
to get a successful result
*Always run cinelerra from a terminal so you get informative output when
renders fail.
As far as the 'universal' lossless format you suggested - perhaps it
isn't neccessary. If you look at the thread I mentioned you will find
instructions for how to produce DVD compliant material directly from
within Cinelerra. Just get the MPEG Video settings right and render
seperate video and audio outputs to MPEGII video and AC3 audio (or
MPEGII audio) respectively. Mplex the streams from outside cinelerra.
Alternatively try the pipe commands that Nicholas has been recommending
over the previous weeks.
If you were going to output to a lossless format to then use other tools
to get your distributable format I am not sure what a good choice of
format would be. Perhaps others will know. From my experience on the
list I have noticed that many consider output to quicktime DV as a good
enough format to use as a "master" of this sort. Not lossless but
pretty good quality. To quote from an older email of mine to the list:
"...using YUVA as the project format.
... I succeeded rendering to component Y'CbCrA8-bit 4:4:4:4 in a
Quicktime container. Alpha info was preserved fine. The file size was
6.2GB for 2 1/2 minutes of PAL DV footage, about 41 MB/second."
...but I'm not sure if any other Linux tool than Cinelerra can read this
format. The lossless audio format for the quicktime container, as far
as i know, is "Twos complement". Lots of other lossless formats are
probably possible but this is the only one which successfully stores
alpha information. And so it is good for intermediate renders.
The following is a short script Richard Baverstock used to have posted
on his site as a method (albeit slow) of producing high quality DVD
compliant mpeg from a Cinelerra avi render. Hopefully Richard won't
mind me posting it here. I believe he has taken it down from his site
for some reason but in my experience it worked well. It is slow
however. For this script the logical choice would be to output from
Cinelerra an avi DV stream with Twos complement audio. Then, from a
terminal, execute this script on the resulting file.
#!/bin/sh
# Script to create DVD compliant MPEG2 videos from MJPEG/DV videos.
# Usage: encodedv2mpg2 source.avi output.mpg
# 1 hour on 1 DVD
# dvdauthor is still required to process the output files to make a dvd
# video image.
INPUT=$1
OUTPUT=$2
lav2yuv "$INPUT" | mpeg2enc -q 2 -f 8 -b 9800 -s -r 16 -o "$OUTPUT.m2v" &&
lav2wav "$INPUT" | mp2enc -b 224 -r 48000 -s -o "$OUTPUT.mp2" &&
mplex -S 4480 -r 10800 -f 8 "$OUTPUT.mp2" "$OUTPUT.m2v" -o "%d_$OUTPUT" &&
rm "$OUTPUT.m2v" "$OUTPUT.mp2"
************
just find a couple of formats and methods which meet your needs and the
power of Cinelerra is yours!
Graham E.
On 8/14/06, *Graham Evans* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
mack wrote:
>an update: I can render to raw DV that plays back in mplayer, but not
>quicktime or avi. I'm I just missing something or doing something
>retarded?
>
>
>
The render is the hardest thing to get working on Cinelerra as,
generally, you are not told when you have set the parameters wrong and
some of the deafault parameters are wrong. Added to which at
least 1/2
of the rendering options offered do not work fully or do not work
at all.
For instance the raw DV render you made is likely to have some
cracking
and popping in the audio as this render option is slightly broken at
present.
For Quicktime and avi renders you need to click on the spanner icon
beside the respective "render audio" and "render video" boxes in the
render dialogue. Then select your codec options and get the
parameters
right. Easier said than done. Rendering to DV in a quicktime
container
is generally thought to be one of the most stable cinelerra formats.
But you will only be able to play it back on a very limited range of
players as far as I know. It should reimport back into cinelerra with
no problems. For your final render what format do you want? Most
want
a DVD compliant MPEG2. There has been much discussion of how to
render
that on this list and in particular in the last month. So look at the
archives for the previous month for these instructions...
good luck.
Graham E.
>On Mon, 2006-08-14 at 23:47 +0200, Andraž Tori wrote:
>
>
>>running it through gdb and posting full backtraces (apply thread
all bt)
>>would help...
>>
>>also compile and link with -g if you can...
>>
>>bye
>>andraz
>>
>>On Mon, 2006-08-14 at 16:38 -0500, mack wrote:
>>
>>
>>>After working my way through building cinelerra, I finally got it
>>>running happily, i thought, on my Ubuntu amd64 machine, using the
>>>information at the Ubuntu forums and the newsgroup, ending up
with a
>>>running copy of r836.
>>>
>>>Now, I can successfully load media (imported as quicktime in
kino) and
>>>make splices/transitions, but whenever I tell it to render
(following
>>>the directions in the Rob Fisher tutorial) it SIGSEGV's with this
>>>output:
>>>http://www.mackallison.net/index.php?title=Error_message_whenever_I_tell_it_to_render
<http://www.mackallison.net/index.php?title=Error_message_whenever_I_tell_it_to_render>
>>>
>>>
>>>
>>>_______________________________________________
>>>Cinelerra mailing list
>>>[email protected] <mailto:[email protected]>
>>>https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
>>>
>>>
>>_______________________________________________
>>Cinelerra mailing list
>>[email protected] <mailto:[email protected]>
>>https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
<https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra>
>>
>>
>
>
>_______________________________________________
>Cinelerra mailing list
>[email protected] <mailto:[email protected]>
> https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
>
>
>
_______________________________________________
Cinelerra mailing list
[email protected] <mailto:[email protected]>
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra