On 1/19/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> i am sorry if you dont think this is relevant to the list... but i thought
> i
> could get help here...
>
> I have a java application from which i am tryin to execute mplayer...
>
> Runtime.getRuntime.exec("mplyaer -fs myfile.mpg");
>
> when i do this i get full screen window of mplayer but the actual video is
> just a small square at the centre whereas if i execute the command
> directly
> from command line it works fine!!
>
>
I would suggest adding the -vo xv option in the command. The easiest guess
being that mplayer is unable to detect the X capabilities in the subshell
created by java.

And also man mplayer to check other options you might have to use.

regards,
C
-- 
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to