PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.php > ffmpeg exec trouble
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
ffmpeg exec trouble

Réponse
 
LinkBack Outils de la discussion
Vieux 18/02/2008, 13h34   #1
mark19780814@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut ffmpeg exec trouble

Hi

Im on cent os 5. I installed ffmpeg, and it works good.

Then I tried to call it from php. Exec itself works. Safe mode is off.

But when I do exec("ffmpeg params");
no file is created.

If I use the same string passed to exec, on the command line, then a
file is created. But from php, no files are generated.

The file Im reading is chmodded 777.
The paths of the files are absolute

I also tried to call ffmpeg with absolute path: /usr/bin/ffmpeg but
withuot luck.

In the error logs there is of course nothing.

Please, what can the problem be?
  Réponse avec citation
Vieux 18/02/2008, 15h24   #2
Chris Jones
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ffmpeg exec trouble

On 18 Feb, 13:34, mark19780...@gmail.com wrote:
> Hi
>
> Im on cent os 5. I installed ffmpeg, and it works good.
>
> Then I tried to call it from php. Exec itself works. Safe mode is off.
>
> But when I do exec("ffmpeg params");
> no file is created.
>
> If I use the same string passed to exec, on the command line, then a
> file is created. But from php, no files are generated.
>
> The file Im reading is chmodded 777.
> The paths of the files are absolute
>
> I also tried to call ffmpeg with absolute path: /usr/bin/ffmpeg but
> withuot luck.
>
> In the error logs there is of course nothing.
>
> Please, what can the problem be?



Are you using ffmpeg to write out a file based on the input file?

If so, does the directory where you're writing to have global write
permissions?
  Réponse avec citation
Vieux 18/02/2008, 16h40   #3
mark19780814@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ffmpeg exec trouble

On 18 Feb, 16:24, Chris Jones <chris...@gmail.com> wrote:
> On 18 Feb, 13:34, mark19780...@gmail.com wrote:
>
>
>
>
>
> > Hi

>
> > Im on cent os 5. I installed ffmpeg, and it works good.

>
> > Then I tried to call it from php. Exec itself works. Safe mode is off.

>
> > But when I do exec("ffmpeg params");
> > no file is created.

>
> > If I use the same string passed to exec, on the command line, then a
> > file is created. But from php, no files are generated.

>
> > The file Im reading is chmodded 777.
> > The paths of the files are absolute

>
> > I also tried to call ffmpeg with absolute path: /usr/bin/ffmpeg but
> > withuot luck.

>
> > In the error logs there is of course nothing.

>
> > Please, what can the problem be?

>
> Are you using ffmpeg to write out a file based on the input file?
>
> If so, does the directory where you're writing to have global write
> permissions?- Dölj citerad text -
>
> - Visa citerad text -


Thank you, ýou saved my day. Yes, it was a permission issue.
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 07h37.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08631 seconds with 11 queries