Opened 9 years ago
Closed 9 years ago
#4645 closed defect (invalid)
PHP variable concatenate into FFMPEG
Reported by: | kunal | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Hi there,
i am gonna need some help regarding to ffmpeg,i really have done enough research about this topic and so far didnt get any clue to solve it.
my question is, I have a group of file on the server and i want create a web page from file is searched after passing through web page and then i want this Output as a Inout in my ffmpeg code, which i trying to also run through PHP.
'''TO FIND THE FILE PATH''' {{{ $command ='find /mnt/'.$year.' -name'.$MXF.' if (!($stream = ssh2_exec($con, $command))) { echo "fail: unable to execute command\n"; } else { stream_set_blocking($stream, true); $stream_out = ssh2_fetch_stream($stream,SSH2_STREAM_STDIO); $file = stream_get_contents($stream_out); }}} $ff = '/usr/bin/ffmpeg -i "'.$file.'" -vcodec libx264 -[...]
But i get the error message and It say the file and directrory doesn't exist! but actually file exists !!
can someone please help me?
Change History (1)
comment:1 by , 9 years ago
Keywords: | ffmpeg removed |
---|---|
Priority: | important → normal |
Resolution: | → invalid |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Sorry, this is a bug tracker, not a support forum.