[FFmpeg-user] ffplay java question

Robert Krüger krueger at lesspain.de
Fri Aug 24 11:24:28 CEST 2012


On Fri, Aug 24, 2012 at 12:55 AM, Ignacio Gonzalez <mylaneza at gmail.com> wrote:
> I'm using windows.
>
> This is the command line i used to start my program
>
> java -cp Ffplay.jar;..\Softphone\Softphone.jar Ffplay
> http:\\localhost:8085\Nacho\gatos.m3u8
> J:\ffmpeg-git-41a097a-win32-static\bin\ffplay
>
> This is the command line that eclipse uses.
>
>  "F:\Program Files\Java\jre6\bin\javaw.exe" -classpath
> J:\Nacho\Proyectos\Ffplay;J:\Nacho\Proyectos\Softphone\Softphone.jar Ffplay
> http://localhost:8085/Nacho/gatos.m3u8J:\ffmpeg-git-41a097a-win32-static\bin\ffplay
>
> Using this command line works just fine, but i don't know the cause.
>
> 2012/8/23 Roger Pack <rogerdpack2 at gmail.com>
>
>> > This is part of a Thread, but when I execute with java the ffplay window
>> > does not appear. When i execute my example with eclipse the window does
>> it
>> > appear, Can anybody help me?
>>
>> What OS? How are you starting java?
>> -r

Use java.lang.Process.getErrorStream() to read stderr output. You have
a good chance it will tell you what's wrong.

HTH,

Robert


More information about the ffmpeg-user mailing list