Trying different versions of ffmpeg is always a good practice, from my
experience.

On 12/12/10 11:57, Jieyun Fu wrote:
> Alright, problem solved, this bug was supposedly fixed but reintroduced.
>
> See http://permalink.gmane.org/gmane.comp.video.ffmpeg.libav.user/5584
> , in case anyone meets the same bug again.
>
>
> On Sun, Dec 12, 2010 at 6:27 AM, Jieyun Fu <jieyu...@mit.edu
> <mailto:jieyu...@mit.edu>> wrote:
>
>     Thanks for your message, at the end of the email is my conf file.
>     it is exactly the same as the default one.
>
>     Actually, after some reinstallation, the symptom changed. I can
>     start ffserver, though it still complains that the ffm file is
>     corrupted. And it does not take ffmpeg updates -- ffmpeg says "TCP
>     connection to localhost:8090 failed: Connection refused, HTTP
>     error 404 Not Found" while ffserver says "could not open
>     /tmp/feed1.ffm: -22"
>
>     Thanks again, your help is truly appreciated.
>
>     ffserver terminal output:
>
>     FFserver version SVN-r25935, Copyright (c) 2000-2010 the FFmpeg
>     developers
>       built on Dec 12 2010 04:47:18 with gcc 4.4.3
>
>       configuration: --enable-gpl --enable-version3 --enable-nonfree
>     --enable-postproc --enable-libfaac --enable-libopencore-amrnb
>     --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis
>     --enable-libx264 --enable-libxvid --enable-x11grab --enable-shared
>     --enable-ffmpeg --enable-libmp3lame
>       libavutil     50.34. 0 / 50.34. 0
>       libavcore      0.16. 0 /  0.16. 0
>       libavcodec    52.99. 1 / 52.99. 1
>       libavformat   52.88. 0 / 52.88. 0
>       libavdevice   52. 2. 2 / 52. 2. 2
>       libavfilter    1.68. 1 /  1.68. 1
>       libswscale     0.12. 0 /  0.12. 0
>       libpostproc   51. 2. 0 / 51. 2. 0
>     Sun Dec 12 06:24:17 2010 Deleting feed file '/tmp/feed1.ffm' as it
>     appears to be corrupt
>     Sun Dec 12 06:24:17 2010 FFserver started.
>     Sun Dec 12 06:24:21 2010 could not open /tmp/feed1.ffm: -22
>     Sun Dec 12 06:24:21 2010 127.0.0.1 - - [GET] "/feed1.ffm HTTP/1.1"
>     404 174
>
>     ffmpeg terminal output:
>
>     FFmpeg version SVN-r25935, Copyright (c) 2000-2010 the FFmpeg
>     developers
>       built on Dec 12 2010 04:47:18 with gcc 4.4.3
>
>       configuration: --enable-gpl --enable-version3 --enable-nonfree
>     --enable-postproc --enable-libfaac --enable-libopencore-amrnb
>     --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis
>     --enable-libx264 --enable-libxvid --enable-x11grab --enable-shared
>     --enable-ffmpeg --enable-libmp3lame
>       libavutil     50.34. 0 / 50.34. 0
>       libavcore      0.16. 0 /  0.16. 0
>       libavcodec    52.99. 1 / 52.99. 1
>       libavformat   52.88. 0 / 52.88. 0
>       libavdevice   52. 2. 2 / 52. 2. 2
>       libavfilter    1.68. 1 /  1.68. 1
>       libswscale     0.12. 0 /  0.12. 0
>       libpostproc   51. 2. 0 / 51. 2. 0
>     [mpeg @ 0x8b5a4c0] max_analyze_duration reached
>     Input #0, mpeg, from 'test.mpg':
>       Duration: 00:00:20.48, start: 0.500000, bitrate: 665 kb/s
>         Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 624x472 [PAR
>     1:1 DAR 78:59], 104857 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc
>         Stream #0.1[0x1c0]: Audio: mp2, 16000 Hz, 1 channels, s16, 64 kb/s
>     TCP connection to localhost:8090 failed: Connection refused
>     HTTP error 404 Not Found
>     http://localhost:8090/feed1.ffm: Input/output error
>
>
>
>     conf file:
>     ===================================
>
>     Port 8090
>
>     BindAddress 0.0.0.0
>
>     MaxHTTPConnections 2000
>
>     MaxClients 1000
>
>     MaxBandwidth 1000
>
>     # Access log file (uses standard Apache log file format)
>     # '-' is the standard output.
>     CustomLog -
>
>     # Suppress that if you want to launch ffserver as a daemon.
>     NoDaemon
>
>
>     <Feed feed1.ffm>
>
>     File /tmp/feed1.ffm
>     FileMaxSize 200K
>
>     ACL allow 127.0.0.1
>
>     </Feed>
>
>
>     <Stream test1.mpg>
>
>     Feed feed1.ffm
>
>     Format mpeg
>
>     AudioBitRate 32
>
>     AudioChannels 1
>
>     AudioSampleRate 44100
>
>     VideoBitRate 64
>
>     VideoBufferSize 40
>
>     VideoFrameRate 3
>
>     VideoSize 160x128
>
>     VideoGopSize 12
>
>     # More MPEG-4 parameters
>     # VideoHighQuality
>     # Video4MotionVector
>
>     # Choose your codecs:
>     #AudioCodec mp2
>     #VideoCodec mpeg1video
>
>     # Suppress audio
>     #NoAudio
>
>     # Suppress video
>     #NoVideo
>
>     #VideoQMin 3
>     #VideoQMax 31
>
>     # Set this to the number of seconds backwards in time to start.
>     Note that
>     # most players will buffer 5-10 seconds of video, and also you
>     need to allow
>     # for a keyframe to appear in the data stream.
>     #Preroll 15
>
>     </Stream>
>
>
>
>     On Sun, Dec 12, 2010 at 6:19 AM, Dennis Prochniak
>     <denniso...@gmail.com <mailto:denniso...@gmail.com>> wrote:
>
>         Please post your doc/ffserver.conf as well.
>
>
>         On 12/12/10 09:00, Jieyun Fu wrote:
>>         Hi all,
>>
>>         I am trying to start ffserver according to the given example
>>         and I got the following error. I didn't change anything and
>>         just use the default conf file, but couldn't even get
>>         ffserver to start.
>>
>>         I am sorry that I am very new to this area and couldn't offer
>>         much information (not sure what else I should provide). But
>>         please definitely let me know if you need any other information.
>>
>>         Sorry for this novice question, your help will be greatly
>>         appreciated.
>>
>>         $ ffserver -f doc/ffserver.conf
>>         FFserver version SVN-r25935, Copyright (c) 2000-2010 the
>>         FFmpeg developers
>>           built on Dec 12 2010 03:43:29 with gcc 4.4.3
>>           configuration: --enable-gpl --enable-version3
>>         --enable-nonfree --enable-postproc --enable-libfaac
>>         --enable-libopencore-amrnb --enable-libopencore-amrwb
>>         --enable-libtheora --enable-libvorbis --enable-libx264
>>         --enable-libxvid --enable-x11grab --enable-shared
>>         --enable-ffmpeg --enable-libmp3lame
>>           libavutil     50.34. 0 / 50.34. 0
>>           libavcore      0.16. 0 /  0.16. 0
>>           libavcodec    52.99. 1 / 52.99. 1
>>           libavformat   52.88. 0 / 52.88. 0
>>           libavdevice   52. 2. 2 / 52. 2. 2
>>           libavfilter    1.68. 1 /  1.68. 1
>>           libswscale     0.12. 0 /  0.12. 0
>>           libpostproc   51. 2. 0 / 51. 2. 0
>>         Sun Dec 12 03:55:47 2010 Deleting feed file '/tmp/feed1.ffm'
>>         as it appears to be corrupt
>>         Sun Dec 12 03:55:47 2010 Aspect ratio mismatch between
>>         encoder and muxer layer
>>         Sun Dec 12 03:55:47 2010 Container doesn't supports the
>>         required parameters
>>
>>         Best,
>>         Jieyun
>>
>>
>>         _______________________________________________
>>         ffserver-user mailing list
>>         ffserver-user@mplayerhq.hu <mailto:ffserver-user@mplayerhq.hu>
>>         https://lists.mplayerhq.hu/mailman/listinfo/ffserver-user
>
>         _______________________________________________
>         ffserver-user mailing list
>         ffserver-user@mplayerhq.hu <mailto:ffserver-user@mplayerhq.hu>
>         https://lists.mplayerhq.hu/mailman/listinfo/ffserver-user
>
>
>
>
> _______________________________________________
> ffserver-user mailing list
> ffserver-user@mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffserver-user
_______________________________________________
ffserver-user mailing list
ffserver-user@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/ffserver-user

Reply via email to