Re: [Mplayerplug-in-devel] Want to add tv capture for plugin
Brought to you by:
kdekorte
From: Asaf <tv...@ne...> - 2006-06-26 08:11:38
|
On =D7=95', 2006-06-23 at 07:08 -0600, Kevin DeKorte wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > Asaf wrote: > > On =D7=94', 2006-06-08 at 10:42 -0700, Kevin DeKorte wrote: > >> You can put the driver stuff in the mplayer config > >> file. The example you > >> provided the driver option is ignored. > >> > >> something like this > >> > >> tv=3Ddriver=3Dv4l2:input=3D1:width=3D320:height=3D200:device= =3D/dev/video0:audiorate=3D48000 > >> > >=20 > >=20 > > I've tried this and also: > > driver=3Dv4l2:input=3D1:width=3D320:height=3D200:device=3D/dev/vi= deo0:audiorate=3D48000 > >=20 > > but mplayer command line resulting : > >=20 > > Starting: mplayer -wid 0x36000c2 -vf scale=3D380:-3 -vo x11 -zoom > > -osdlevel 0 -nojoystick -noconsolecontrols -cookies -slave -user-= agent > > NSPlayer -nomouseinput -cache 512 tv:// > >=20 > > As you can see, it doesnt get the info from configuration file > > , is possible to add arbitary strings for mplayer command-line > > , or do they have to be predefined in mplayerplug-in source code = ? > >=20 > > does this need to be fixed in source code ? > >=20 > > Thanks > >=20 >=20 > Asaf, >=20 > Well I got that from the mplayer man page, so I'm not sure if it wo= rks > or not. I do know that it won't appear in the mplayerplug-in debug = log > on the mplayer command line. There may be some more useful informat= ion > further down in the log like what mplayer is doing. >=20 > Again, I don't believe this is something that should be necessary i= n the > source code at this point. However, I am willing to be proven wrong= . > But, if it does go into the source there will be NO hardcoded value= s. > They will have to be pulled from the config file. >=20 > Also I don't think you want the -cache 512 line to appear when you = are > using TV so make sure you have nocache=3D1 in the embed tag that yo= u are > using. It also looks like you are using a window width of 380 whic= h if > I recall from your earlier posts you were capturing 640x480 (so you= have > a size mismatch and that will give you odd output) >=20 > Kevin >=20 >=20 > - -- > Get my public GnuPG key from > http://keyserver.veridis.com:11371/export?id=3D7574690260641978351 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.3 (GNU/Linux) > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org >=20 > iD8DBQFEm+flaR60qN0tF+8RAq0bAJ45k3rf+ONRs9I4kflC3AN8cB0EAgCgr3ea > KHygfF0se+lGiOYi0+xMr0g=3D > =3Du0io > -----END PGP SIGNATURE----- >=20 > Using Tomcat but need to do more? Need to support web services, sec= urity? > Get stuff done quickly with pre-integrated technology to make your = job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache G= eronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057= &dat=3D121642 > _______________________________________________ > Mplayerplug-in-devel mailing list > Mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel Kevin, if these values wont get to the command line Theres no point looking fourher ,becouse its just want work. driver=3Dv4l2:input=3D1:width=3D320:height=3D200:device=3D/dev/video0= :audiorate=3D480007 finally, I have to push those values=20 =66rom the configuration file / embed tag into mplayer's command line. The problem is generic and unrelated to tv-capture specificly, rather it is about passing arbitary arguments to mplayer. (or maybe there shouldnt be such a thing ?) thanks |