Giter VIP home page Giter VIP logo

Comments (23)

mariu1986 avatar mariu1986 commented on July 29, 2024

solved, sorry, i created new database

from avideo-encoder.

mariu1986 avatar mariu1986 commented on July 29, 2024

hmm, but this encoder don't work today

from avideo-encoder.

DanielnetoDotCom avatar DanielnetoDotCom commented on July 29, 2024

hi, it suppose to work
What is the problem?
give me more details

from avideo-encoder.

mariu1986 avatar mariu1986 commented on July 29, 2024

Errors:
Execute code error Array ( ) Code: ffmpeg -i /home/mar1986/ftp/YouPHPTube-Encoder-master/videos/2_tmpFile.mp4 -vf scale=-2:480 -vcodec h264 -acodec aac -strict -2 -y /home/mar1986/ftp/YouPHPTube-Encoder-master/videos/2_tmpFile_converted.mp4

Please see link to my encoder:
http://ballbustingbondagebdsm.pl/YouPHPTube-Encoder-master/
user test
password test

from avideo-encoder.

DanielnetoDotCom avatar DanielnetoDotCom commented on July 29, 2024

If you copy and paste this code on your server terminal, what is the output?

ffmpeg -i /home/mar1986/ftp/YouPHPTube-Encoder-master/videos/2_tmpFile.mp4 -vf scale=-2:480 -vcodec h264 -acodec aac -strict -2 -y /home/mar1986/ftp/YouPHPTube-Encoder-master/videos/2_tmpFile_converted.mp4

from avideo-encoder.

mariu1986 avatar mariu1986 commented on July 29, 2024

server terminal ?

from avideo-encoder.

mariu1986 avatar mariu1986 commented on July 29, 2024

don't have i tihnk

from avideo-encoder.

DanielnetoDotCom avatar DanielnetoDotCom commented on July 29, 2024

from avideo-encoder.

mariu1986 avatar mariu1986 commented on July 29, 2024

i don't see anything, did you seen info in configuration when you log in ?

from avideo-encoder.

mariu1986 avatar mariu1986 commented on July 29, 2024

i am log in to database througth phpMyAdmin
when i paste this code in console inside database i have a sereval errors

from avideo-encoder.

mariu1986 avatar mariu1986 commented on July 29, 2024

in config we have errors:
1 - MP4 ffmpeg -i {$pathFileName} -vf scale=-2:480 -vcodec h264 -acodec aac -strict -2 -y {$destinationFile}

2 - Webm ffmpeg -i {$pathFileName} -vf scale=-2:360 -f webm -c:v libvpx -b:v 1M -acodec libvorbis -y {$destinationFile}

3 - MP3 ffmpeg -i {$pathFileName} -acodec libmp3lame -y {$destinationFile}

4 - OGG ffmpeg -i {$pathFileName} -acodec libvorbis -y {$destinationFile}

5 - MP3 to Spectrum.MP4 ffmpeg -i {$pathFileName} -filter_complex '[0:a]showwaves=s=640x360:mode=line,format=yuv420p[v]' -map '[v]' -map 0:a -c:v libx264 -c:a copy {$destinationFile}

6 - Video.MP4 to Audio.MP3 ffmpeg -i {$pathFileName} -y {$destinationFile}

from avideo-encoder.

mariu1986 avatar mariu1986 commented on July 29, 2024

i tried on different hosting and this same error

from avideo-encoder.

DanielnetoDotCom avatar DanielnetoDotCom commented on July 29, 2024

It is not and sql command, it is an shell command line
You must paste it on your Linux server terminal

from avideo-encoder.

mariu1986 avatar mariu1986 commented on July 29, 2024

I looking for additional terminal yesterday and today, but i don't have it in phpMyAdmin

from avideo-encoder.

DanielnetoDotCom avatar DanielnetoDotCom commented on July 29, 2024

It is not in phpmyadmin you must check with your host provider if you have ssh access

from avideo-encoder.

mariu1986 avatar mariu1986 commented on July 29, 2024

ok, i logged by program PuTTY

when i paste "ffmpeg -i /home/mar1986/ftp/YouPHPTube-Encoder-master/videos/2_tmpFile.mp4 -vf scale=-2:480 -vcodec h264 -acodec aac -strict -2 -y /home/mar1986/ftp/YouPHPTube-Encoder-master/videos/2_tmpFile_converted.mp4"

i have only info:
-bash: ffmpeg: command not found

mar1986@mar1986:~$ ffmpeg -i /home/mar1986/ftp/YouPHPTube-Encoder-master/videos/2_tmpFile.mp4 -vf scale=-2:480 -vcodec h264 -acodec aac -strict -2 -y /home/mar1986/ftp/YouPHPTube-Encoder-master/videos/2_tmpFile_converted.mp4
-bash: ffmpeg: command not found

from avideo-encoder.

DanielnetoDotCom avatar DanielnetoDotCom commented on July 29, 2024

That is why you must install ffmpeg
Try this tutorial https://github.com/DanielnetoDotCom/YouPHPTube/wiki/How-to-install-LAMP,--FFMPEG-and-Git-on-a-fresh-Ubuntu-16.x---For-YouPHPTube-version-3.x-or-older

from avideo-encoder.

mariu1986 avatar mariu1986 commented on July 29, 2024

ehhh :(, when i past code
sudo apt-get install apache2 php7.0 libapache2-mod-php7.0 php7.0-mysql php7.0-curl php7.0-gd php7.0-intl mysql-server mysql-client ffmpeg git libimage-exiftool-perl

in terminal i must type password i think
[sudo] password for mar1986:

but what password ? my password for login to this terminal don't work here

from avideo-encoder.

DanielnetoDotCom avatar DanielnetoDotCom commented on July 29, 2024

you need a root password.
Your host provider must give you this or ask them to install FFMPEG for you

from avideo-encoder.

mariu1986 avatar mariu1986 commented on July 29, 2024

on another hosting which support FFMPEG it works, upload correctly, but in configuration panel in encoder we can still see a errors:
1 - MP4 ffmpeg -i {$pathFileName} -vf scale=-2:480 -vcodec h264 -acodec aac -strict -2 -y {$destinationFile}

2 - Webm ffmpeg -i {$pathFileName} -vf scale=-2:360 -f webm -c:v libvpx -b:v 1M -acodec libvorbis -y {$destinationFile}

3 - MP3 ffmpeg -i {$pathFileName} -acodec libmp3lame -y {$destinationFile}

4 - OGG ffmpeg -i {$pathFileName} -acodec libvorbis -y {$destinationFile}

5 - MP3 to Spectrum.MP4 ffmpeg -i {$pathFileName} -filter_complex '[0:a]showwaves=s=640x360:mode=line,format=yuv420p[v]' -map '[v]' -map 0:a -c:v libx264 -c:a copy {$destinationFile}

6 - Video.MP4 to Audio.MP3 ffmpeg -i {$pathFileName} -y {$destinationFile}

from avideo-encoder.

DanielnetoDotCom avatar DanielnetoDotCom commented on July 29, 2024

I do not think it is an error
is that scree you are talking about?

image

from avideo-encoder.

mariu1986 avatar mariu1986 commented on July 29, 2024

yes, it is not error :) ?
it is correct ?

from avideo-encoder.

mariu1986 avatar mariu1986 commented on July 29, 2024

then solved :) of course

from avideo-encoder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.