For urgent help, how can I write ffmpeg code !! Asp writes:
<%
Video = "abc.mp3"
Video3 = "123.mp3"
Str = "ffmpeg.exe"
Str = server. mappath (str)
Set WshShell = server. CreateObject ("Wscript. Shell ")
Str = str & "-I" & server. mappath (video) & "-B 360-ar 24000-t 39" & server. mappath (video2)
Isffmpeg = WshShell. Run (str, 1, false)
Set WshShell = Nothing
%>
But how can I write the above code in php ???
How to write ffmpeg code for php ~~~~~~~~~~
Reply to discussion (solution)
ASP
Str = str & "-I" & server. mappath (video) & "-B 360-ar 24000-t 39" & server. mappath (video2)
PHP
$ Str. = "-I". realpath ($ video). "-B 360-ar 24000-t 39". realpath ($ video2 );
What about other code? Can you give the complete code?
Php does not know how to write
ASP
Str = str & "-I" & server. mappath (video) & "-B 360-ar 24000-t 39" & server. mappath (video2)
PHP
$ Str. = "-I". realpath ($ video). "-B 360-ar 24000-t 39". realpath ($ video2 );
How to write it? Don't give it half ~~ What many people need ~