On Thursday 13 November 2003 16:51, Mario Ohnewald wrote:
[snip]
> ==
> Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
> AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
> AF_pre:
Hello!
I think we are almost there yet :)
> On Wednesday 12 November 2003 21:48, Mario Ohnewald wrote:
>
> > ok, i am running the script like this now:
>
> [snip]
>
> This seems to suggest that shell_exec() does not like your command and is
> not
> executing it, so:
>
> Try tackling it logica
On Wednesday 12 November 2003 21:48, Mario Ohnewald wrote:
> ok, i am running the script like this now:
[snip]
This seems to suggest that shell_exec() does not like your command and is not
executing it, so:
Try tackling it logically, step-by-step:
> > Have you:
> >
> > 1) Turned on full error
ok, i am running the script like this now:
START -
$var=shell_exec("/home/lansinplayer/server/apache/htdocs/lansinplayer/getfilelength.sh
/tmp/pitstop.mpeg");
echo "--$var--";
STOP -
Where echo returns nothing. I did a chmod 777 on the getfileleng
On Wednesday 12 November 2003 17:21, Mario Ohnewald wrote:
> > $var=shell_exec("/usr/local/bin/mplayer -identify -frames 0
> > /tmp/pitstop.mpeg 2>/dev/null | grep ID_LENGTH | cut -d \"=\" -f 2");
>
> $var=shell_exec("/usr/local/bin/mplayer -identify -frames 0
> /tmp/pitstop.mpeg 2>/dev/null | gre
Hi,
> $var=shell_exec("/usr/local/bin/mplayer -identify -frames 0
> /tmp/pitstop.mpeg 2>/dev/null | grep ID_LENGTH | cut -d \"=\" -f 2");
$var=shell_exec("/usr/local/bin/mplayer -identify -frames 0
/tmp/pitstop.mpeg 2>/dev/null | grep ID_LENGTH | cut -d \"=\" -f 2");
echo "Output: $var";
Still g
[snip]
> $var=shell_exec("/usr/local/bin/mplayer -identify -frames 0
> /tmp/pitstop.mpeg 2>/dev/null\| grep ID_LENGTH \| cut -d \"=\" -f 2");
[/snip]
$var=shell_exec("/usr/local/bin/mplayer -identify -frames 0
/tmp/pitstop.mpeg 2>/dev/null | grep ID_LENGTH | cut -d \"=\" -f 2");
Try just escapin
> Have you tried escaping the pipes and quotes? Try this:
>
> $var=shell_exec("/usr/local/bin/mplayer -identify -frames 0
> /tmp/pitstop.mpeg 2>/dev/null\| grep ID_LENGTH \| cut -d \"=\" -f 2");
nope, still get nothing back.
>
> Mario Ohnewald wrote:
>
> > $var=shell_exec("/usr/local/bin/mpl
Have you tried escaping the pipes and quotes? Try this:
$var=shell_exec("/usr/local/bin/mplayer -identify -frames 0
/tmp/pitstop.mpeg 2>/dev/null\| grep ID_LENGTH \| cut -d \"=\" -f 2");
Mario Ohnewald wrote:
$var=shell_exec("/usr/local/bin/mplayer -identify -frames 0
/tmp/pitstop.mpeg 2>/dev/
9 matches
Mail list logo