[FFserver-user] streaming video + audio ?

informatique lycee Pays-de-Retz adminrezo.0441992b at ac-nantes.fr
Thu Mar 22 09:59:19 CET 2012


Yes I will send complete configuration, tomorrow (not in this office today).

- need to install yasm package
- need to install many  *-dev packages  (almost everytime you get an 
error when launching "configure", it is because of a missing *-dev package)


Could never get a working mpeg_ts  (get the first image and ....nothing 
more)  nor an ogg  format .
Could never get a working x264 encoding : encoding from ffmpeg to a file 
seems to work, but ffmpeg always crashes down  when sending to ffserver 
(with a message invoking av_interleave and can not open file, as I could 
remember).
So I only could get only a working .swf (flv+mp3)  format.

I tested only http.
I had an image freezing after approx 1 hour  (sound was still going 
good)  on the customer (VLC 2.0).

Global delay is approx 7 sec  on a small lan. Would probably be much 
longer (10-15 sec) if the flow has to pass through routers,  and on a 
WAN like internet.


A message for the developpment-team (hoping some guys of the team read 
this m-l) :
I fell very surprised of the so many warning massages sent by the compiler.
- Many variables not initialized,
- Many warnings about casting



Michal Tausk a écrit :
> Hi,
>
> glad to hear. Please, provide working config for streaming video and 
> audio. I would like to do it, too. I don't care which format, just 
> need a working one (mpeg-ts, flv, asf...). So far I managed to stream 
> only MP3 through http:// URI.
>
> Does it work through rtsp:// or through http:// ?
>
> Thanks.
>
>
>  21.3.2012 17:38, adminrezo.0441992b  wrote / napísal(a):
>> Finally, after several testings, I could get a working streaming
>> swf format  (flv + mp3), 15fps, audiobitrate=16K
>>
>> I needed to make several copilations from various version.
>>
>> tested the 0.6.5 version downloaded from ffmpeg.org site.
>> Was working so-so :
>> - long delay in the streaming
>> - pause in the streaming
>> - ffserver consuming about 95-98% CPU
>>
>>
>> Finally, I chose to recompile from ubuntu-source, that means, exactly 
>> the same version as provided through the binary (0.5.1).
>> needed to apply the patch  (.diff file provided with the source)
>> I included the lame-mp3 codec  (wich is not provided in the binary 
>> package of ffmpeg, from ubuntu)
>>
>> Finally, it is working wonderfully well
>> ffmpeg  approx 12% CPU
>> ffserver approx  0.3% CPU
>> on a 2.4 Ghz celeron  (old Dell 170L)
>>
>>
>> ...happy at last !!!!!
>>
>>
>>
>> Le 13/03/2012 17:50, adminrezo.0441992b a écrit :
>>> Hello,
>>>
>>> I am now facing a new problem.
>>> still using my  ubuntu-server 10.04 LTS
>>>
>>> I want to use speex audio codec with my ffmpeg and ffserver
>>> -enable-libspeex  appears when I call "ffmpeg -formats"  or 
>>> "ffserver -formats"
>>> - libspeex1 and libspeexdsp1 libraries are installed on the system  
>>> (apt-get install .....)
>>> but ffserver complains that it does not know about
>>> speex  /  libspeex  /   libsppeex1  / libspeexdsp1
>>> how come ?
>>> finally I realize that "ffmpeg -formats" doest not display the "EA" 
>>> flags for this codec
>>>
>>> trying to stream .ogg  (audio + video)
>>> launching separately ffserver and ffmpeg
>>> ffsever complains when receiving connexion from ffmpeg : "could not 
>>> find codec parameters (audio: vorbis,44100 Hz, stereo,s16,64kb/s)
>>> sending video only (without audio) from ffmpeg to ffserver is 
>>> working (if I don't mention fps video-rate)....but can't get it 
>>> working on VLC
>>>
>>>
>>> So finally,  is there a full-tested workable configuration to send 
>>> video+audio with ffmpeg/ffserver ?
>>>
>>
>>
> _______________________________________________
> ffserver-user mailing list
> ffserver-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffserver-user


-- 
Xavier COUDIN - coordinateur informatique
Lycée Pays-de-Retz, 44210 Pornic, gsm 06 80 28 40 53



More information about the ffserver-user mailing list