[FFmpeg-user] no connections - ffserver rendered useless

Da Rock ffmpeg-user at herveybayaustralia.com.au
Thu Dec 1 14:19:48 CET 2011


On 11/30/11 20:08, Carl Eugen Hoyos wrote:
> Da Rock<ffmpeg-user<at>  herveybayaustralia.com.au>  writes:
>
>>      FreeBSD<server>  8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1
>>      ffmpeg version 0.7.7, Copyright (c) 2000-2011 the FFmpeg developers
> Please test current git master.
>
>
I'm not 100% sure what the git master is as it isn't referenced 
categorically on the ffmpeg site. I did try the git url at the top of 
the list on the download page (snapshot link mentioned something about 
head, so I went for it), but it won't build on FreeBSD. I get assembler 
errors:

CC    libavcodec/vp5.o
/var/tmp//ccWKZjQg.s: Assembler messages:
/var/tmp//ccWKZjQg.s:185: Error: `(%r8d,%eax)' is not a valid 64 bit 
base/index expression
/var/tmp//ccWKZjQg.s:230: Error: `(%r8d,%eax)' is not a valid 64 bit 
base/index expression
/var/tmp//ccWKZjQg.s:275: Error: `(%r8d,%eax)' is not a valid 64 bit 
base/index expression
/var/tmp//ccWKZjQg.s:329: Error: `(%r8d,%eax)' is not a valid 64 bit 
base/index expression
/var/tmp//ccWKZjQg.s:435: Error: `(%r8d,%eax)' is not a valid 64 bit 
base/index expression
/var/tmp//ccWKZjQg.s:544: Error: `(%r8d,%eax)' is not a valid 64 bit 
base/index expression
/var/tmp//ccWKZjQg.s:679: Error: `(%r8d,%eax)' is not a valid 64 bit 
base/index expression
/var/tmp//ccWKZjQg.s:724: Error: `(%r8d,%eax)' is not a valid 64 bit 
base/index expression
/var/tmp//ccWKZjQg.s:858: Error: `(%r8d,%eax)' is not a valid 64 bit 
base/index expression
/var/tmp//ccWKZjQg.s:897: Error: `(%esi,%edx)' is not a valid 64 bit 
base/index expression
/var/tmp//ccWKZjQg.s:931: Error: `(%esi,%edx)' is not a valid 64 bit 
base/index expression
/var/tmp//ccWKZjQg.s:971: Error: `(%esi,%edx)' is not a valid 64 bit 
base/index expression
/var/tmp//ccWKZjQg.s:1022: Error: `(%r8d,%eax)' is not a valid 64 bit 
base/index expression
/var/tmp//ccWKZjQg.s:3893: Error: `(%esi,%eax)' is not a valid 64 bit 
base/index expression
/var/tmp//ccWKZjQg.s:4307: Error: `(%esi,%eax)' is not a valid 64 bit 
base/index expression
/var/tmp//ccWKZjQg.s:4677: Error: `(%esi,%eax)' is not a valid 64 bit 
base/index expression
/var/tmp//ccWKZjQg.s:4931: Error: `(%esi,%eax)' is not a valid 64 bit 
base/index expression
/var/tmp//ccWKZjQg.s:5185: Error: `(%esi,%eax)' is not a valid 64 bit 
base/index expression
/var/tmp//ccWKZjQg.s:5439: Error: `(%esi,%eax)' is not a valid 64 bit 
base/index expression
/var/tmp//ccWKZjQg.s:5954: Error: `(%esi,%eax)' is not a valid 64 bit 
base/index expression
gmake: *** [libavcodec/vp5.o] Error 1

There is a snapshot in the ports tree 09-10-2011 which I tried building 
as well, but it failed as well on opencv; so I disabled opencv to test 
and it built ok, but mpegts is now in strife:

Invalid program index <stream 1 pid> while processing metadata maps

There are 0.0-0.9 substreams, associated to 4 pids. All video is mpeg2 
with bitrates varying due to frame size; audio is either ac3 5.0 at 448K 
or mp2 at 256K; there is also a dvb_teletext stream associated with each 
pid, and an "unknown" (epg?) for each. I am ignoring 1 of the pids in my 
cmd because it is only a replica of <stream 1>, but it hasn't been 
bothered by it in the past.

Am I missing something here? Is there some documentation I should be 
looking at that is different in the 0.7.7 version?

Without the actual data I'm trying to work with though, I tried a test 
with an mpg file cut from a ts stream with dvbcut and I actually got 404 
http error from ffserver. Numerous attempts with different parameters 
and feeds- even though the stat page showed the feeds existed. I also 
tried checking the permissions of the files: 666 (heaven forbid! :) ). 
All to no avail. This looks like it could be the error from earlier, and 
I'd say its a good chance ffserver has been borking it- I sent the data 
using ffmpeg 0.7.6. I'm still trying to work out a stream _from_ ffserver.

Having said all that about ffserver, ffmpeg from the same build can't 
win no matter which way I cut it. Besides my primary goal (errors 
mentioned above), the same test stream that worked on 0.7.6 seg faults, 
I tried others and I get an error opening filters. There could be more: 
the mpegts had real trouble with the raw stream- to get the error above 
I used gstreamer dvbsrc to obtain the ts, it failed completely from a 
raw pipe using the freebsd cx88 utility (I could barely get ^c to work 
to kill it).

Where to now?


More information about the ffmpeg-user mailing list