views:

264

answers:

0

Hi,

I've set up FFserver as the streaming server.

I'm trying to feed in an mpeg file. But it comes up with a segmentation fault. Does anyone know how to fix this?

The following is the command-line output I get

  $ ./ffmpeg -i test1.mpg http://localhost:8090/feed1.ffm

FFmpeg version SVN-r22945, Copyright (c) 2000-2010 the FFmpeg developers
  built on Apr 22 2010 19:18:45 with gcc 4.4.1
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc
  --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame 
  --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora 
  --enable-libx264 --enable-libxvid --enable-x11grab
  libavutil     50.14. 0 / 50.14. 0
  libavcodec    52.66. 0 / 52.66. 0
  libavformat   52.61. 0 / 52.61. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0.10. 0 /  0.10. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[mpeg @ 0xab0c420]max_analyze_duration reached
Input #0, mpeg, from 'test1.mpg':
  Duration: 00:00:20.96, start: 0.768300, bitrate: 269 kb/s
    Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 160x120 [PAR 1:1 DAR 4:3], 104857 kb/s, 30 fps, 30 tbr, 90k tbn, 30 tbc
    Stream #0.1[0x1c0]: Audio: mp2, 32000 Hz, 2 channels, s16, 64 kb/s
Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
  Metadata:
    encoder         : Lavf52.61.0
    Stream #0.0: Audio: mp2, 22050 Hz, 1 channels, s16, 48 kb/s
    Stream #0.1: Video: mpeg1video, yuv420p, 160x128, q=2-31, 40 kb/s, 1000k tbn, 50 tbc
    Stream #0.2: Audio: libmp3lame, 22050 Hz, 1 channels, s16, 64 kb/s
    Stream #0.3: Video: msmpeg4, yuv420p, 352x240, q=2-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
Press [q] to stop encoding
Segmentation fault