Dan Dennedy | 2 Apr 2005 01:51
Favicon

Re: [schmitz <at> zirkon.biophys.uni-duesseldorf.de: Bug#289182: kino endianness issues on powerpc]

On Fri, 2005-03-25 at 18:20 +0100, Daniel Kobras wrote:
> On Fri, Mar 25, 2005 at 06:09:26PM +0100, Daniel Kobras wrote:
> > The third patch in this series does not actually address an endianness
> > issue, but a build failure with gcc 4.0. However, it affects class
> > AudioResample that was moved from frame.cc to frame.h with the previous
> > patch, and therefore needs to be applied in this order. This patch was
> > provided by Andreas Jochens. Changes are small and still compile fine
> > with earlier versions of gcc/g++. Please consider applying.
> 
> This is the fourth and final patch to fix endianness problems in kino.
> When using the Xv method for on-screen display, colours are distorted on
> big-endian hosts.

I appled all of your patches in CVS and am testing them. Initial quick
review all looks very good. I finally got around to setting up my iMac
DV and getting Xv working to try them first hand. 

Does the Debian package build kino against libavcodec for ppc? One
change I made is to enable libavcodec for RGB decoding on NTSC (was PAL
only previously). There must have been an old bug in libavcodec. This
speeds up the rendering of the timeline and storyboard. 
+-DRD-+

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Daniel Kobras | 3 Apr 2005 18:59
Picon

Re: [schmitz <at> zirkon.biophys.uni-duesseldorf.de: Bug#289182: kino endianness issues on powerpc]

On Fri, Apr 01, 2005 at 06:51:25PM -0500, Dan Dennedy wrote:
> I appled all of your patches in CVS and am testing them. Initial quick
> review all looks very good. I finally got around to setting up my iMac
> DV and getting Xv working to try them first hand. 

Great news. Thank you!

> Does the Debian package build kino against libavcodec for ppc? One
> change I made is to enable libavcodec for RGB decoding on NTSC (was PAL
> only previously). There must have been an old bug in libavcodec. This
> speeds up the rendering of the timeline and storyboard. 

Yes. ffmeg/libavcodec was added to the main Debian archives recently, so
nowadays kino in Debian builds with libavcodec decoding by default,
though I wasn't able to test the impact of this change on ppc myself.
I'll have a look at the NTSC change in CVS.

Regards,

Daniel.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Dan Dennedy | 4 Apr 2005 15:22
Favicon

Re: Quick patch to fix 64bit processors and AVI

Augusto, where did you get the Kino source you are using? The lines you
fixed below do not appear anywhere in our sources. It appears as though
the distro applied a patch and did not submit it upstream.

We have new code in CVS HEAD that makes AVI handling much more safe
across endian and architecture. It was tested by Debian users for quite
some time. Feel free to give it a try and let us know if it works for
you.

On Sun, 2005-04-03 at 20:34 -0800, Augusto Cardoso wrote:
> Hi!
> 
> I made this quick patch to get Kino working properly with an amd64 machine 
> running all 64bit code. Without this patch Kino will crash when trying to 
> open some avi, specially with DV content.
> 
> Please note that most avi generated in an amd64 by Kino prior to this patch, 
> may crash Kino after the patch.
> 
> Let me know if you have any questions.
> 
> Thanks.
> 
> Augusto
> 
> PS: Sorry for not trying to use the web to find the proper place for posting 
> this patch. I've been trying to finish a project and don't have much time.
> 
> ===============================================
> --- kino/src/avi.h      2005-03-29 23:02:50.000000000 -0800
(Continue reading)

Dan Dennedy | 4 Apr 2005 19:40
Favicon

Re: Quick patch to fix 64bit processors and AVI

Sorry, I did not notice your patch was reversed. 

You said you "checked" CVS today, Avi.h was changed April 1, but not
exactly the same as your patch. It has extensive changes to deal with
cross architecture issues. Entire structs are packed and not just
certain fields as in your patch. Did you actually compile and test it or
just visually scan it?

On Mon, 2005-04-04 at 10:04 -0700, Augusto Cardoso wrote:
> Hi!
> 
> As you can see from the patch, I used release version kino-0.7.5 (from October 
> 2004). The directory "kino" is the one that changed and it has the CVS 
> version as of Mar 29, 22:35 PST.
> 
> I just checked the CVS on sourceforge, April 4th, 10AM PST and the file avi.h 
> is there and it has the problem.
> 
> This isn't a complex problem, but  I would like to confirm where is the right 
> source code.
> 
> The crash issue came up in this forum: gentoo-amd64 <at> lists.gentoo.org.
> 
> Thanks.
> 
> 	Augusto
> 
> On Monday 04 April 2005 06:22, Dan Dennedy wrote:
> > Augusto, where did you get the Kino source you are using? The lines you
> > fixed below do not appear anywhere in our sources. It appears as though
(Continue reading)

Mark Knecht | 5 Apr 2005 05:04
Picon

DAzzle Digital Video Creator 120

Hi all,
   I'm new to this list but I think not totally new to 1394 or a few
of the folks here. Hi all.

   My son got a new video capture device based on his needs and not
based on what would run on his Linux box - the Dazzle DVC120. It runs
fine on my XP laptop but now I'm stuck with him editing his movies in
the studio instead of in his bedroom. Help me get him off my XP/Gentoo
laptop and back to his FC machine.

   While I know the history of Kino was 1394 based I though I'd
subscribe here and see what the consensus was about the following:

1) Does anyone know of info about the DVC120 running under Linux? I've
found only one thread about this and it didn't come to any
conclusions. I've written the original poster but haven't heard back
as of yet. (Only 24 hours)

2) Does Kino support non-1394 video sources for recording? The Dazzle
is USB-based. If so can you point me toward generic setup
instructions.

   I'm currently scrounging around for info on what chipset might be
in this beast and trying to build some video4linux support on the
hopes that maybe my 2.6.9 type kernel will just recognize it.

   Thanks in advance and hi again to all the old 1394 folks.

Cheers,
Mark
(Continue reading)

Dan Dennedy | 5 Apr 2005 05:21
Favicon

Re: DAzzle Digital Video Creator 120

On Mon, 2005-04-04 at 20:04 -0700, Mark Knecht wrote:
> Hi all,
>    I'm new to this list but I think not totally new to 1394 or a few
> of the folks here. Hi all.
> 
>    My son got a new video capture device based on his needs and not
> based on what would run on his Linux box - the Dazzle DVC120. It runs
> fine on my XP laptop but now I'm stuck with him editing his movies in
> the studio instead of in his bedroom. Help me get him off my XP/Gentoo
> laptop and back to his FC machine.

I saw your post to a gentoo user ml via a bloglines search feed on
"Kino," but my reply was rejected because I am not subscribed. :-)

>    While I know the history of Kino was 1394 based I though I'd
> subscribe here and see what the consensus was about the following:
> 
> 1) Does anyone know of info about the DVC120 running under Linux? I've

I searched a little and found nothing.

> found only one thread about this and it didn't come to any
> conclusions. I've written the original poster but haven't heard back
> as of yet. (Only 24 hours)
> 
> 2) Does Kino support non-1394 video sources for recording? The Dazzle
> is USB-based. If so can you point me toward generic setup
> instructions.

No, Kino is strictly DV/1394 for capture and strictly DV for editing. I
(Continue reading)

Mark Knecht | 5 Apr 2005 05:38
Picon

Re: DAzzle Digital Video Creator 120

On Apr 4, 2005 8:21 PM, Dan Dennedy <dan <at> dennedy.org> wrote:
> On Mon, 2005-04-04 at 20:04 -0700, Mark Knecht wrote:
> > Hi all,
> >    I'm new to this list but I think not totally new to 1394 or a few
> > of the folks here. Hi all.
> >
> >    My son got a new video capture device based on his needs and not
> > based on what would run on his Linux box - the Dazzle DVC120. It runs
> > fine on my XP laptop but now I'm stuck with him editing his movies in
> > the studio instead of in his bedroom. Help me get him off my XP/Gentoo
> > laptop and back to his FC machine.
> 
> I saw your post to a gentoo user ml via a bloglines search feed on
> "Kino," but my reply was rejected because I am not subscribed. :-)

Hi Dan. Thanks for the response.

> 
> >    While I know the history of Kino was 1394 based I though I'd
> > subscribe here and see what the consensus was about the following:
> >
> > 1) Does anyone know of info about the DVC120 running under Linux? I've
> 
> I searched a little and found nothing.

Yeah, that seems to be the story.

> 
> > found only one thread about this and it didn't come to any
> > conclusions. I've written the original poster but haven't heard back
(Continue reading)

Guillaume Cottenceau | 5 Apr 2005 09:45
Picon

Re: DAzzle Digital Video Creator 120

> > 2) Does Kino support non-1394 video sources for recording? The Dazzle
> > is USB-based. If so can you point me toward generic setup
> > instructions.
> 
> No, Kino is strictly DV/1394 for capture and strictly DV for editing. I
> know it's lame, but things are changing and not only for Kino. Like

I have add some luck converting with mencoder or transcode (can't
remember) a video to raw DV and then editing it under Kino.
Unfortunately, I was never able to have the sound, only the video. I
have tried to specify as close sound parameters as possible to what is
produced with dvgrab, but failed. However, there is no reason it
should not be possible, right? But I never went down to the
sourcecode.

--

-- 
Guillaume Cottenceau - http://zarb.org/~gc/

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Jean Zundel | 5 Apr 2005 10:35
Picon
Favicon

Re: DAzzle Digital Video Creator 120

Le 04/04/2005 à 20:04, Mark Knecht écrivait :

> 2) Does Kino support non-1394 video sources for recording? The Dazzle
> is USB-based. If so can you point me toward generic setup
> instructions.

I don't know which output format uses this Dazzle thingy, but...
I had once to convert an MJPEG stream coming from xawtv and finally
found that ffmpeg did the trick (fine piece of software, btw). Wrote 
a one-liner like this one :

ffmpeg -i $1 -r pal -ar 48000 -ac 2 -s 720x576 $1.dv

where $1 is obviously a filename given on the command line.

Hope this helps (a little bit),
--
Jean

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
Dan Dennedy | 5 Apr 2005 15:19
Favicon

Re: DAzzle Digital Video Creator 120

On Tue, 2005-04-05 at 09:45 +0200, Guillaume Cottenceau wrote:
> > > 2) Does Kino support non-1394 video sources for recording? The Dazzle
> > > is USB-based. If so can you point me toward generic setup
> > > instructions.
> > 
> > No, Kino is strictly DV/1394 for capture and strictly DV for editing. I
> > know it's lame, but things are changing and not only for Kino. Like
> 
> I have add some luck converting with mencoder or transcode (can't
> remember) a video to raw DV and then editing it under Kino.
> Unfortunately, I was never able to have the sound, only the video. I
> have tried to specify as close sound parameters as possible to what is
> produced with dvgrab, but failed. However, there is no reason it
> should not be possible, right? But I never went down to the
> sourcecode.

It is actually quite easy to produce compatible DV using ffmpeg 0.4.8+
and specifying an output file with the "dv" extension. In difficult
cases, where the source can not be read by ffmpeg, I have used mencoder
to produce an intermediate (ljpeg avi) that ffmpeg can read. 

Unfortunatley, mencoder does not produce DV AVI output that Kino can
reliably read, or I just have not yet learned how (need to coerce audio
frame size to be the same duration as a single video frame). transcode
in the hands of an experienced user can produce DV readable by Kino, but
it requires one to be quite explicit with its options, which is why I
say for experienced user. gstreamer has pretty good support for DV, but
is much more complicated and little more capable on the input side than
ffmpeg.

(Continue reading)


Gmane