Jan,
Yes, Marcin's fix
(https://init.linpro.no/pipermail/skolelinux.no/cinelerra/2006-November/008696.html)
was to edit the line after:
// Read up to current frame
and then recompile Cinelerra.
scott
On Sun, 2006-11-19 at 20:46 +0100, Jan Luo wrote:
> hi scott,
>
> to make things more complicated it looks like we're refering to
> differt versions of libmpeg.
> just upgraded to libmpeg3-1.7 ( hard masked - will say unstable ).
> now i do not have playback problems with the "surfing" clip, but still
> in some other ones.
> my unqualified guess is that it all depends on the camcorder - there
> codecs - anyhow.
>
> trying to edit 3-1.7 i find the following code:
>
> > // Read up to current frame
> >
> > mpeg3video_drop_frames(video, frame_number - video->framenum, 1);
> > break;
> > }
> > }
> > }
> > else
> > {
> > video->repeat_count = 0;
> > mpeg3video_drop_frames(video,
> > frame_number - video->framenum, 0);
>
> should i try to change the "1" to "0" in the 2nd line?
>
>
> cheers
>
> jan
>
> Scott C. Frase wrote:
> > hi jan,
> > I'm running Fedora Core 4 and use "yum" to install my dependencies.
> > Unfortunately, I don't know about Gentoo. The libmpeg3 I am using is
> > specific to Heroine Warrior (consequently, the Cinelerra CVS) and comes
> > with the source code from the subversion repository when you download
> > it. This version is libmpeg3hv-1.5.0:
> > ldd /usr/local/bin/cinelerra | grep mpeg3
> > libmpeg3hv-1.5.0.so.1 => /usr/local/lib/libmpeg3hv-1.5.0.so.1
> > (0xb7bb6000)
> >
> > Unless someone else has been successful with using later versions of
> > libmpeg3 when building Cinelerra from source, I'm pretty sure you'll
> > need to use this older version that comes with the repository in order
> > for the source code to build properly.
> >
> > scott
> >
> > On Sun, 2006-11-19 at 18:58 +0100, Jan Luo wrote:
> >
> > > hi scott,
> > >
> > > in gentoo libmpeg3 is a separate ebuild. which version are you running?
> > > mine is media-libs/libmpeg3-1.5.2-r3. maybe an update to 1.7 would also
> > > work?
> > >
> > > otherwise i have to to understand how to edit ( = apply the fix ) to the
> > > source code - never done that before.
> > >
> > > thanks
> > >
> > > jan
> > >
> > > Scott C. Frase wrote:
> > >
> > > > Jan,
> > > > You'd need to checkout the Cinelerra source code from subversion:
> > > > http://cvs.cinelerra.org/svnusage.php#anon
> > > >
> > > > make the edit as specified in Marcin's email:
> > > > https://init.linpro.no/pipermail/skolelinux.no/cinelerra/2006-November/008696.html
> > > >
> > > > to edit line 357 in libmpeg3/video/seek.c in the Cinelerra source
> > > > directory. Then recompile.
> > > >
> > > > of course, to compile from source, you need all the programs Cinelerra
> > > > is dependent upon. For my Fedora system, I've listed them here:
> > > > http://crazedmuleproductions.blogspot.com/2006/08/fc4-dependencies-for-cinelerra-cvs.html
> > > >
> > > > scott
> > > >
> > > > On Sat, 2006-11-18 at 21:07 +0100, Jan Luo wrote:
> > > >
> > > >
> > > > > hi,
> > > > >
> > > > > same thing here. how and where could i apply the fix - in gentoo?
> > > > > am not a coder but know how to use an editor;-).
> > > > >
> > > > > cheers
> > > > >
> > > > > jan
> > > > >
> > > > > Scott C. Frase wrote:
> > > > >
> > > > >
> > > > > > Hey guys,
> > > > > > Here are my results. One note: I encountered the 1080i playback bug
> > > > > > that Marcin Kostur reported a few weeks back, wherein 1080i output
> > > > > > plays
> > > > > > back normally (~30fps) from the start of the video, but slows down
> > > > > > considerably to 2fps if you choose a random point within the video.
> > > > > >
> > > > > > This bug documented here:
> > > > > > http://bugs.cinelerra.org/show_bug.cgi?id=348
> > > > > >
> > > > > > However, this bug has not been resolved, other than in the fix that
> > > > > > Marcin found:
> > > > > > https://init.linpro.no/pipermail/skolelinux.no/cinelerra/2006-November/008696.html
> > > > > >
> > > > > > Could any of the programmers update Bug 348 to let us know if this
> > > > > > fix
> > > > > > is sufficient?
> > > > > >
> > > > > > thanks,
> > > > > > scott
> > > > > >
> > > > > > PS - here are my results of the playback:
> > > > > >
> > > > > > System:
> > > > > > Cinelerra CVS, SVN r947
> > > > > > Dell 400SC, 3.2Ghz, 800FSB, 2GB 400Mhz, Dual DDR, ECC
> > > > > > 250GB SATA system drive
> > > > > > Nvidia GEForce 7600GS 8xAGP video card, 512MB memory
> > > > > > Project Format: 1080i preset
> > > > > > Driver: X11-OpenGL or X11-XV
> > > > > > Playback every frame/Decode frames async: unselected
> > > > > > Compositor: 75% spanned across two monitors
> > > > > > Playback FPS (from beginning of video): OpenGL: 30.15, XV: 29.4
> > > > > > Playback FPS (from 3 seconds into the video): OpenGL 2.21, XV: says
> > > > > > 29.94, but that is not correct, as playback is slowed considerably
> > > > > >
> > > > > > When I playback the video, I get a bunch of these messages in the
> > > > > > terminal window in which I started cinelerra:
> > > > > > mpeg3_read_prev_packet 100 result=0 title=0 tell=5866ff8
> > > > > > program_byte=5866ff8
> > > > > > mpeg3_read_prev_packet 1 result=0 title=0 tell=5866ff8
> > > > > > program_byte=5866ff8
> > > > > >
> > > > > > /sbin/hdparm -t -T /dev/sda
> > > > > > /dev/sda:
> > > > > > Timing cached reads: 2528 MB in 2.00 seconds = 1263.76 MB/sec
> > > > > > Timing buffered disk reads: 116 MB in 3.01 seconds = 38.58
> > > > > > MB/sec
> > > > > >
> > > > > > iostat output (average):
> > > > > > avg-cpu: %user %nice %sys %iowait %idle
> > > > > > 73.83 0.00 3.10 0.00 23.08
> > > > > >
> > > > > > cat /proc/meminfo:
> > > > > > MemTotal: 2070884 kB
> > > > > > MemFree: 812096 kB
> > > > > > Buffers: 62404 kB
> > > > > > Cached: 407492 kB
> > > > > > SwapCached: 0 kB
> > > > > > Active: 973628 kB
> > > > > > Inactive: 199840 kB
> > > > > > HighTotal: 1179088 kB
> > > > > > HighFree: 66404 kB
> > > > > > LowTotal: 891796 kB
> > > > > > LowFree: 745692 kB
> > > > > > SwapTotal: 0 kB
> > > > > > SwapFree: 0 kB
> > > > > > Dirty: 8 kB
> > > > > > Writeback: 0 kB
> > > > > > AnonPages: 703688 kB
> > > > > > Mapped: 79100 kB
> > > > > > Slab: 58140 kB
> > > > > > PageTables: 7232 kB
> > > > > > NFS_Unstable: 0 kB
> > > > > > Bounce: 0 kB
> > > > > > CommitLimit: 1035440 kB
> > > > > > Committed_AS: 2329572 kB
> > > > > > VmallocTotal: 116728 kB
> > > > > > VmallocUsed: 43068 kB
> > > > > > VmallocChunk: 67060 kB
> > > > > > HugePages_Total: 0
> > > > > > HugePages_Free: 0
> > > > > > HugePages_Rsvd: 0
> > > > > > Hugepagesize: 2048 kB
> > > > > >
> > > > > >
> > > > > >
> > > > > > I got 29.94 fps. Compositor at 75 between 24->28 fps when
> > > > > > compositor was at a scale of 50 % on a Intel(R)
> > > > > >
> > > > > >
> > > > > >
> > > > > > > Pentium(R) D CPU 2.66GHz
> > > > > > >
> > > > > > > When at 100% I get 19 fps with the picture going over both
> > > > > > > screens (dual
> > > > > > > monitor) and 24-25 fps when compositor on 1 screen, (but whole
> > > > > > > picture
> > > > > > > not visible)
> > > > > > >
> > > > > > > Video Driver: X11-XV
> > > > > > > Play every frame is selected
> > > > > > > Decode frames asyncronously unselected (REALLY slow when
> > > > > > > selected!)
> > > > > > > Video Card: nVidia Corporation GeForce 6200
> > > > > > > Dual monitor, both @ 1280x1024
> > > > > > > nvidia module version = 1.0.9629
> > > > > > >
> > > > > > > /sbin/hdparm -t -T /dev/hda
> > > > > > > /dev/hda:
> > > > > > > Timing cached reads: 1884 MB in 2.00 seconds = 941.43 MB/sec
> > > > > > > Timing buffered disk reads: 214 MB in 3.02 seconds = 70.90
> > > > > > > MB/sec
> > > > > > >
> > > > > > > Using Fedora Core 6, and livna repository to satisfy required
> > > > > > > libraries.
> > > > > > >
> > > > > > > Compiling cinelerra with the following script:
> > > > > > >
> > > > > > > #!/usr/bin/bash
> > > > > > > echo configureing for pentium4
> > > > > > > # --with-external-ffmpeg
> > > > > > > ../hvirtual/configure --prefix=/usr --enable-x86 --enable-mmx
> > > > > > > --enable-freetype2 \
> > > > > > > --with-buildinfo=svn \
> > > > > > > CFLAGS='-O3 -pipe -fomit-frame-pointer -funroll-all-loops
> > > > > > > -falign-loops=2 -falign-jumps=2 -falign-functions=2 -ffast-math
> > > > > > > -march=nocona -mfpmath=sse,387 -mmmx -msse' \
> > > > > > > CPPFLAGS='-O3 -pipe -fomit-frame-pointer -funroll-all-loops
> > > > > > > -falign-loops=2 -falign-jumps=2 -falign-functions=2 -ffast-math
> > > > > > > -march=nocona -mfpmath=sse,387 -mmmx -msse' \
> > > > > > > CXXFLAGS='-O3 -pipe -fomit-frame-pointer -funroll-all-loops
> > > > > > > -falign-loops=2 -falign-jumps=2 -falign-functions=2 -ffast-math
> > > > > > > -march=nocona -mfpmath=sse,387 -mmmx -msse'
> > > > > > >
> > > > > > >
> > > > > > > Though /proc/cpuinfo shows me that I don't have sse3 (which
> > > > > > > nocona
> > > > > > > requires!) so I am not too sure of the stability..
> > > > > > >
> > > > > > > PIerre
> > > > > > >
> > > > > > > Jan Luo wrote:
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > > o.k. is there any way to understand what the bottlenecks on the
> > > > > > > > hardware side
> > > > > > > > are. like cpu, hd-speed or ram and so on?
> > > > > > > >
> > > > > > > > cheers
> > > > > > > >
> > > > > > > > jan
> > > > > > > >
> > > > > > > > Nicolas Maufrais wrote:
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > > On Sat, Nov 18, 2006 at 02:24:29AM +0100, Jan Luo wrote:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > found the following link in the hdforindies blog with ( in
> > > > > > > > > > my
> > > > > > > > > > understanding ) hd clips:
> > > > > > > > > >
> > > > > > > > > > http://www.siliconimaging.com/DigitalCinema/gallery_footage.html
> > > > > > > > > >
> > > > > > > > > > when i play the scene_1_shot10 clip / MPEG-2 19Mb/s
> > > > > > > > > > 1080/24P (89MB)
> > > > > > > > > > i get frame rates around 17 fps. my box is a dual amd64
> > > > > > > > > > 4800. can
> > > > > > > > > > anyone play these
> > > > > > > > > > at 30 fps? on which hardware?
> > > > > > > > > >
> > > > > > > > > > thanks
> > > > > > > > > >
> > > > > > > > > > jan
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > I got 13fps on my AMD64 X2 4600.
> > > > > > > > >
> > > > > > > > > Nicolas.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > _______________________________________________
> > > > > > > > Cinelerra mailing list
> > > > > > > > [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
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > _______________________________________________
> > > > > > Cinelerra mailing list
> > > > > > [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
> > > > >
> > > > >
> > > > _______________________________________________
> > > > Cinelerra mailing list
> > > > [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
> > >
> >
> >
> > _______________________________________________
> > Cinelerra mailing list
> > [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