Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 1999 23:39:12 +0900 (JST)
From:      sugiura@kt.rim.or.jp (Sugiura Shiro)
To:        openspace-ml@po.shiojiri.ne.jp
Subject:   $B1Q8l$b$+(B
Message-ID:  <199911291439.XAA08482@mail.kt.rim.or.jp>

next in thread | raw e-mail | index | archive | help
$B$9$.$&$i$7$m$&$G$9!#(B

$B:G6a!"$A$g$C$H$:$D4Z9q8l$N(B"$BH/2;(B"$B$,=PMh$k$h$&$K$J$C$F4n$s$G$$$?$N$G$9(B
$B$,!"4Z9q8l$@$1$d$C$F$$$k$o$1$K$b$$$+$J$$$h$&$G!#(B

$B0JA0$K$b8@$C$?DL$j!":G6a(BMPEG$B:n@.$r$d$C$F$$$^$9$,!"$J$+$J$+G<F@$,$$$/(B
$B$b$N$,=PMh$F$$$^$;$s!#G<F@$,$$$C$F$$$J$$M}M3$O$$$m$$$m$"$k$o$1$G$9$,!"(B
$B$H$j$"$($:(B16bpp$B$C$F$$$&$N$,$d$@$J!"$J$s$H$+$7$?$$$J$H!"(Bfreebsd-multimedia
$B$H$$$&%a!<%j%s%0%j%9%H$K0J2<$N<ALd$rEj$2$F$_$?$N$G$7$?!"(B

------------------------------------------------------------------
Date: Sat, 27 Nov 1999 16:21:06 JST
To: multimedia@FreeBSD.ORG
Subject: How to capture and save 24bpp or 32bpp Video ?
From: sugiura@kt.rim.or.jp (Sugiura Shiro)

Please, excuse my poor writing skill.

I want to captune and save video 24bpp or 32bpp with bt848, bt878
video capture card on FreeBSD3.2RELEASE. Fxtv1.02 suports capture
and display 32bpp , but save to HDD only 16bit color.

Dose exist a "patch" to save 24ppp or 32bpp video with fxtv,
or any other software which can save data 24bpp, 32bpp ? 

Thank you.
------------------------------------------------------------------

1$B9TL\$O!"$3$N$^$((B em $B$5$s$,$$$C$F$?$d$D$G$9$M!#(B
$B;d$N=q$$$?(B($B$D$b$j$N(B)$BFbMF$O(B

 | bt848,bt878$B$N%A%C%W$,:\$C$?%S%G%*%-%c%W%A%c!<%+!<%I$G%S%G%*$r%-%c%W(B
 | $B%A%c!<$7$F$k$s$@$1$I!"(BFxtv1.02($B%=%U%H%&%(%"$NL>A0(B)$B$@$H!"%-%c%W%A%c(B
 | $B!<$7$FI=<($9$k$J$i(B 32bpp $B$K$J$k$s$@$1$I!"%;!<%V$9$k;~$K(B 16bpp $B$K$J(B
 | $B$C$A$c$&$s$@$h$M!#(B
 | 
 | $B$@$+$i!"$3$l$r(B32bpp$B$H$+$G%;!<%V$9$k%Q%C%A$H$+!"$J$s$+JL$N%=%U%HCN$i(B
 | $B$J$$$+$J(B

$B$G$9!#(BMPEG$B$r:n$C$F$k$s$@$H$$$&@bL@$,H4$1$F$$$^$7$?!#(B
$B$3$l$r<u$1$FMh$?2sEz$,!"$3$l!"(B

------------------------------------------------------------------
Sugiura Shiro:
 |I want to captune and save video 24bpp or 32bpp with bt848, bt878
 |video capture card on FreeBSD3.2RELEASE. Fxtv1.02 suports capture
 |and display 32bpp , but save to HDD only 16bit color.
 |
 |Dose exist a "patch" to save 24ppp or 32bpp video with fxtv,
 |or any other software which can save data 24bpp, 32bpp ? 

I'm not 100% sure I know what you're looking for.  Let me describe what it
does.

When capturing video in RGB format, for now, Fxtv always captures in
16-bpp.  When saving these images (we assumes your capture target is
"Images", not "MPEG" or "MPEG Ready"), it saves in either 24-bpp TIFF or
24-bpp PPM format.  Admittedly this isn't that great if you want high
quality images (vs images captured as fast as possible).  When I wrote
this, I was more interested in the latter.  This was before YUV was
supported, so I stuck with the lowest-bandwidth capture format:  RGB16.

What was needed was a convert-any-to-any image format converter.  I made a
first start at this in Fxtv 1.02 by separating out the code used to convert
images for display so it could be shared by the image and video capture
sections (see the videolib/ subdirectory in the fxtv src dist):

    void VIDEOLIBConvertImage( VL_IMAGE *src, VL_IMAGE *dst );

Currently it only handles RGB->RGB conversions, but my intent was to
support YUV->RGB as well so, for example, one could capture images using
IYUV (Planar 122:122) and then save 24 or 32-bpp, or other permutations.

So is you request to be able to 'capture' images using a depth > 16, saving
these images as 24-bpp TIFF or PPM images?

Randall
------------------------------------------------------------------

"Randall"$B$5$s$C$F!"(BFxtv$B:n$C$F$k?M$J$s$G$9$1$I!"$3$l$r4hD%$C$FOBLu(B
$B$9$k$H(B($B2&MM;HMQ(B)

 | $B;d$O!"(B100$B%Q!<%;%s%H2?$N$?$a$K$"$J$?$,8+$($F$$$k$+$rCN$C$F$$$k$O3N$+(B
 | $B$G$O$"$j$^$;$s!#2?$r(B($B$K(B)$B$=$l$,$9$k$+$H$$$&$3$H$r@bL@$5$;$F$/$@$5$$!#(B
 | 
 | RGB$B%U%)!<%^%C%H$G%S%G%*$rJa$($k$H$-$K!"$5$7$"$?$j!"(BFxtv$B$O!"(B16 - bpp
 | $B$G$$$D$bJa$($^$9!#$3$l$i$N%$%a!<%8$rJ]B8$9$k$H$-$K(B($B2f!9$"$J$?$N%-%c(B
 | $B%W%A%c!<L\I8$,!V(BMPEG$B!W!"$"$k$$$O!V(BMPEG$BMQ0U!W$G$O$J$/!V%$%a!<%8!W$@(B
 | $B$H2>Dj$7$^$9(B)$B!"$=$l$O!"(B24 - bpp TIFF$B$^$?$O(B24 - bpp$B%W%m%@%/%H!&%]!<(B
 | $B%H%U%)%j%*!&%^%M%8%a%s%H!"%U%)!<%^%C%H(B($B$N0lJ}(B)$B$G@aLs$7$^$9!#L@$i$+(B
 | $B$K!"$3$l$O!"$=$N$9$P$i$7$$$"$J$?$,<A$N9b$$%$%a!<%8$,M_$7$$$+(B($B$G$-(B
 | $B$k$@$1B.$/Ja$($i$l$?%$%a!<%8(Bvs )$B$G$O$"$j$^$;$s!#$3$l$r=q$$$?$H$-$K!"(B
 | $B;d$O!"8e<T$K$h$j6=L#$,$"$j$^$7$?!#$3$l$O!"(BYUV$B$O%5%]!<%H$5$l$^$7$?!"(B
 | $B$7$?$,$C$F!";d$,Dc$$BS0hI}$N%-%c%W%A%c!<!&%U%)!<%^%C%H$K$/$C$D$$$F(B
 | $B$$$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%s%H(B
 | $B$,1G$9(B16$B!"5_=u(B?

$B$3$N2sEz$G$o$+$k$3$H$O!"$^$:;d$,(BMPEG$B$r:n$C$F$k$s$@$H$$$&$3$H$r$$$o(B
$B$J$+$C$?$N$,$+$J$jCWL?E*$G$"$k$H$$$&$3$H$G$9$,!"$3$N2sEz$C$F!"$d$C(B
$B$Q$jA4It!"F02h$8$c$J$/$F!"@E;_2hA|$rJ]B8$9$k$3$H$r8@$C$F$$$k$H$_$F(B
$B$$$$$N$G$7$g$&$+!)(B

$B$=$l$H!"??CfJU$j$G(B

 | $B%H%U%)%j%*!&%^%M%8%a%s%H!"%U%)!<%^%C%H(B($B$N0lJ}(B)$B$G@aLs$7$^$9!#L@$i$+(B
 | $B$K!"$3$l$O!"$=$N$9$P$i$7$$$"$J$?$,<A$N9b$$%$%a!<%8$,M_$7$$$+(B($B$G$-(B
 | $B$k$@$1B.$/Ja$($i$l$?%$%a!<%8(Bvs )$B$G$O$"$j$^$;$s!#$3$l$r=q$$$?$H$-$K!"(B
 | $B;d$O!"8e<T$K$h$j6=L#$,$"$j$^$7$?!#$3$l$O!"(BYUV$B$O%5%]!<%H$5$l$^$7$?!"(B

$B$H!"$$$C$F$$$k$N$G$9$,!"$3$NCf$N(B"$B;d$O8e<T$K$h$j6=L#$,$"$k(B"$B$N(B"$B8e<T(B"
$B$C$F$J$s$G$7$g$&!)(B

$B<!2s$N;d$+$i$N2sEzM=Dj$G$9$,!"$b$H$b$HNI$/$o$+$C$F$$$J$+$C$?1Q8l$,(B
$B:G6a$N%"%8%"%D%"!<$,$?$?$C$F$+!"99$KA4A3$o$+$i$J$/$J$C$F$$$k$?$a!#(B

----->8----->8----->8----->8----->8----->8----->8----->8----->8----->8
$B$"$j$,$H$&!"(BRandall$B!#(Bfxtv$B$OKhF|;H$o$;$F$b$i$C$F$k$s$@!#(B
(Thank you, Randall. I use fxtv every day.) 

>> I'm not 100% sure I know what you're looking for.  Let me describe 
>> what it does.

$B@hF|$N%a!<%k$G!"Bg;v$J$3$H$r=q$/$N$rK:$l$F$$$?!#;d$O(BMPEG1 system$B$r(B
$B:n$C$F$$$k$s$G$9!#(B
( It was forgotten by mail of the other day to write to be important.
I am making MPEG1 system.)

$B$=$l$H$b$&0l$D5$$,$D$$$?$3$H$,!";d$K$H$C$F1Q8l$NFI$_=q$-$O$H$F$b%3(B
$B%9%H$,$+$+$k$H$$$&$3$H$@!#<B$O!"$^$@$"$J$?$+$i$b$i$C$?2sEz$b$A$c$s(B
$B$HM}2r$G$-$F$$$J$$$N$@!#;d$O(Bfxtv$B$h$j!"$^$:1Q8l$rJY6/$7$J$-$c$$$1$J(B
$B$$$h$&$@!#(B
(And I found ,English reading and writing is to cost a cost very 
much for me. As a matter of fact, the answer which it still got 
from you can't be understood neatly, either. As for me,  which 
English is studied first with seems to be more improper than fxtv.)
----->8----->8----->8----->8----->8----->8----->8----->8----->8----->8

$B$H$+$$$&2sEz$r$7$h$&$H;W$C$F$$$k$o$1$G$9$,!"(B(...)$B$NCf$N!"2x$7$$(B
$B1QJ8$N=PMh$O!"$$$+$,$J$b$N$G$7$g$&!#(B

--  
      $B$9$.$&$i$7$m$&(B(Sugiura Shiro)      E-mail : sugiura@kt.rim.or.jp
       $B8f4uK>$NJ}$K!"$b$l$J$/(B less-332.tar.gz $B$r%W%l%<%s%H$7$F$$$^$9(B
      [     If you want to talk with me, you MUST speak Japanese     ]


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911291439.XAA08482>