LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-29-2011, 12:22 AM   #1
unkajim
LQ Newbie
 
Registered: Feb 2006
Location: Oregon
Distribution: Ubuntu 11.10
Posts: 3

Rep: Reputation: 0
Bind(port 8090): Invalid argument error in ffserver patch found


I was getting this error with ffserver failing to start on the latest release on the latest Ubuntu(11.10) and still got it when I rolled back to Ubuntu 10.04 LTS with the latest ffmpeg from git and also when I tried an older release of ffmpeg. Lots of Googling yielded no answer until I found this Russian site and thanks to Google Translate, was able to read this patch. If you open ffserver.c in a text editor, and find the text below(it is around line number 4000 or so), this is where you'll make a small edit. Insert the line with the "+"(without including the "+" of course) save the changes and recompile(make). It worked for me.

Code:
my_http_addr.sin_port = htons(val); 
 + my_http_addr.sin_family = AF_INET; 
 } else if (!strcasecmp(cmd, "BindAddress")) { 
 get_arg(arg, sizeof(arg), &p); 
 if (resolve_host(&my_http_addr.sin_addr, arg) != 0) {
And the url for the Russian site:
http://www.mianet.ru/index.php/sysad...erver-a-ffmpeg

Last edited by unkajim; 10-29-2011 at 12:35 AM.
 
Old 01-01-2012, 03:52 PM   #2
cables
LQ Newbie
 
Registered: Jan 2012
Location: Saint Paul, MN
Distribution: Ubuntu 10.04 LTS
Posts: 1

Rep: Reputation: Disabled
It worked for me, too. Thanks for contributing this fix.

Have you considered submitting it to the developers at ffmpeg.org?
 
  


Reply

Tags
ffmpeg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
message sending failed : Error[22 ] invalid argument .....but each and every argument rakeshranjanjha Linux - Software 2 01-07-2008 11:22 PM
Invalid Argument Error ahmedb72 Red Hat 1 02-25-2006 07:52 AM
KDSKBENT: Invalid argument / failed to bind key 255 to value 2015 KevinAlaska Linux - Hardware 8 09-21-2004 06:59 PM
KBENT: Invalid argument failed to bind key 255 to value 3119 brynjarh Linux - Newbie 0 06-30-2004 02:40 AM
Quagga "Can't bind socket: Invalid argument" JJX Linux - Networking 0 04-29-2004 10:21 AM


All times are GMT -5. The time now is 01:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration