[mythtv-users] Re: [ivtv-devel] PVR-250 /dev/yuv fixup troubles

papenfuss at juneau.me.vt.edu papenfuss at juneau.me.vt.edu
Wed Mar 31 13:24:20 EST 2004


	Amazingly difficult to find.  The http://www.poptix.net/ivtv refused to 
search for me, but I found another list archive on sourceforge.  Most of the 
posts referring to the user-space programs were apparently attached... and lost 
in the list archiving.  Anyway, for anyone else who cares, MPlayer now mostly 
supports the format directly.  Mostly, because apparently there's an oops in 
how it's defined.  I found this patch that works on my source (1.0pre3)


--- m_option.c.ORIGINAL Fri Nov  7 19:26:24 2003
+++ m_option.c  Fri Dec 26 01:34:19 2003
@@ -931,7 +931,7 @@
   {"i420", IMGFMT_I420},
   {"iyuv", IMGFMT_IYUV},
   {"clpl", IMGFMT_CLPL},
-  {"hm12", IMGFMT_NV12},
+  {"hm12", IMGFMT_HM12},
   {"y800", IMGFMT_Y800},
   {"y8", IMGFMT_Y8},
   {"nv12", IMGFMT_NV12},


	I was able to watch it with this command:
'mplayer -rawvideo on:ntsc:format=hm12 test.yuv'

and convert it to "standard" YUV with
'mplayer -rawvideo on:ntsc:format=hm12 test.yuv -vo yuv4mpeg'


Now with this in hand, I'll try to see if there's a drop in quality going 
through the mpeg encoder on the chip.

Thanks for the moral support in sniffing out the code.

-Cory

On Wed, 31 Mar 2004, kevin thayer wrote:

> fixup is broken (as you found out).
> 
> the raw data can be decoded, and there have been
> programs to do it posted to the mailing-list. check
> http://www.poptix.net/ivtv and do some searching there
> 
> -tmk
> 
> --- papenfuss at juneau.me.vt.edu wrote:
> >         A way around it would be to capture the
> > hauppauge-proprietary YUV
> > format (default ivtv without the FIXUP) and post
> > process it.  I've done some   
> > googling, but no leads on any code to do this.  So,
> > basically, I can capture   
> > some data that vaguely resembles YUV data, but can't
> > play it or process it with
> > anything.
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance Tax Center - File online. File on time.
> http://taxes.yahoo.com/filing.html
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> ivtv-devel mailing list
> ivtv-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ivtv-devel
> 

-- 
*************************************************************************
* The prime directive of Linux:  					*
* 	- learn what you don't know, 					*
* 	- teach what you do.						*
* 						(Just my 20 USm$)	*
*************************************************************************






More information about the mythtv-users mailing list