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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-15-2010, 05:40 AM   #1
Sly
Let's do some business!
 
Sly's Avatar
 
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.

Last edited by Sly; 09-15-2010 at 05:41 AM..
Sly is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2010, 05:47 AM   #2
darksoul
Confirmed User
 
darksoul's Avatar
 
Join Date: Apr 2002
Location: /root/
Posts: 4,997
whats the error ?
__________________
1337 5y54|)m1n: 157717888
BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
Cambooth
darksoul is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2010, 05:57 AM   #3
Sly
Let's do some business!
 
Sly's Avatar
 
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.
Sly is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2010, 05:59 AM   #4
Barefootsies
Choice is an Illusion
 
Barefootsies's Avatar
 
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.
__________________
Should You Email Your Members?

Link1 | Link2 | Link3

Enough Said.

"Would you rather live like a king for a year or like a prince forever?"
Barefootsies is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2010, 06:00 AM   #5
darksoul
Confirmed User
 
darksoul's Avatar
 
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.
__________________
1337 5y54|)m1n: 157717888
BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
Cambooth
darksoul is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2010, 06:08 AM   #6
StariaDaniel
Confirmed User
 
Join Date: Oct 2007
Location: Netherlands
Posts: 415
Quote:
Originally Posted by darksoul View Post
Alternatively see if anything is showing in your apache logs.
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)
StariaDaniel is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2010, 06:13 AM   #7
scouser
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.
scouser is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2010, 06:15 AM   #8
darksoul
Confirmed User
 
darksoul's Avatar
 
Join Date: Apr 2002
Location: /root/
Posts: 4,997
Quote:
Originally Posted by StariaDaniel View Post
cat /your/path/to/apacheerrorlog |grep "ffmpeg"
cat /your/path/to/phperrorlog |grep "ffmpeg"
cat /your/path/to/syslog |grep "ffmpeg"
give those pipes a break
grep ffmpeg /your/neat/path/to/logs
__________________
1337 5y54|)m1n: 157717888
BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
Cambooth
darksoul is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2010, 06:16 AM   #9
StariaDaniel
Confirmed User
 
Join Date: Oct 2007
Location: Netherlands
Posts: 415
Quote:
Originally Posted by darksoul View Post
give those pipes a break
grep ffmpeg /your/neat/path/to/logs
Definately a plan if they're all in the same directory
StariaDaniel is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2010, 06:21 AM   #10
darksoul
Confirmed User
 
darksoul's Avatar
 
Join Date: Apr 2002
Location: /root/
Posts: 4,997
Quote:
Originally Posted by StariaDaniel View Post
Definately a plan if they're all in the same directory
actually that was not the point
your usage of "cat file|grep string" is better used as:
"grep string file"
avoiding an extra pipe
__________________
1337 5y54|)m1n: 157717888
BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
Cambooth
darksoul is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2010, 06:26 AM   #11
Senior_Spank
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.
Senior_Spank is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2010, 06:30 AM   #12
CashGordon
at your service
 
CashGordon's Avatar
 
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
CashGordon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2010, 10:54 AM   #13
Why
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.
Why is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2010, 11:09 AM   #14
Bird
Confirmed User
 
Bird's Avatar
 
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
Bird is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2010, 11:12 AM   #15
VGeorgie
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.
VGeorgie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2010, 11:25 AM   #16
Sly
Let's do some business!
 
Sly's Avatar
 
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.
Sly is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.