Looks gud to me.<div>Are u able to play it locally .</div><div>try with ffplay and then</div><div>try streaming a stored video file with ffserver.</div><div>and latter with the live stream.<br><br><div class="gmail_quote">
On Fri, Oct 7, 2011 at 5:09 PM, Bret Clark <span dir="ltr"><<a href="mailto:bclark@spectraaccess.com">bclark@spectraaccess.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<u></u>

  
    
  
  <div bgcolor="#ffffff" text="#000000">
    I use the following in ffserver.conf<br>
    <br>
    <Feed feed1.ffm> <br>
    File /tmp/feed1.ffm <br>
    FileMaxSize 3M<br>
    </Feed><br>
    <br>
    <br>
    <Stream cameraone.swf><br>
    Feed feed1.ffm<br>
    Format swf<br>
    VideoCodec flv<br>
    VideoFrameRate 15 <br>
    VideoBufferSize 80000<br>
    VideoBitRate 500<br>
    VideoQMin 1 <br>
    VideoQMax 15 <br>
    VideoSize 400x320 <br>
    #VideoSize 640x480<br>
    AudioCodec libmp3lame<br>
    # Bitrate for the audio stream. Codecs usually support only a few<br>
    # different bitrates.<br>
    AudioBitRate 32<br>
    <br>
    # Number of audio channels: 1 = mono, 2 = stereo<br>
    AudioChannels 2 <br>
    <br>
    # Sampling frequency for audio. When using low bitrates, you should<br>
    # lower this frequency to 22050 or 11025. The supported frequencies<br>
    # depend on the selected audio codec.<br>
    AudioSampleRate 44100<br>
    <br>
    PreRoll 5<br>
    #Noaudio<br>
    </Stream><br>
    <br>
    <br>
    And my ffmpeg command line is:<br>
    <br>
    ffmpeg -s 400x320 -f video4linux2 -vc 1  -i /dev/video0 -f alsa -ac
    2  -i hw:0,0 -acodec libmp3lame -ab 32k
    <a href="http://127.0.0.1:8090/feed1.ffm" target="_blank">http://127.0.0.1:8090/feed1.ffm</a><div><div></div><div class="h5"><br>
    <br>
    <br>
    <br>
    <br>
    On 10/07/2011 04:33 AM, Ioannis Maistros wrote:
    <blockquote type="cite">
      
      <div dir="ltr">
        Hello Amar and thanks for your quick reply<br>
        <br>
        I tried codec mpeg and still do not have motion in VLC,  I only
        get a picture and some times some motion for some seconds.<br>
        What would be the appropriate settings in the ffserver.conf or
        do I have to leave them as it is?<br>
        <br>
        Thanks again<br>
        <br>
        <div>
          <hr>Date: Fri, 7 Oct 2011 12:37:41 +0530<br>
          From: <a href="mailto:nandan.amar@gmail.com" target="_blank">nandan.amar@gmail.com</a><br>
          To: <a href="mailto:ffserver-user@ffmpeg.org" target="_blank">ffserver-user@ffmpeg.org</a><br>
          Subject: Re: [FFserver-user] Streaming through ffserver<br>
          <br>
          <br>
          Dear <span style="border-collapse:collapse;color:rgb(0, 104, 28);font-family:arial,sans-serif;font-size:13px;font-weight:bold;white-space:nowrap">Ioannis Maistros</span>,
          <div>
            Mjpeg or  jpeg is very poor compression format for video. </div>
          <div>Please try codedc like mpeg or h264 for encoding.  </div>
          <div>like-</div>
          <div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">ffmpeg
              -i "<a href="http://192.168.1.112/axis-cgi/mjpg/video.cgi?resolution=320x240&.mjpeg" style="color:rgb(28, 81, 168)" target="_blank">http://user:pass@192.168.1.112/axis-cgi/mjpg/video.cgi?resolution=320x240&.mjpeg</a>"
              -vcodec mpeg or h264 "<a href="http://192.168.1.118:8090/feed1.ffm" style="color:rgb(28, 81, 168)" target="_blank">http://192.168.1.118:8090/feed1.ffm</a></span><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">"</span></div>

          <div><font face="arial,
              sans-serif"><span style="border-collapse:collapse"><br>
              </span></font>
            <div>2011/10/7 Ioannis Maistros <span dir="ltr"><<a href="mailto:patrida@hotmail.com" target="_blank">patrida@hotmail.com</a>></span><br>
              <blockquote style="border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
                <div>
                  <div dir="ltr">
                    Hello FFMpeg users.<br>
                    <br>
                    I am new in FFMpeg user forum and I would like to
                    ask your help in the following issue.<br>
                    I would like to stream from an Axis camera(mjpeg
                    format) through FFmpeg to the FFserver and watch the
                    stream from another machine by using VLC.<br>
                    I have tried a lot of combinations in  the
                    ffserver.conf file and ffmpeg commands line but
                    without any luck.<br>
                    The only I get is an image jpeg(without any motion)
                    in the other end through VLC.<br>
                    My last attempt was the default ffserver
                    configuration file and an extra option of AVOptions
                    flags +global_header(because ffserver was complaint
                    about global headers all the time) and the ffmpeg
                    command line was like the following one:<br>
                    <br>
                    ffmpeg -i "<a href="http://192.168.1.112/axis-cgi/mjpg/video.cgi?resolution=320x240&.mjpeg" target="_blank">http://user:pass@192.168.1.112/axis-cgi/mjpg/video.cgi?resolution=320x240&.mjpeg</a>"
                    -vcodec copy "<a href="http://192.168.1.118:8090/feed1.ffm" target="_blank">http://192.168.1.118:8090/feed1.ffm</a>"<br>
                    <br>
                    Any help will be appreciated.<br>
                    <br>
                    Thanks in advance<br>
                    Best Regards<br>
                    <font color="#888888">Ioannis <br>
                    </font></div>
                </div>
                <br>
                _______________________________________________<br>
                ffserver-user mailing list<br>
                <a href="mailto:ffserver-user@ffmpeg.org" target="_blank">ffserver-user@ffmpeg.org</a><br>
                <a href="http://ffmpeg.org/mailman/listinfo/ffserver-user" target="_blank">http://ffmpeg.org/mailman/listinfo/ffserver-user</a><br>
                <br>
              </blockquote>
            </div>
            <br>
            <br clear="all">
            <div><br>
            </div>
            -- <br>
            <div><br>
            </div>
            Amar Kumar Nandan<br>
            Karnataka, India, 560100<br>
            ☎:+91-9019054471<br>
            ✉:<a href="mailto:nandan.amar@gmail.com" target="_blank">nandan.amar@gmail.com</a><br>
            <a href="http://aknandan.co.nr" target="_blank">http://aknandan.co.nr</a><br>
          </div>
          <br>
          _______________________________________________
          ffserver-user mailing list
          <a href="mailto:ffserver-user@ffmpeg.org" target="_blank">ffserver-user@ffmpeg.org</a>
          <a href="http://ffmpeg.org/mailman/listinfo/ffserver-user" target="_blank">http://ffmpeg.org/mailman/listinfo/ffserver-user</a></div>
      </div>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
ffserver-user mailing list<br>
<a href="mailto:ffserver-user@ffmpeg.org">ffserver-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/ffserver-user" target="_blank">http://ffmpeg.org/mailman/listinfo/ffserver-user</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><br></div>Amar Kumar Nandan<br>Karnataka, India, 560100<br>☎:+91-9019054471<br>✉:<a href="mailto:nandan.amar@gmail.com" target="_blank">nandan.amar@gmail.com</a><br>
<a href="http://aknandan.co.nr" target="_blank">http://aknandan.co.nr</a><br>
</div>