Re: [CinCV] Can't render with YUV4MPEG Stream

2010-03-04 Thread Eli Billauer

Hello,

I suggest trying mencoder. It's my swiss knife for getting video files 
which actually work.


I've published my notes under Rendering for DVD, in my site 
(http://billauer.co.il/cinelerra-video-edit-quickstart.html), with the 
relevant part copied below (mencoder notes at the bottom):


   * Video and Audio are rendered separately
   * MPEG-2 streams can be generated directly from Cinelerra, but the
 manual doesn't tell you to do that.
   * ... maybe because it's easy to get off-standard with many GUI
 parameters to set.
   * For video, the output file format is YUV4MPEG, and check To Pipe.
   * Create an executable script (with #!/bin/bash) file saying:
 |mpeg2enc -v 0 -K tmpgenc -r 16 -4 1 -2 1 -D 10 -E 10 -g 15 -G 15
 -q 6 -b 8600 -f 8 -o /path/to/output-video-file.m2v|
   * Note that unlike what's implied in the manual, Cinelerra doesn't
 pass the output file name as first argument to the script. The
 file name is therefore hardcoded
   * It does send some garbage instead. A simple trick is to end the
 pipe's command with a '#' which comments out the garbage
   * Then choose AC3 as output format, and render audio. The standard
 allows up to 1536 kBits/sec, so you can't go wrong with this.
   * Note that you can use mencoder and YUV4MPEG as well for a safer
 encoding.
   * Check the console for error messages and progress (when using
 mencoder)
   * When using mencoder, create a raw PCM audio file (Microsoft WAV is
 fine) and then apply the file with the -audiofile parameter.
   * In the script file you'll have something like: |mencoder
 -audiofile full/path/to/only-audio.mov -oac lavc -ovc lavc -of
 mpeg -mpegopts format=dvd -vf scale=720:480 -srate 48000 -af
 lavcresample=48000 -lavcopts
 
vcodec=mpeg2video:vstrict=1:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18:acodec=ac3:abitrate=192:aspect=4/3
 -ofps 3/1001 -o movie.mpg -| (NTSC)
   * Note the dash, telling mencoder to read from standard input
   * If mencoder complains that it cannot seek backward in linear
 streams and seek failed (several times), adding the |-cache
 8192| parameter is likely to help.

Good luck,
   Eli

--
Web: http://www.billauer.co.il



Re: [CinCV] Is it possible to get my own repo?

2010-03-04 Thread jilt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

p...@ichthyostega.de wrote:
 Einar Rünkaru schrieb:
 Important change behaviour: composer and viewer always display the frame 
 starting at the time shown on clock. Frame displayed does not depend on 
 forward/backward direction. There was inconsistency when direction was 
 accounted when not (mask).

 I intend to continue bug-hunting. Work done so far may be useful for
 somebody.
 
 Hellor Einar,
 
 welcome in the club of cinelerra bug hunters ;-)
 
 The issue described above is one of the most annoying strange design
 decisions in Cinelerra. Probably a lot of people (including myself) would
 welcome just to phase it out.

This is true and may solve a basical problem of cin's usability

 Some years ago I worked on a larger patch to remove the greatest obstacles
 and strangenesses on the bezier automation curve handlings. This patch is
 not accepted into Cin-CV until today. One of the reasons is that I too tried
 to partially rectify these and some similar problems with dragging nodes in 
 the
 trackcanvas (GUI).
 

Would be great to merge your work (for 64 bit) with Einar's one; after
doing that cinelerra cv would get a big step forward in usability for
extended production

 
 Meanwhile the situation might be different, inasmuch develompment on the
 community version of Cinelerra is mostly stalled, 

I don't think this is still true by now, as long as I've been teaching
for 2 years cinelerra cv (2.1), and I think that most people on this ml
still consider that version of cinelerra as the stable version.

 
 And how to we all (Cinelerra community) judge the situation? Do we still
 intend to merge in what upstream provides, or would we be willing to stick
 to the Cin-2.1 codebase and in turn accept more disruptive changes?
 

I consider the second option as the more usefull by now, in order to
keep the value of the community work; and I agree that the bezier patch
sould be merged with the whole 2.1 codebase as long as the Einar's
changes after a short testing on other supported architectures.

In order to test Einar's code I'd like him to put it into a pubblic repo.

My 2 cents
jilt
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkuPjRcACgkQNom9shKmKsoGNwCeOpkpqVWiluaRFLxzRm7d880Y
BtcAoIokzOKe72lHaM7oV4wauGoReBxM
=HNyQ
-END PGP SIGNATURE-

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Can't render with YUV4MPEG Stream

2010-03-04 Thread Arthur

On 03/03/2010 06:22 PM, E Chalaron wrote:

Hi Arthur
Best is probably to write your own script and call it from the rendering
line option
for say I have a script in /usr/local/bin called cinerender (755) and
there is only 1 line :

mpeg2enc -v 1 -r 16 -M 4 -4 1 -2 1 -H -R 0 -D 10 -E -10 -g 6 -G 9 -I 1
-f 8 -o $1

call cinerender %

you will get a m2v file that you need to multiplex with the sound track.
cheers
E
   
Well I see now that I completely misunderstood your advice. Are you 
saying that I should write a bash script? I don't know how, but I can 
learn. Should I simply change the permissions to 755 or make it executable?


Arthur



On 04/03/10 13:57, Arthur wrote:
   

Hi All,

My problem goes like this. I have some raw dv imported with kino. I
made some edits and added some transitions in Cinelerra. I'm now
trying to render with YUV4MPEG Stream to make a dvd. The results are
like this:

1) mpeg2enc -f 8 -o % produces an ugly green screen with none of my
video in it (xine and mplayer)

2) ffmpeg -f yuv4mpegpipe -i - -y -target dvd -ilme -ildct -hq -f
mpeg2video % gives an error:
int YUVStream::write_frame(uint8_t**):write_frame() failed: system
error (failed read/write)

3) ffmpeg -f yuv4mpegpipe -i - -y -target dvd -ilme -ildct -f
mpeg2video % (same as above)

4) ffmpeg -f yuv4mpegpipe -i - -y -target dvd -ildct -hq -f mpeg2video
% (same as above)

5) ffmpeg -f yuv4mpegpipe -i - -y -target dvd -ilme -hq -f mpeg2video
% (same as above)

6) ffmpeg -f yuv4mpegpipe -i - -y -target dvd -ildct -f mpeg2video %
(same as above)

7) ffmpeg -f yuv4mpegpipe -i - -y -target dvd -ilme -f mpeg2video %
(same as above)

8) ffmpeg -f yuv4mpegpipe -i - -y -target dvd -f mpeg2video %  renders
but produces the ugly green screen mentioned above.

The system is an intel quadcore q6600 / 6 gigs ram / current Archlinux
/ Cinelerra-cv 20100208-1 / ffmpeg-svn 22081-1
I also tried with ffmpeg 30526-1. The format is set to NTSC. I've seen
several threads on this but I have not found a solution.

Can anyone please offer some advice.

Thanks


___
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: [CinCV] Can't render with YUV4MPEG Stream

2010-03-04 Thread Arthur

On 03/03/2010 11:28 PM, Gour wrote:

On Wed, 03 Mar 2010 17:57:15 -0700
   

Arthur == Arthurarth...@cox.net  wrote:
   

Hi Arthur,

Arthur  The system is an intel quadcore q6600 / 6 gigs ram / current
Arthur  Archlinux / Cinelerra-cv 20100208-1 / ffmpeg-svn 22081-1
Arthur  I also tried with ffmpeg 30526-1. The format is set to NTSC.
Arthur  I've seen several threads on this but I have not found a
Arthur  solution.

Can you please re-compile Cinelerra by removing
'--with-external-ffmpeg' from the 'configure' line in PKGBUILD?
   

The package compiled with no problems but the installation failed with:

[r...@cwa cinelerra-cv]# pacman -U cinelerra-cv-20100304-1-i686.pkg.tar.gz
loading package data...
checking dependencies...
(1/1) checking for file conflicts   
[###] 100%

error: failed to prepare transaction (conflicting files)
cinelerra-cv: /usr/include/libavcodec/avcodec.h exists in filesystem
cinelerra-cv: /usr/include/libavcodec/opt.h exists in filesystem
cinelerra-cv: /usr/include/libavdevice/avdevice.h exists in filesystem
cinelerra-cv: /usr/include/libavformat/avformat.h exists in filesystem
cinelerra-cv: /usr/include/libavformat/avio.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/adler32.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/avstring.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/avutil.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/base64.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/common.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/crc.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/fifo.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/intfloat_readwrite.h exists in 
filesystem

cinelerra-cv: /usr/include/libavutil/log.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/lzo.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/mathematics.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/md5.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/mem.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/rational.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/sha1.h exists in filesystem
cinelerra-cv: /usr/lib/pkgconfig/libavcodec.pc exists in filesystem
cinelerra-cv: /usr/lib/pkgconfig/libavdevice.pc exists in filesystem
cinelerra-cv: /usr/lib/pkgconfig/libavformat.pc exists in filesystem
cinelerra-cv: /usr/lib/pkgconfig/libavutil.pc exists in filesystem

errors occurred, no packages were upgraded.

It looks like I need to remove ffmpeg but if I do other things will 
break. I removed it anyway but the install fails with:

error: failed to prepare transaction (could not satisfy dependencies)
:: cinelerra-cv: requires ffmpeg.

Here is the pkgbuild:
# Contributor: Jaroslaw Swierczynski swier...@aur.archlinux.org
# Maintainer: Daniel J Griffiths ghost1...@archlinux.us

pkgname=cinelerra-cv
pkgver=20100304
pkgrel=1
pkgdesc=A complete audio and video production environment for Linux.
arch=('i686' 'x86_64')
url=http://cinelerra.org;
license=('GPL')
depends=('e2fsprogs' 'a52dec' 'fftw' 'lame' 'libavc1394' 'libiec61883' 
'libraw1394' 'libsndfile' 'libvorbis' 'libogg' 'libpng=1.4.0' 
'libjpeg=8' 'libtiff' 'esound' 'mjpegtools' 'openexr' 'x264' 
'libxxf86vm' 'ffmpeg' 'libxv' 'faad2' 'faac' 'libtheora')
makedepends=('automake=1.7' 'autoconf=2.57' 'libtool' 'git' 'nasm' 
'libgl' 'mesa')

options=('!libtool')
source=(cinelerra-libavutil50.patch  cinelerra-pkgconfig-x264.patch  
cinelerra-x264.patch libpng14.patch)

md5sums=('fb4342dc5c640c8f73d7b4a780eee200'
 '2c5744b3059782adecf5bc0e2e1f8330'
 '1ce99ffb47a49bb3a294786dc823e021'
 'c3c83343b9ea64aed6e3a48f9bed329e')

_gitroot=git://git.cinelerra.org/j6t/cinelerra.git
_gitname=cinelerra

build() {
  cd $srcdir
  unset LDFLAGS
  msg Connecting to GIT server

  if [ -d $_gitname ] ; then
cd $_gitname  git pull origin
msg The local files are updated.
  else
git clone $_gitroot
  fi

  msg GIT checkout done or server timeout
  msg Starting make...

  rm -rf $srcdir/$_gitname-build
  cp -r $srcdir/$_gitname $srcdir/$_gitname-build
  cd $srcdir/$_gitname-build


  patch -Np1 -i ${srcdir}/cinelerra-libavutil50.patch || return 1
  patch -Np1 -i ${srcdir}/cinelerra-pkgconfig-x264.patch || return 1
  patch -Np1 -i ${srcdir}/cinelerra-x264.patch || return 1
  patch -Np1 -i ${srcdir}/libpng14.patch || return 1

  # If you don't need OpenGL comment out the next line.
  sed -i '/\/X11R6/s///' configure.in

  ./autogen.sh

  if [ $CARCH = x86_64 ]; then
  ./configure --prefix=/usr --with-buildinfo=git/recompile 
--disable-mmx

  else
  ./configure --prefix=/usr --with-buildinfo=git/recompile --enable-mmx
  fi

  make || return 1
}

package() {
  cd $srcdir/$_gitname-build

  make DESTDIR=$pkgdir install
}

Thanks for the reply and of course if you know how to get around this 
I'd appreciate any help (you may have guessed

Re: [CinCV] Is it possible to get my own repo?

2010-03-04 Thread Valentina Messeri

Hi ct, Einar

asap you decided i'm ready to test...

the cin vesion i normally use is the last from community git and it  
uses to be the more stable, comparating with packaging people have in  
their machines and comparating with las heroinewarrior (which i use as  
well)


Thx bugs hunters and mergers, as usual for (tons of) works (and patience)...

baci
vale


Einar Rünkaru wrote:

Hi.

I think that I have managed to fix Cinelerra-2.1CV locking problem.
It seems fix for bugzilla bugs 278, 383, 406, 414, 493, 519 - may be
some more, some may be irrelevant.

Fix is huge and tested on couple laptops with 32bit distributions.
Obviously it needs more testing on different hardware/distibutions.

During debugging I found and fixed addittional bugs:
- subtitle decoding in libmpeg3
- added defaults into libmpeg3 for subtitle color
- index generation in libmpeg3
- edit_font_color initialization of S.U.V
- more info in assert info window
- removed BC_Windowevents (now 7 threads less)
- fix of bug 524
- fixed copiler warnings of some plugins
- fixed timebar cursor updating of viewer and compositor
- trace subsystem was rewritten to static buffers, added backtrace
dump on crash
- lots of cleanups

Important change behaviour: composer and viewer always display the frame
starting at the time shown on clock. Frame displayed does not depend on
forward/backward direction. There was inconsistency when direction was
accounted when not (mask).

I intend to continue bug-hunting. Work done so far may be useful  
for somebody.

Great work :)



My question is: Is it possible to get my own repo?


Of course, visit us on IRC, send your ssh-pubkey. You can also
(meanwhile) use the Mob repository which is public pushable through
git:// protocoll, just create your own branch there.


Christian




Einar Rünkaru

___
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






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


Re: [CinCV] Can't render with YUV4MPEG Stream

2010-03-04 Thread John Griffiths

Arthur,
I have a script that contains:

   ffmpeg -f yuv4mpegpipe -i - -y -target ntsc-dvd -flags ilme+ildct -f
   mpeg2video $1

that I pipe cinelerra rendering to. Works for me.

I guess you could use the pipe directly in cinelerra by changing the $1 
to a % sign. I use a script and have several different pipe command 
strings in it all but one of which is commented out.


mpeg2enc and ffmpeg change, or have in the past, their command line 
arguments so when they have updated, things that did work stopped 
working. If all else fails, try the documentation for the version of 
mpeg2enc or ffmpeg you are using to see what works.


In looking at your

   ffmpeg -f yuv4mpegpipe -i - -y -target ntsc-dvd -ilme -ildct -hq -f
   mpeg2video %

command, I think the -ilme -ildct may be causing the problem depending 
on the version of ffmpeg. My line uses -flags ilme+ildct instead which 
is what is required by my version.


Regards,
John

On 03/03/2010 11:28 PM, cinelerra-requ...@skolelinux.no wrote:

Thanks for the quick reply, ffmpeg -f yuv4mpegpipe -i - -y -target
ntsc-dvd % gives me bad header magic and parameter out of range errors.
ffmpeg -f yuv4mpegpipe -i - -y -target ntsc-dvd -ilme -ildct -hq -f
mpeg2video % gives me : int
YUVStream::write_frame(uint8_t**):write_frame() failed: system error
(failed read/write)
ffmpeg -f yuv4mpegpipe -i - -y -target ntsc-dvd -f mpeg2video % gives me
: bad header magic and parameter out of range errors.

mpeg2enc -v 1 -r 16 -M 4 -4 1 -2 1 -H -R 0 -D 10 -E -10 -g 6 -G 9 -I 1 -f 8 -o 
$1 gives me: int YUVStream::write_frame(uint8_t**):write_frame() failed: system
error (failed read/write)

I'm still willing to try, any more suggestions? Bye the way, I'm very impressed 
by the quick responses from this community and I hope this program works well 
for others.

Thanks!
   


Re: [CinCV] Is it possible to get my own repo?

2010-03-04 Thread Einar Rünkaru
On Wed, Mar 3, 2010 at 4:09 PM, p...@ichthyostega.de p...@ichthyostega.de 
wrote:

 Thus, I think the foremost question is: is your intention just to fix the
 existing code base at places, or do you intend to re-work it for real
 improvement, thus moving away from the way upstream handles things?


I think it is impossible get real improvement and keep at the same
time codebase close to upstream.
I think that I am already too far away with the locking patch.

My first goal is to stabilize Cinelerra (no crashes, no hangups),
speed things up a bit, improve bit GUI (there are
glitches, alogics). Some internals may need rewrite. Cleanup of sources.

Afterwards IT is possible to look at features and decide what to do
with them. For example: must a NLE editor support various
intput devices? Of course it will then be possible to add new features.

Einar

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


[CinCV] 20 min .vob last just 5 sec in cinelerra

2010-03-04 Thread renareto
Hi,
no one have idea of what is my problem? 

TIA

Renato


Hi, 
I'm newbe. I have some minidvd (.vob) file taht last about 20 minutes in
VLC, but, if I import it in cinelerra, it last just 5 second.
what I can do?

TIA

Renato



___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] Can't render with YUV4MPEG Stream

2010-03-04 Thread Arthur

On 03/04/2010 06:27 AM, Arthur wrote:

On 03/03/2010 11:28 PM, Gour wrote:

On Wed, 03 Mar 2010 17:57:15 -0700

Arthur == Arthurarth...@cox.net  wrote:

Hi Arthur,

Arthur  The system is an intel quadcore q6600 / 6 gigs ram / current
Arthur  Archlinux / Cinelerra-cv 20100208-1 / ffmpeg-svn 22081-1
Arthur  I also tried with ffmpeg 30526-1. The format is set to NTSC.
Arthur  I've seen several threads on this but I have not found a
Arthur  solution.

Can you please re-compile Cinelerra by removing
'--with-external-ffmpeg' from the 'configure' line in PKGBUILD?

The package compiled with no problems but the installation failed with:

[r...@cwa cinelerra-cv]# pacman -U 
cinelerra-cv-20100304-1-i686.pkg.tar.gz

loading package data...
checking dependencies...
(1/1) checking for file conflicts   
[###] 100%

error: failed to prepare transaction (conflicting files)
cinelerra-cv: /usr/include/libavcodec/avcodec.h exists in filesystem
cinelerra-cv: /usr/include/libavcodec/opt.h exists in filesystem
cinelerra-cv: /usr/include/libavdevice/avdevice.h exists in filesystem
cinelerra-cv: /usr/include/libavformat/avformat.h exists in filesystem
cinelerra-cv: /usr/include/libavformat/avio.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/adler32.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/avstring.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/avutil.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/base64.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/common.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/crc.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/fifo.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/intfloat_readwrite.h exists in 
filesystem

cinelerra-cv: /usr/include/libavutil/log.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/lzo.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/mathematics.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/md5.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/mem.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/rational.h exists in filesystem
cinelerra-cv: /usr/include/libavutil/sha1.h exists in filesystem
cinelerra-cv: /usr/lib/pkgconfig/libavcodec.pc exists in filesystem
cinelerra-cv: /usr/lib/pkgconfig/libavdevice.pc exists in filesystem
cinelerra-cv: /usr/lib/pkgconfig/libavformat.pc exists in filesystem
cinelerra-cv: /usr/lib/pkgconfig/libavutil.pc exists in filesystem

errors occurred, no packages were upgraded.

It looks like I need to remove ffmpeg but if I do other things will 
break. I removed it anyway but the install fails with:

error: failed to prepare transaction (could not satisfy dependencies)
:: cinelerra-cv: requires ffmpeg.

Here is the pkgbuild:
# Contributor: Jaroslaw Swierczynski swier...@aur.archlinux.org
# Maintainer: Daniel J Griffiths ghost1...@archlinux.us

pkgname=cinelerra-cv
pkgver=20100304
pkgrel=1
pkgdesc=A complete audio and video production environment for Linux.
arch=('i686' 'x86_64')
url=http://cinelerra.org;
license=('GPL')
depends=('e2fsprogs' 'a52dec' 'fftw' 'lame' 'libavc1394' 'libiec61883' 
'libraw1394' 'libsndfile' 'libvorbis' 'libogg' 'libpng=1.4.0' 
'libjpeg=8' 'libtiff' 'esound' 'mjpegtools' 'openexr' 'x264' 
'libxxf86vm' 'ffmpeg' 'libxv' 'faad2' 'faac' 'libtheora')
makedepends=('automake=1.7' 'autoconf=2.57' 'libtool' 'git' 'nasm' 
'libgl' 'mesa')

options=('!libtool')
source=(cinelerra-libavutil50.patch  cinelerra-pkgconfig-x264.patch  
cinelerra-x264.patch libpng14.patch)

md5sums=('fb4342dc5c640c8f73d7b4a780eee200'
 '2c5744b3059782adecf5bc0e2e1f8330'
 '1ce99ffb47a49bb3a294786dc823e021'
 'c3c83343b9ea64aed6e3a48f9bed329e')

_gitroot=git://git.cinelerra.org/j6t/cinelerra.git
_gitname=cinelerra

build() {
  cd $srcdir
  unset LDFLAGS
  msg Connecting to GIT server

  if [ -d $_gitname ] ; then
cd $_gitname  git pull origin
msg The local files are updated.
  else
git clone $_gitroot
  fi

  msg GIT checkout done or server timeout
  msg Starting make...

  rm -rf $srcdir/$_gitname-build
  cp -r $srcdir/$_gitname $srcdir/$_gitname-build
  cd $srcdir/$_gitname-build


  patch -Np1 -i ${srcdir}/cinelerra-libavutil50.patch || return 1
  patch -Np1 -i ${srcdir}/cinelerra-pkgconfig-x264.patch || return 1
  patch -Np1 -i ${srcdir}/cinelerra-x264.patch || return 1
  patch -Np1 -i ${srcdir}/libpng14.patch || return 1

  # If you don't need OpenGL comment out the next line.
  sed -i '/\/X11R6/s///' configure.in

  ./autogen.sh

  if [ $CARCH = x86_64 ]; then
  ./configure --prefix=/usr --with-buildinfo=git/recompile 
--disable-mmx

  else
  ./configure --prefix=/usr --with-buildinfo=git/recompile 
--enable-mmx

  fi

  make || return 1
}

package() {
  cd $srcdir/$_gitname-build

  make DESTDIR=$pkgdir install
}

Thanks for the reply and of course if you know how to get around this 
I'd appreciate any help (you

Re: [CinCV] 20 min .vob last just 5 sec in cinelerra

2010-03-04 Thread Ken Bass
On Thu, Mar 4, 2010 at 7:57 AM, renareto renar...@gmail.com wrote:

 Hi,
 no one have idea of what is my problem?

 TIA

 Renato


 Hi,
 I'm newbe. I have some minidvd (.vob) file taht last about 20 minutes in
 VLC, but, if I import it in cinelerra, it last just 5 second.
 what I can do?

 TIA

 Renato


I don't have a solution, or even an idea, but I do have a similar problem
with other various containers and formats.

Sometimes the video will only load a few minutes of an hour or so more
total. The entire video itself will play on all players (mplayer, vlc, WMP),
and I can even load it into avidemux and edit it there.

Other times, none of the video (0 seconds) will load.

My only suggestion might be to run cinelerra from a console window, and see
if any messages are displayed - especially from the underlying codec
libraries. If no one here can help with those, try the mplayer/ffmpeg
mailing list. They can at least explain what the messages mean.

I do have one gripe, though. With all due respect for a really great
application, it is not very robust. Aside from the problems mentioned above,
most of the times I have used cinelerra, I have gotten many continuous
messages about file read errors - especially with corrupted frames;  it
easily crashes, as well as barfs up core dumps.

This is not a flame, just a simple critique from observations.

ken