Re: [CinCV] Errors while making toc files

2010-03-03 Thread Ed Vaessen
> On Sun, 2010-02-28 at 23:04 +0100, Ed Vaessen wrote:
>> I converted nearly 1000 JVC TOD file to mpg files.
>> When trying to import these mpg files in cinelerra CV 2.1, the program
>> shows windows that tell that toc files are being made. The toc files are
>> put in an appointed .bcast directory. The log shows messages like this:
>>
>> [mpeg3io_open_file] Error opening file
>> '/data/.bcast/data_Kenya_mpegs_PRG007_PRG007MOV04F_mpg.toc': No such
>> file
>> or directory
>>
>> That error message does not seem to matter as the import continues. But
>> after a few dozen of these messages, cinelerra simply halts.
>> The only way out is to use Ctrl-C to abort the program and start the
>> import anew. The production of toc files continues where it stopped and
>> after a few dozen, the program stops again.
>> This goes on and on and you can imagine what this means when you try to
>> import nearly 1000 files.
>> Is there a way to solve this problem?
>>
>> Ed
>
> Ed,
> I experienced the same problem and wrote a shell script to convert mpeg
> table of contents files from a directory and put them in .bcast.  Here
> is a link to that script:
> http://crazedmuleproductions.blogspot.com/2010/01/mpeg-toc-maker.html
>
> Just make sure you change the file extension type at the top of the
> script.
>
> scott
>
Hello Scott,

That is a nice utility. Thank you very much.


Ed




>
> ___
> 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


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

2010-03-03 Thread Einar Rünkaru
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.

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

Einar Rünkaru

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


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

2010-03-03 Thread Christian Thaeter
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


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

2010-03-03 Thread p...@ichthyostega.de
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.

Anyway, the greatest problem with this seems to be "mergeability" with
upstream. The whole source base is littered with these
"if (play_forward) ... else ..."-constructs and the off by one offset
is handled manually at dozens of locations.

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).

At that time, the folks involved into cinelerra development since a long time
pointed out, that, as "upstream" can't be counted upon when it comes to
accepting changes, any change has to be done such as not to hinder merging
in new source versions from upstream.

Meanwhile the situation might be different, inasmuch develompment on the
community version of Cinelerra is mostly stalled, due to lack of developers.
Cinelerra 4 is out since a long time and we didn't even manage to perform
the merge into CV.

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?

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?

Cheers
Hermannn Voßeler
(aka "Ichthyo")

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


[CinCV] batch mode shell script acting different via shell/php and http

2010-03-03 Thread Jim Feniello
Hi,
I've made it pretty far with the help of people on this list, thanks!

Here's where I'm at now:

I have a bash script i wrote to do a few things (copy some files, sed some text 
files, and execute a few apps (ffmpeg, cinelerra).
I also have a php page that runs this 
bash script through exec();

If i run via the shell (su'd as apache) as: php myphppage.php it executes 
correctly, copying the files, sed replacements, executes ffmpeg and cinelerra 
as expected.
When i hit myphppage.php via a 
browser, it executes, kicks off the 
.sh script, does the copies, runs ffmpeg, but when it runs cinelerra, it goes 
nuts, basically resulting in not running correctly, and creating a bunch 
(10ish) files in the working directory with names like ?, ?a`, p!2, etc.

What i don't understand is what is different from being on ssh as user apache 
and running php mypage.php vs hitting mypage.php with a browser (since apache 
runs as user apache).

Anyone know if there are any specific Environment variables/settings that 
cinelerra in batch mode may require that may be different in my two scenarios?

I'll be happy to provide whatever additional information or files that may be 
helpful in solving this.

Thanks
-jim


Re: [CinCV] batch mode shell script acting different via shell/php and http

2010-03-03 Thread sfrase6

- Original Message -
From: "Jim Feniello" 
To: cinelerra@skolelinux.no
Sent: Wednesday, March 3, 2010 9:42:16 AM GMT -05:00 US/Canada Eastern
Subject: [CinCV] batch mode shell script acting different via shell/php and http

Jim,
I don't have much time today, but have your script echo out the environment 
variables in the two places (from ssh and then from the php script) in order to 
understand the differences in the execution environments.

scott

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


RE: [CinCV] batch mode shell script acting different via shell/php and http

2010-03-03 Thread Jim Feniello
I looped through $_ENV in php and here's what I get (quite a difference, now 
need to figure out what's needed, and how to change it)

HTTP

[TERM] => xterm
[PATH] => /sbin:/usr/sbin:/bin:/usr/bin
[PWD] => /
[LANG] => C
[SHLVL] => 2
[_] => /usr/sbin/httpd

SHELL
[HOSTNAME] => wowza
[SHELL] => /bin/bash
[TERM] => xterm
[HISTSIZE] => 1000
[SSH_CLIENT] => XXX.XXX.172.177 33821 22
[SSH_TTY] => /dev/pts/0
[USER] => apache
[LS_COLORS] => 
no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
[PATH] => 
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
[MAIL] => /var/spool/mail/root
[_] => /usr/bin/php
[PWD] => /var/www/html/ws
[INPUTRC] => /etc/inputrc
[LANG] => en_US.UTF-8
[HOME] => /var/www
[SHLVL] => 2
[LOGNAME] => apache
[SSH_CONNECTION] => XXX.XXX.172.177 33821 XXX.XXX.210.195 22
[LESSOPEN] => |/usr/bin/lesspipe.sh %s
[G_BROKEN_FILENAMES] => 1



- Original Message -
From: "Jim Feniello" 
To: cinelerra@skolelinux.no
Sent: Wednesday, March 3, 2010 9:42:16 AM GMT -05:00 US/Canada Eastern
Subject: [CinCV] batch mode shell script acting different via shell/php and http

Jim,
I don't have much time today, but have your script echo out the environment 
variables in the two places (from ssh and then from the php script) in order to 
understand the differences in the execution environments.

scott

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

)ޕ��jf��)��+-
)ޕ��j�(��b��g�mx��)鮉��f��f���(��b��g��b�ا~�܊w�z��

[CinCV] Can't render with YUV4MPEG Stream

2010-03-03 Thread Arthur

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


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

2010-03-03 Thread E Chalaron
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



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


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

2010-03-03 Thread Scott C. Frase
On Wed, 2010-03-03 at 17:57 -0700, 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:
> 
Arthur,
Not sure if you've seen my Beginner's Guide to Exporting Video from
Cinelerra:
http://crazedmuleproductions.blogspot.com/2007/06/beginners-guide-to-exporting-video-from.html

that might help,
scott


___
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-03 Thread Arthur





On 03/03/2010 06:14 PM, Scott C. Frase wrote:

On Wed, 2010-03-03 at 17:57 -0700, 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:

 

Arthur,
Not sure if you've seen my Beginner's Guide to Exporting Video from
Cinelerra:
http://crazedmuleproductions.blogspot.com/2007/06/beginners-guide-to-exporting-video-from.html
   
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!
   


that might help,

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

2010-03-03 Thread Gour
On Wed, 03 Mar 2010 17:57:15 -0700
>> "Arthur" == Arthur  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?


Sincerely,
Gour

-- 

Gour  | Hlapicina, Croatia  | GPG key: F96FF5F6



signature.asc
Description: PGP signature