Hi,

I am trying to stream video over the network. I am using ubuntu 9.04 and I
just downloaded the latest version of ffmpeg.
as written in http://ffmpeg.org/ffserver-doc.html I did "configure
--enable-libmp3lame"
make and make install
I started the ffserver and it works fine - I tried to get the status and it
works.
then I did: ./ffmpeg -i test.avi http://localhost:8090/feed1.ffm

in the server I see:
Wed Nov 25 21:43:01 2009 127.0.0.1 - - [GET] "/feed1.ffm HTTP/1.1" 200 4149
Wed Nov 25 21:43:01 2009 127.0.0.1 - - [POST] "/feed1.ffm HTTP/1.1" 200 0


but for the ffmpeg I get:
FFmpeg version git-87f840a, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  built on Nov 25 2009 21:37:46 with gcc 4.3.3
  configuration: --enable-libmp3lame
  libavutil     50. 4. 0 / 50. 4. 0
  libavcodec    52.41. 0 / 52.41. 0
  libavformat   52.39. 2 / 52.39. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0. 7. 1 /  0. 7. 1
Input #0, avi, from 'test.avi':
  Duration: 00:03:48.44, start: 0.000000, bitrate: 863 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 25 tbr,
25 tbn, 25 tbc
    Stream #0.1: Audio: mp2, 48000 Hz, 2 channels, s16, 64 kb/s
[mpeg1video @ 0x93b9870]bitrate tolerance too small for bitrate
Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
    Stream #0.0: Audio: mp2, 44100 Hz, 1 channels, s16, 32 kb/s
    Stream #0.1: Video: mpeg1video, yuv420p, 160x128, q=3-31, 64 kb/s, 1000k
tbn, 3 tbc
    Stream #0.2: Audio: libmp3lame, 22050 Hz, 1 channels, s16, 64 kb/s
    Stream #0.3: Video: msmpeg4, yuv420p, 352x240, q=3-31, 256 kb/s, 1000k
tbn, 15 tbc
Stream mapping:
  Stream #0.1 -> #0.0
  Stream #0.0 -> #0.1
  Stream #0.1 -> #0.2
  Stream #0.0 -> #0.3
Error while opening encoder for output stream #0.1 - maybe incorrect
parameters such as bit_rate, rate, width or height


I tried setiing the width&heght also the rate but didn't help.

I am using the standard conf file for the server.

where I am wrong???

I am using this for streaming in order to understand how it works, then I
will try with live video.

Thanks,
Yaron
_______________________________________________
ffserver-user mailing list
ffserver-user@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/ffserver-user

Reply via email to