![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Let's do some business!
Industry Role:
Join Date: Sep 2004
Location: Austin, TX
Posts: 31,326
|
Video Charge and FFMPEG
I've been encoding some videos using Video Charge. I leave all of the Video Charge settings as default, aside from resolution. The video then gets run through FFMPEG and that's where the problem starts. Always an encoding error.
What can I do to figure out why this is happening? I just want to narrow down if it's Video Charge or my source video, that way I can fix the problem and move forward.
__________________
Vacares - Web Hosting, Domains, O365, Security & More - Paxum and BTC Accepted Windows VPS now available Great for TSS, Nifty Stats, remote work, virtual assistants, etc. Click here for more details. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Let's do some business!
Industry Role:
Join Date: Sep 2004
Location: Austin, TX
Posts: 31,326
|
I really don't know. When I run it through a tube script it just tells me encoding error. What can I do to get better details?
__________________
Vacares - Web Hosting, Domains, O365, Security & More - Paxum and BTC Accepted Windows VPS now available Great for TSS, Nifty Stats, remote work, virtual assistants, etc. Click here for more details. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Choice is an Illusion
Industry Role:
Join Date: Feb 2005
Location: Land of Obama
Posts: 42,635
|
It sounds like a codec issue on the server. Although could be a couple things.
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Apr 2002
Location: /root/
Posts: 4,997
|
uhm.
Not sure if its opensource or not but try to search for the exact ffmpeg command that is used and run it from a terminal. You will see the exact error there. Alternatively see if anything is showing in your apache logs. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Oct 2007
Location: Netherlands
Posts: 415
|
Yeah, check the Apache error log, PHP error log and syslog. just search for "ffmpeg".
If you've command line access just run cat /your/path/to/apacheerrorlog |grep "ffmpeg" cat /your/path/to/phperrorlog |grep "ffmpeg" cat /your/path/to/syslog |grep "ffmpeg" You can find the paths to the logs in your httpd.conf (apache), php.ini (php) and syslog.conf (syslos) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
marketer.
Industry Role:
Join Date: Aug 2006
Location: bcn
Posts: 2,280
|
if its a php script, check you don't disable functions like shell_exec, etc.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: Apr 2002
Location: /root/
Posts: 4,997
|
Quote:
![]() grep ffmpeg /your/neat/path/to/logs |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Oct 2007
Location: Netherlands
Posts: 415
|
Definately a plan if they're all in the same directory
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Apr 2002
Location: /root/
Posts: 4,997
|
actually that was not the point
![]() your usage of "cat file|grep string" is better used as: "grep string file" avoiding an extra pipe |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Registered User
Join Date: Aug 2006
Posts: 63
|
Your error is likely this,
[libmp3lame @ 0x806e350]lame: output buffer too small (buffer index: 9404, free bytes: 388) Audio encoding failed The error is a non-issue and should be ignored. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
at your service
Industry Role:
Join Date: Apr 2003
Location: Vancouver
Posts: 1,201
|
I hate Video Charge because of that. A little smart program full of errors. Try to run VCS as administrator (right click you will see). That is the mother of most problems.
__________________
![]() SEXTRONIX | DATETRONIX | HENTAIBIZ | PIMPBOSS | GAYTRONIX icq#306500802 cashgordon||at||sextronix.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
MFBA
Industry Role:
Join Date: Mar 2003
Location: PNW
Posts: 7,230
|
login via ssh to your server, find out what command your script is passing to FFMPEG, and run it yourself, see what errors come back. FFMPEG can be quite verbose, and this method will give you more info the syslog or apache logs.
my guess would be that likely there was errors in your source video, video charge is not very good at repairing things at all. you could try downloading MpegStreamClip from Squared5.com, open yourvideo file and have it repair the video file, then save it again, and restart. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Join Date: Jan 2005
Location: Stockton
Posts: 4,365
|
why encode twice...if you have to you should load a rendered AVI and not the final format such as mp4 or 3gp through ffmpeg.
__________________
ICQ:268731675 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
Join Date: Nov 2008
Posts: 359
|
Why are you encoding through Video Charge then re-encoding on your server with FFmpeg. FFmpeg is total crap for FLVs; H.264 is okay because they use the x264 library.
Why not encode your videos to FLV VP6 using On2 Flix or Sorenson or Adobe Media Encoder, and then put them directly into your server without additional re-encoding. The videos will look much better, at a lower bit rate. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Let's do some business!
Industry Role:
Join Date: Sep 2004
Location: Austin, TX
Posts: 31,326
|
It's not really that I'm encoding twice on purpose. I am running these through a tube script. Some scripts give me encoding errors, some do not. That's what I'm trying to figure out. About to test on another one shortly.
__________________
Vacares - Web Hosting, Domains, O365, Security & More - Paxum and BTC Accepted Windows VPS now available Great for TSS, Nifty Stats, remote work, virtual assistants, etc. Click here for more details. |
![]() |
![]() ![]() ![]() ![]() ![]() |