Is ffserver working?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Is ffserver working?

Dennis Geldhof
Hello all,

I trying to get ffserver working, but i never got it to work. I wondering if
someone has a working configuration for ffserver?
BTW is ffserver still being developed?

Thanks,
Dennis
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Is ffserver working?

Panagiotis Issaris
Hi Dennis,

JJB3 / Dennis schreef:
> Hello all,
>
> I trying to get ffserver working, but i never got it to work. I wondering if
> someone has a working configuration for ffserver?

Piero Bugoni created working configuration files some time ago which I
hosted on my website:
http://issaris.org/~takis/projects/ffmpeg/

With friendly regards,
Takis
--
vCard: http://issaris.org/pi.vcf
PGP key: http://issaris.org/pi.key
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: Is ffserver working?

Dennis Geldhof
----- Original Message -----
From: "Panagiotis Issaris" <[hidden email]>
To: "FFmpeg user questions and RTFMs" <[hidden email]>
Sent: Tuesday, January 08, 2008 5:00 PM
Subject: Re: [Ffmpeg-user] Is ffserver working?


> Hi Dennis,
>
> JJB3 / Dennis schreef:
>> Hello all,
>>
>> I trying to get ffserver working, but i never got it to work. I wondering
>> if
>> someone has a working configuration for ffserver?
>
> Piero Bugoni created working configuration files some time ago which I
> hosted on my website:
> http://issaris.org/~takis/projects/ffmpeg/
>
> With friendly regards,
> Takis
> --
> vCard: http://issaris.org/pi.vcf
> PGP key: http://issaris.org/pi.key
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user


Thanks for your quick responce.
Just tested the 2 config files without audio (posted below). And ffserver
and ffmpeg are working fine, but the client cant receive good video. Firefox
wil show 2 frames, half ones with weird colors and VLC player will just do
nothing. Running ffserver+ffmpeg on Ubuntu 7.10 and Firefox and VLC on both
Windows and Ubuntu. What am i doing wrong?

Thanks,
Dennis

first:

dennis@PatrickUbuntu:~$ ffserver -f Desktop/test/test1.conf
FFserver version SVN-r11391, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-libxvid
  libavutil version: 49.6.0
  libavcodec version: 51.49.0
  libavformat version: 52.3.0
  built on Jan  4 2008 12:36:18, gcc: 4.1.3 20070929 (prerelease) (Ubuntu
4.1.2-16ubuntu2)

# Global Stuff
#
Port 8090
BindAddress 0.0.0.0
MaxClients 10               # Probably safe, max = 1000
MaxBandwidth 16000          # 16 Mbit/s.
CustomLog
NoDaemon
# Feed Definition
#
<Feed feed1.ffm>
File /tmp/feed1.ffm
FileMaxSize 1000000000      #  1 Gigabyte
ACL allow 127.0.0.1
</Feed>
# Stream Definition
#
<Stream test1.flv>
Feed feed1.ffm
VideoBitRate 25            # Experiment to get rid of rc buffer underflow
error. Max is 16000
VideoBufferSize 200        # Adjust in conjunction with q and bitrate. 128
is a safe value
Format swf
VideoSize 160x128
VideoFrameRate 5
VideoQMin 10               # Adjust bitrate with q (see below).
VideoQMax 10
NoAudio
</Stream>

dennis@PatrickUbuntu:~$ ffmpeg  -deinterlace -r 5 -s cif -qmin 10 -qmax
10 -f video4linux -i /dev/video0 http://localhost:8090/feed1.ffm
FFmpeg version SVN-r11391, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-libxvid
  libavutil version: 49.6.0
  libavcodec version: 51.49.0
  libavformat version: 52.3.0
  built on Jan  4 2008 12:36:18, gcc: 4.1.3 20070929 (prerelease) (Ubuntu
4.1.2-16ubuntu2)
Input #0, video4linux, from '/dev/video0':
  Duration: N/A, start: 1199819652.369414, bitrate: 6082 kb/s
    Stream #0.0: Video: rawvideo, yuv420p, 352x288 [PAR 0:1 DAR 0:1], 6082
kb/s,  5.00 tb(r)
Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
    Stream #0.0: Video: flv, yuv420p, 160x128 [PAR 0:1 DAR 0:1], q=10-10, 25
kb/s,  5.00 tb(c)
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
[flv @ 0x84d0a90]rc buffer underflow
frame=  236 fps=  5 q=24.8 Lsize=     260kB time=47.2 bitrate=  45.1kbits/s
video:250kB audio:0kB global headers:0kB muxing overhead 3.970352%

and second:

# Global Stuff
#
Port 8090
BindAddress 0.0.0.0
MaxClients 10               # Probably safe, max = 1000
MaxBandwidth 16000          # 16 Mbit/s.
CustomLog
NoDaemon
# Feed Definition
#
<Feed feed1.ffm>
File /tmp/feed1.ffm
FileMaxSize 1000000000      #  1 Gigabyte
ACL allow 127.0.0.1
</Feed>
# Stream Definition
#
<Stream test1.flv>
Feed feed1.ffm
VideoBitRate 5200           # Experiment to get rid of rc buffer underflow
error. Max is 16000
VideoBufferSize 32          # Adjust in conjunction with q and bitrate. 128
is a safe value
Format swf
VideoSize 352x288           # CIF size
VideoFrameRate 29.97
VideoQMin  3                # Adjust bitrate with q (see below).
VideoQMax  3
NoAudio
</Stream>dennis@PatrickUbuntu:~$ ffmpeg  -deinterlace -r 29.97 -s cif -qmin
3 -qmax 3 -f video4linux -i /dev/video0
http://localhost:8090/feed1.ffmFFmpeg version SVN-r11391, Copyright (c)
2000-2008 Fabrice Bellard, et al.
 configuration: --enable-gpl --enable-libxvid  libavutil version: 49.6.0
libavcodec version: 51.49.0  libavformat version: 52.3.0  built on Jan  4
2008 12:36:18, gcc: 4.1.3 20070929 (prerelease) (Ubuntu
4.1.2-16ubuntu2)Input #0, video4linux, from '/dev/video0':  Duration: N/A,
start: 1199820167.508357, bitrate: 36458 kb/s    Stream #0.0: Video:
rawvideo, yuv420p, 352x288 [PAR 0:1 DAR 0:1], 36458 kb/s, 29.97 tb(r)Output
#0, ffm, to 'http://localhost:8090/feed1.ffm':    Stream #0.0: Video: flv,
yuv420p, 352x288 [PAR 0:1 DAR 0:1], q=3-3, 5200 kb/s, 29.97 tb(c)Stream
mapping:  Stream #0.0 -> #0.0Press [q] to stop encoding[flv @ 0x84d0a90]rc
buffer underflowframe=  298 fps= 30 q=1.6 size=    2192kB time=9.9
bitrate=1805.9kbits/s





_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user